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

Details

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

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: