consolidation of some of the modules, localization fixes, product advisories work, qa work
This commit is contained in:
@@ -17,9 +17,9 @@ servers:
|
||||
- url: https://graph.stellaops.local
|
||||
description: Example Graph endpoint
|
||||
x-service: graph
|
||||
- url: https://orchestrator.stellaops.local
|
||||
- url: https://jobengine.stellaops.local
|
||||
description: Example Orchestrator endpoint
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
- url: https://policy.stellaops.local
|
||||
description: Example Policy Engine endpoint
|
||||
x-service: policy
|
||||
@@ -696,13 +696,13 @@ paths:
|
||||
traceId: "5"
|
||||
x-service: graph
|
||||
x-original-path: /healthz
|
||||
/orchestrator/health:
|
||||
/jobengine/health:
|
||||
get:
|
||||
tags:
|
||||
- Health
|
||||
summary: Liveness probe
|
||||
description: Returns OK when Orchestrator is reachable.
|
||||
operationId: orchestratorHealth
|
||||
operationId: jobengineHealth
|
||||
responses:
|
||||
"200":
|
||||
description: Service is up
|
||||
@@ -712,7 +712,7 @@ paths:
|
||||
ok:
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
timestamp: 2025-11-18T00:00:00Z
|
||||
"503":
|
||||
description: Service unhealthy or dependencies unavailable.
|
||||
@@ -722,18 +722,18 @@ paths:
|
||||
unhealthy:
|
||||
value:
|
||||
status: degraded
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
reason: scheduler queue unreachable
|
||||
timestamp: 2025-11-18T00:00:00Z
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /health
|
||||
/orchestrator/healthz:
|
||||
/jobengine/healthz:
|
||||
get:
|
||||
summary: Service health
|
||||
tags:
|
||||
- Meta
|
||||
description: Readiness probe for orchestrator dependencies.
|
||||
operationId: orchestratorHealthz
|
||||
description: Readiness probe for jobengine dependencies.
|
||||
operationId: jobengineHealthz
|
||||
responses:
|
||||
"200":
|
||||
description: Service healthy
|
||||
@@ -746,7 +746,7 @@ paths:
|
||||
summary: Healthy response
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
"503":
|
||||
description: Service unavailable
|
||||
content:
|
||||
@@ -760,14 +760,14 @@ paths:
|
||||
code: service_unavailable
|
||||
message: outbound queue lag exceeds threshold
|
||||
traceId: "1"
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /healthz
|
||||
/orchestrator/jobs:
|
||||
/jobengine/jobs:
|
||||
get:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: List jobs
|
||||
operationId: orchestratorListJobs
|
||||
operationId: jobengineListJobs
|
||||
description: Returns jobs for the tenant with optional status filter.
|
||||
parameters:
|
||||
- in: query
|
||||
@@ -791,7 +791,7 @@ paths:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/orchestrator.JobSummary"
|
||||
$ref: "#/components/schemas/jobengine.JobSummary"
|
||||
examples:
|
||||
default:
|
||||
summary: Mixed queues
|
||||
@@ -833,13 +833,13 @@ paths:
|
||||
code: orch.invalid_request
|
||||
message: status must be one of queued,running,failed,completed.
|
||||
traceId: 01JF04ERR1
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs
|
||||
post:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Submit a job to the orchestrator queue
|
||||
operationId: orchestratorSubmitJob
|
||||
summary: Submit a job to the jobengine queue
|
||||
operationId: jobengineSubmitJob
|
||||
description: Enqueue a job for asynchronous execution.
|
||||
parameters:
|
||||
- in: header
|
||||
@@ -854,7 +854,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobCreateRequest"
|
||||
$ref: "#/components/schemas/jobengine.JobCreateRequest"
|
||||
examples:
|
||||
scanJob:
|
||||
summary: Submit scan job
|
||||
@@ -874,7 +874,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobCreateResponse"
|
||||
$ref: "#/components/schemas/jobengine.JobCreateResponse"
|
||||
examples:
|
||||
accepted:
|
||||
summary: Job enqueued
|
||||
@@ -896,14 +896,14 @@ paths:
|
||||
code: orch.invalid_request
|
||||
message: jobType is required.
|
||||
traceId: 01JF04ERR1
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs
|
||||
/orchestrator/jobs/{jobId}:
|
||||
/jobengine/jobs/{jobId}:
|
||||
get:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Get job status
|
||||
operationId: orchestratorGetJob
|
||||
operationId: jobengineGetJob
|
||||
description: Fetch the current status of a job by id.
|
||||
parameters:
|
||||
- name: jobId
|
||||
@@ -917,7 +917,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobSummary"
|
||||
$ref: "#/components/schemas/jobengine.JobSummary"
|
||||
examples:
|
||||
sample:
|
||||
value:
|
||||
@@ -930,8 +930,8 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.ErrorEnvelope"
|
||||
x-service: orchestrator
|
||||
$ref: "#/components/schemas/jobengine.ErrorEnvelope"
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs/{jobId}
|
||||
/policy/evaluate:
|
||||
post:
|
||||
@@ -1670,7 +1670,7 @@ components:
|
||||
required:
|
||||
- status
|
||||
- service
|
||||
orchestrator.ErrorEnvelope:
|
||||
jobengine.ErrorEnvelope:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
@@ -1682,7 +1682,7 @@ components:
|
||||
required:
|
||||
- code
|
||||
- message
|
||||
orchestrator.JobCreateRequest:
|
||||
jobengine.JobCreateRequest:
|
||||
type: object
|
||||
required:
|
||||
- kind
|
||||
@@ -1702,7 +1702,7 @@ components:
|
||||
- high
|
||||
tenant:
|
||||
type: string
|
||||
orchestrator.JobCreateResponse:
|
||||
jobengine.JobCreateResponse:
|
||||
type: object
|
||||
required:
|
||||
- jobId
|
||||
@@ -1717,7 +1717,7 @@ components:
|
||||
enqueuedAt:
|
||||
type: string
|
||||
format: date-time
|
||||
orchestrator.JobSummary:
|
||||
jobengine.JobSummary:
|
||||
type: object
|
||||
required:
|
||||
- jobId
|
||||
|
||||
@@ -15,7 +15,7 @@ tags:
|
||||
- name: Jobs
|
||||
description: Job submission and status APIs
|
||||
servers:
|
||||
- url: https://orchestrator.stellaops.local
|
||||
- url: https://jobengine.stellaops.local
|
||||
description: Example Orchestrator endpoint
|
||||
paths:
|
||||
/health:
|
||||
@@ -24,7 +24,7 @@ paths:
|
||||
- Health
|
||||
summary: Liveness probe
|
||||
description: Returns OK when Orchestrator is reachable.
|
||||
operationId: orchestratorHealth
|
||||
operationId: jobengineHealth
|
||||
responses:
|
||||
'200':
|
||||
description: Service is up
|
||||
@@ -34,7 +34,7 @@ paths:
|
||||
ok:
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
timestamp: '2025-11-18T00:00:00Z'
|
||||
'503':
|
||||
description: Service unhealthy or dependencies unavailable.
|
||||
@@ -44,7 +44,7 @@ paths:
|
||||
unhealthy:
|
||||
value:
|
||||
status: degraded
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
reason: scheduler queue unreachable
|
||||
timestamp: '2025-11-18T00:00:00Z'
|
||||
/healthz:
|
||||
@@ -52,8 +52,8 @@ paths:
|
||||
summary: Service health
|
||||
tags:
|
||||
- Meta
|
||||
description: Readiness probe for orchestrator dependencies.
|
||||
operationId: orchestratorHealthz
|
||||
description: Readiness probe for jobengine dependencies.
|
||||
operationId: jobengineHealthz
|
||||
responses:
|
||||
'200':
|
||||
description: Service healthy
|
||||
@@ -66,7 +66,7 @@ paths:
|
||||
summary: Healthy response
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
'503':
|
||||
description: Service unavailable
|
||||
content:
|
||||
@@ -84,8 +84,8 @@ paths:
|
||||
post:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Submit a job to the orchestrator queue
|
||||
operationId: orchestratorSubmitJob
|
||||
summary: Submit a job to the jobengine queue
|
||||
operationId: jobengineSubmitJob
|
||||
description: Enqueue a job for asynchronous execution.
|
||||
parameters:
|
||||
- in: header
|
||||
@@ -146,7 +146,7 @@ paths:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: List jobs
|
||||
operationId: orchestratorListJobs
|
||||
operationId: jobengineListJobs
|
||||
description: Returns jobs for the tenant with optional status filter.
|
||||
parameters:
|
||||
- in: query
|
||||
@@ -217,7 +217,7 @@ paths:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Get job status
|
||||
operationId: orchestratorGetJob
|
||||
operationId: jobengineGetJob
|
||||
description: Fetch the current status of a job by id.
|
||||
parameters:
|
||||
- name: jobId
|
||||
@@ -17,9 +17,9 @@ servers:
|
||||
- url: https://graph.stellaops.local
|
||||
description: Example Graph endpoint
|
||||
x-service: graph
|
||||
- url: https://orchestrator.stellaops.local
|
||||
- url: https://jobengine.stellaops.local
|
||||
description: Example Orchestrator endpoint
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
- url: https://policy.stellaops.local
|
||||
description: Example Policy Engine endpoint
|
||||
x-service: policy
|
||||
@@ -711,13 +711,13 @@ paths:
|
||||
traceId: "5"
|
||||
x-service: graph
|
||||
x-original-path: /healthz
|
||||
/orchestrator/health:
|
||||
/jobengine/health:
|
||||
get:
|
||||
tags:
|
||||
- Health
|
||||
summary: Liveness probe
|
||||
description: Returns OK when Orchestrator is reachable.
|
||||
operationId: orchestratorHealth
|
||||
operationId: jobengineHealth
|
||||
responses:
|
||||
"200":
|
||||
description: Service is up
|
||||
@@ -727,7 +727,7 @@ paths:
|
||||
ok:
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
timestamp: 2025-11-18T00:00:00Z
|
||||
"503":
|
||||
description: Service unhealthy or dependencies unavailable.
|
||||
@@ -737,18 +737,18 @@ paths:
|
||||
unhealthy:
|
||||
value:
|
||||
status: degraded
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
reason: scheduler queue unreachable
|
||||
timestamp: 2025-11-18T00:00:00Z
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /health
|
||||
/orchestrator/healthz:
|
||||
/jobengine/healthz:
|
||||
get:
|
||||
summary: Service health
|
||||
tags:
|
||||
- Meta
|
||||
description: Readiness probe for orchestrator dependencies.
|
||||
operationId: orchestratorHealthz
|
||||
description: Readiness probe for jobengine dependencies.
|
||||
operationId: jobengineHealthz
|
||||
responses:
|
||||
"200":
|
||||
description: Service healthy
|
||||
@@ -761,7 +761,7 @@ paths:
|
||||
summary: Healthy response
|
||||
value:
|
||||
status: ok
|
||||
service: orchestrator
|
||||
service: jobengine
|
||||
"503":
|
||||
description: Service unavailable
|
||||
content:
|
||||
@@ -775,14 +775,14 @@ paths:
|
||||
code: service_unavailable
|
||||
message: outbound queue lag exceeds threshold
|
||||
traceId: "1"
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /healthz
|
||||
/orchestrator/jobs:
|
||||
/jobengine/jobs:
|
||||
get:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: List jobs
|
||||
operationId: orchestratorListJobs
|
||||
operationId: jobengineListJobs
|
||||
description: Returns jobs for the tenant with optional status filter.
|
||||
parameters:
|
||||
- in: query
|
||||
@@ -806,7 +806,7 @@ paths:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/orchestrator.JobSummary"
|
||||
$ref: "#/components/schemas/jobengine.JobSummary"
|
||||
examples:
|
||||
default:
|
||||
summary: Mixed queues
|
||||
@@ -848,13 +848,13 @@ paths:
|
||||
code: orch.invalid_request
|
||||
message: status must be one of queued,running,failed,completed.
|
||||
traceId: 01JF04ERR1
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs
|
||||
post:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Submit a job to the orchestrator queue
|
||||
operationId: orchestratorSubmitJob
|
||||
summary: Submit a job to the jobengine queue
|
||||
operationId: jobengineSubmitJob
|
||||
description: Enqueue a job for asynchronous execution.
|
||||
parameters:
|
||||
- in: header
|
||||
@@ -869,7 +869,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobCreateRequest"
|
||||
$ref: "#/components/schemas/jobengine.JobCreateRequest"
|
||||
examples:
|
||||
scanJob:
|
||||
summary: Submit scan job
|
||||
@@ -889,7 +889,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobCreateResponse"
|
||||
$ref: "#/components/schemas/jobengine.JobCreateResponse"
|
||||
examples:
|
||||
accepted:
|
||||
summary: Job enqueued
|
||||
@@ -911,14 +911,14 @@ paths:
|
||||
code: orch.invalid_request
|
||||
message: jobType is required.
|
||||
traceId: 01JF04ERR1
|
||||
x-service: orchestrator
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs
|
||||
/orchestrator/jobs/{jobId}:
|
||||
/jobengine/jobs/{jobId}:
|
||||
get:
|
||||
tags:
|
||||
- Jobs
|
||||
summary: Get job status
|
||||
operationId: orchestratorGetJob
|
||||
operationId: jobengineGetJob
|
||||
description: Fetch the current status of a job by id.
|
||||
parameters:
|
||||
- name: jobId
|
||||
@@ -932,7 +932,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.JobSummary"
|
||||
$ref: "#/components/schemas/jobengine.JobSummary"
|
||||
examples:
|
||||
sample:
|
||||
value:
|
||||
@@ -945,8 +945,8 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/orchestrator.ErrorEnvelope"
|
||||
x-service: orchestrator
|
||||
$ref: "#/components/schemas/jobengine.ErrorEnvelope"
|
||||
x-service: jobengine
|
||||
x-original-path: /jobs/{jobId}
|
||||
/policy/evaluate:
|
||||
post:
|
||||
@@ -2252,7 +2252,7 @@ components:
|
||||
required:
|
||||
- status
|
||||
- service
|
||||
orchestrator.ErrorEnvelope:
|
||||
jobengine.ErrorEnvelope:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
@@ -2264,7 +2264,7 @@ components:
|
||||
required:
|
||||
- code
|
||||
- message
|
||||
orchestrator.JobCreateRequest:
|
||||
jobengine.JobCreateRequest:
|
||||
type: object
|
||||
required:
|
||||
- kind
|
||||
@@ -2284,7 +2284,7 @@ components:
|
||||
- high
|
||||
tenant:
|
||||
type: string
|
||||
orchestrator.JobCreateResponse:
|
||||
jobengine.JobCreateResponse:
|
||||
type: object
|
||||
required:
|
||||
- jobId
|
||||
@@ -2299,7 +2299,7 @@ components:
|
||||
enqueuedAt:
|
||||
type: string
|
||||
format: date-time
|
||||
orchestrator.JobSummary:
|
||||
jobengine.JobSummary:
|
||||
type: object
|
||||
required:
|
||||
- jobId
|
||||
|
||||
Reference in New Issue
Block a user