Replies: 1 comment 2 replies
-
I think @usrbinkat's thoughts would be great based on the discussion from #3. If we need compatibility with legacy applications using a mutating webhook, maybe we need an admission controller in this workflow. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
These drawings depict the event workflow for a UOR Collection.
Event Engine Lookup
The first drawing depicts Event Engine lookup. When a user(caller) "runs" a collection, the first task performed by the client is the Event Engine lookup. Event Engines are imported into Collections via Schema Collections. The Client first looks for the Schema root node in the addressed Collection. The Client then retrieves the Schema Root node and discovers the Event Engine root node. The Client then retrieves the discovered Event Engine root node and then discovers the Event Engine for the requested platform and architecture. The Client then downloads the Event Engine.
Event Engine Entrypoint Processing
After the Event Engine lookup has completed, the Event Engine is executed in an isolated environment. The UOR Client combines user input with the attributes of the Entrypoint discovered from the imported schema and sends this as attributes to the Event Engine. If an Entrypoint includes a reference to content, a payload is sent to the Event Engine as well. The Event Engine begins processing the Entrypoint when it is received.
Event Engine Processing
After the Event Engine begins processing its Entrypoint, it may be instructed to retrieve additional content from the referenced Collection. When this happens, the Event Engine requests content from the Client. The Client then discovers the requested content and then returns it to the Event Engine for processing.
Return
After the Event Engine has finished processing, it returns any requested output with an exit code and is then terminated.
Linked Collections
When a Linked Collection is called by an Event Engine, the calling Event Engine becomes the caller and the Event Process starts over for the referenced Linked Collection. Once finished, the Linked Collection Event Engine returns the requested output to the calling Collection and the calling Collection resumes its processing.
Please let me know if you have any questions or comments.
Related: #4 and #6
Beta Was this translation helpful? Give feedback.
All reactions