[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III reopened FORGE-834:
--------------------------------------
Ah. I forgot about that minor detail. The Java EE implementation module is not exposed to external plugins. The event class should be moved to the javaee-api module.
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
> Fix For: 1.2.3.Final
>
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by charles SALMON (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
charles SALMON commented on FORGE-834:
--------------------------------------
Thanks !
Unfortunately, I am not able to make it works with my Qooxdoo plugin !
I have re-compiled/installed the forge project (mvn clean install) with my changes (version 1.2.3-SNAPSHOT).
Basically, it can not find the "org.jboss.forge.spec.javaee.rest.events.RestGeneratedResources".
When I install the local forge distribution, run forge, go to plugin dir and run the forge source-plugin . command, I got an error:
[ERROR] ... package org.jboss.forge.spec.javaee.rest.events does not exist
Did I miss something ?
Charles.
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
> Fix For: 1.2.3.Final
>
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III commented on FORGE-834:
------------------------------------------
This was really well done, and a very nice pull request with test. I could not have asked for more. Again, thank you!
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
> Fix For: 1.2.3.Final
>
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III updated FORGE-834:
-------------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 1.2.3.Final
Resolution: Done
Thank you Charles!
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
> Fix For: 1.2.3.Final
>
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by charles SALMON (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
charles SALMON updated FORGE-834:
---------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/302
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
by charles SALMON (JIRA)
[ https://issues.jboss.org/browse/FORGE-834?page=com.atlassian.jira.plugin.... ]
charles SALMON updated FORGE-834:
---------------------------------
Summary: [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created (was: [RestPlugin] Fire a RestResourcesGenerated event containing the resources for which a rest endpoint have been created)
Description:
The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
was:
The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
The goal here is to fire a RestResourcesGenerated event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
> [RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-834
> URL: https://issues.jboss.org/browse/FORGE-834
> Project: Forge
> Issue Type: Patch
> Components: Builtin Plugins
> Reporter: charles SALMON
> Assignee: charles SALMON
> Priority: Optional
>
> The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
> While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
> The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
> The goal here is to fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-834) [RestPlugin] Fire a RestResourcesGenerated event containing the resources for which a rest endpoint have been created
by charles SALMON (JIRA)
charles SALMON created FORGE-834:
------------------------------------
Summary: [RestPlugin] Fire a RestResourcesGenerated event containing the resources for which a rest endpoint have been created
Key: FORGE-834
URL: https://issues.jboss.org/browse/FORGE-834
Project: Forge
Issue Type: Patch
Components: Builtin Plugins
Reporter: charles SALMON
Assignee: charles SALMON
Priority: Optional
The idea is to trigger some logic to generate javascript code when creating rest endpoint on entities.
While it is trivial to catch the end of the "REST" command executiion by observing the CommandExecuted event, it is difficult to know exaclty which resources have been treated.
The RestPlugin uses some logic to resolve the list of entities, but unfortunatly this list is not available through the CommandExecuted event.
The goal here is to fire a RestResourcesGenerated event containing the resources for which a rest endpoint have been created, fired at the end of the rest command execution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-833) java new-field improvements
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-833?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-833:
----------------------------------
Assignee: (was: George Gastaldi)
> java new-field improvements
> ---------------------------
>
> Key: FORGE-833
> URL: https://issues.jboss.org/browse/FORGE-833
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins
> Affects Versions: 1.2.2.Final
> Reporter: George Gastaldi
> Labels: starter
> Fix For: 1.2.3.Final
>
>
> It should be possible to add getters and setters when a new field is created using the following command:
> {code}
> java new-field --named partType --type ~.model.PartType --accessType PRIVATE --asJavaBean
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - asJavaBean: generate getters and setters
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-833) java new-field improvements
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-833?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-833:
----------------------------------
Summary: java new-field improvements (was: java new-field should have an option to generate getter and setter)
> java new-field improvements
> ---------------------------
>
> Key: FORGE-833
> URL: https://issues.jboss.org/browse/FORGE-833
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins
> Affects Versions: 1.2.2.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: starter
> Fix For: 1.2.3.Final
>
>
> It should be possible to add getters and setters when a new field is created using the following command:
> {code}
> java new-field --named partType --type ~.model.PartType --accessType PRIVATE --asJavaBean
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - asJavaBean: generate getters and setters
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-833) java new-field improvements
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-833?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-833:
----------------------------------
Comment: was deleted
(was: The idea is to have an option like "createGettersAndSetters" or "asJavaBean" in this same command.)
> java new-field improvements
> ---------------------------
>
> Key: FORGE-833
> URL: https://issues.jboss.org/browse/FORGE-833
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins
> Affects Versions: 1.2.2.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: starter
> Fix For: 1.2.3.Final
>
>
> It should be possible to add getters and setters when a new field is created using the following command:
> {code}
> java new-field --named partType --type ~.model.PartType --accessType PRIVATE --asJavaBean
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - asJavaBean: generate getters and setters
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months