- Implemented ReachabilityCenterComponent for displaying asset reachability status with summary and filtering options. - Added ReachabilityWhyDrawerComponent to show detailed reachability evidence and call paths. - Created unit tests for both components to ensure functionality and correctness. - Updated accessibility test results for the new components.
1.3 KiB
1.3 KiB
Advisory Gateway Contract (draft v0.1)
Scope: proxy Advisory surfaces through the Web gateway with tenant scoping, deterministic responses, ETag caching, and offline-friendly pagination.
Security / headers
Authorization: Bearer <token>(orDPoPwhere configured)X-StellaOps-Tenant: <tenantId>(required)X-Stella-Project: <projectId>(optional)X-Stella-Trace-Id: <traceId>(optional; clients SHOULD send one)- Scopes:
advisory:read
Endpoints
GET /advisories— list advisories (tenant-scoped).- Query params:
search,severity,sortBy,sortOrder,limit,continuationToken - Response:
AdvisoryListResponse(see sample)
- Query params:
GET /advisories/{advisoryId}— advisory detail (tenant-scoped).
Caching & pagination
limitmax:200.- Cursor/paging uses
continuationToken(opaque string). ETagMUST be a stable hash over a sorted payload; clients MAY sendIf-None-Match.- Recommended headers:
Cache-Control: private, max-age=60, stale-if-error=300.
Determinism rules
- Ordering:
itemssorted by(advisoryId asc)unlesssortByis supplied; ties break byadvisoryId. - Timestamps: ISO-8601 UTC.
Samples
docs/api/gateway/samples/advisories-list.jsondocs/api/gateway/samples/advisory-detail.json