Added unified workflow orchestration capability#5
Merged
Conversation
Contributor
yusufaytas
commented
Jan 6, 2026
- Introduced a new orchestration capability to opsorch-core
- Orchestration capability can be served by workflow engines
- It's normalized API for runbook/playbook execution
- Introduced a new orchestration capability to opsorch-core - Orchestration capability can be served by workflow engines - It's normalized API for runbook/playbook execution
508de00 to
66f333c
Compare
Greptile Summary
Important Files Changed
Confidence score: 4/5
Sequence DiagramsequenceDiagram
participant User
participant Server as "OpsOrch Server"
participant OrchHandler as "OrchestrationHandler"
participant Provider as "Orchestration Provider"
participant WorkflowEngine as "Workflow Engine"
User->>Server: "POST /orchestration/plans/query"
Server->>OrchHandler: "Query Plans"
OrchHandler->>Provider: "QueryPlans(query)"
Provider->>WorkflowEngine: "List plans matching query"
WorkflowEngine-->>Provider: "Return plan list"
Provider-->>OrchHandler: "Return plans"
OrchHandler-->>Server: "Return plans"
Server-->>User: "Return orchestration plans"
User->>Server: "GET /orchestration/plans/{planId}"
Server->>OrchHandler: "Get Plan Details"
OrchHandler->>Provider: "GetPlan(planId)"
Provider->>WorkflowEngine: "Get plan with steps"
WorkflowEngine-->>Provider: "Return plan details"
Provider-->>OrchHandler: "Return plan"
OrchHandler-->>Server: "Return plan"
Server-->>User: "Return plan with steps"
User->>Server: "POST /orchestration/runs"
Server->>OrchHandler: "Start Run"
OrchHandler->>Provider: "StartRun(planId)"
Provider->>WorkflowEngine: "Create run instance"
WorkflowEngine-->>Provider: "Return new run"
Provider-->>OrchHandler: "Return run"
OrchHandler-->>Server: "Return run"
Server-->>User: "Return created run"
User->>Server: "GET /orchestration/runs/{runId}"
Server->>OrchHandler: "Get Run Status"
OrchHandler->>Provider: "GetRun(runId)"
Provider->>WorkflowEngine: "Get run with step states"
WorkflowEngine-->>Provider: "Return run status"
Provider-->>OrchHandler: "Return run"
OrchHandler-->>Server: "Return run"
Server-->>User: "Return run with step states"
User->>Server: "POST /orchestration/runs/{runId}/steps/{stepId}/complete"
Server->>OrchHandler: "Complete Step"
OrchHandler->>Provider: "CompleteStep(runId, stepId, actor, note)"
Provider->>WorkflowEngine: "Mark step complete"
WorkflowEngine-->>Provider: "Confirm completion"
Provider-->>OrchHandler: "Return success"
OrchHandler-->>Server: "Return success"
Server-->>User: "Return completion status"
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.