[Feature]: Endpoint to report Validation workflows
Contact Details
No response
What should we build?
Define a validation endpoint for the orchestrator-core gui which checks for all in-sync and active subscriptions and whether the last-run validation WF has been run within last 48 hours. Make this endpoint suitable for the landing page of orchestrator-ui 2.0. The endpoint should report the following:
- Time of Last run validation workflow
- number of out of sync active subscriptions
- list of subscriptions, that have not been checked in the past 48 hours
Relevant pseudo code
No response
The latter 2 points are useful for a scheduled task. I think the first bullet is indeed very nice for the GUI, as this can be subscription specific endpoint.
@pboers1988 @wouterhhuisman are we still interested in this?
The current UI already has something similar
If we still want it, would be nice to have a rough design of what it should look like
Discussed with Hans:
- please add a field
lastValidatedAtto theSubscriptionInterfacegraphql type which returns thelast_modified_atvalue of the most recent validate task, if any - If no such task is present, return None