Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-834

[RestPlugin] Fire a RestGeneratedResources event containing the resources for which a rest endpoint have been created

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Optional Optional
    • 1.2.3.Final
    • None
    • Builtin Plugins
    • None

      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.

              charless_jira charles SALMON (Inactive)
              charless_jira charles SALMON (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: