-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2022.2.0
-
Component/s: Studio Modeler
-
Epic Link:
-
Tags:
-
Story Points:3
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.
- depends on
-
NXS-6641 Execute Web Trigger
- Resolved