Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6650

Execution History and Replay

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2022.2.0
    • Component/s: Studio Modeler

      Description

      As a developer, the result of a web trigger execution is stored in the repository. Enough information are stored that lets me replay the trigger if needed.

      Impl: We decided to store the result as a DocumentModel under the following hierarchy: /StudioProjects/XXX/WebHooks/YYY (with XXX as project symbolic name and YYY GUID of the history log). The WebHooks folder is created lazily.
      => The worker of NXS-6641 should take this DocModel as param and set the status/message/timestamp on it
       
      Said differently, we serialize the http request in this doc model

      AC:

      • I have a service that can execute a NXQL request to select all the hook executions logs from a hook configuration.
      • The execution record stores HTTP Status, HTTP Messages, timestamps
      • I have a way to schedule a new execution based on a result log.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty