[
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