User and operator guide · Developer
Lifecycle And SCIM Development
Lifecycle/SCIM is implemented as a Go domain package plus gateway facade. A separate lifecycle microservice process is not required for this phase, but the code is organized around service ownership, durable state, clear APIs, and validation evidence.
Packages And Files
| Path | Role |
|---|---|
Atlas service |
Domain types for SCIM connections, lifecycle jobs, attempts, dead letters, reconciliation, and evidence references. |
Atlas service |
Memory and SQL store boundaries. SQL uses Postgres and the Lifecycle/SCIM migration schema. |
Atlas service |
Outbound SCIM 2.0 client behavior and error mapping. |
Atlas service |
Deterministic local-live SCIM target fixture. |
Atlas service |
Lifecycle state transitions, retries, dead letters, import safeguards, and reconciliation. |
API gateway |
Gateway routes, operator gates, audit events, local-live fixture registration, and runtime wiring. |
API gateway |
Application activation gate for SCIM provisioning readiness. |
Atlas interface |
Frontend models for SCIM connections, jobs, attempts, dead letters, and reconciliation. |
API Contract
| Method | Path | Purpose |
|---|---|---|
|
|
List redacted SCIM connections. |
|
|
Create a draft connection with a reference-only secret. |
|
|
Get one redacted connection. |
|
|
Update connection metadata and reset readiness. |
|
|
Run readiness validation. |
|
|
Validate and enable a connection. |
|
|
Disable a connection. |
|
|
List lifecycle jobs. |
|
|
Create and run a lifecycle job. |
|
|
Get job, attempts, and dead-letter state. |
|
|
Retry eligible jobs. |
|
|
Resolve an open dead letter. |
|
|
List reconciliation runs. |
|
|
Run reconciliation against a target. |
Security Rules
| Rule | Implementation expectation |
|---|---|
No raw secrets |
|
Fresh operator session |
Mutations use the gateway operator scope and fresh AAL2 gate. |
Fail closed |
Disabled connections, failed readiness, unsupported job types, and missing connection IDs reject writes. |
Durable evidence |
Jobs, attempts, dead letters, and reconciliation records carry evidence hashes. |
Provisioning is not authorization |
Lifecycle output informs state and evidence. Access decisions still flow through policy and session controls. |
Adding A Job Type
-
Add the job type constant and
supportedJobTypesentry. -
Add request/response serialization if the job needs new structured input.
-
Implement the operation in
executeJobOperation. -
Persist attempts and evidence through existing store methods.
-
Add unit tests for success, failure, retry, and evidence hash behavior.
-
Add local-live validation if the job will be documented as validated.
-
Update RMF artifact requirements only after the local-live evidence exists.
Test Commands
Internal implementation checks are omitted from this public guide.
The integration command compiles locally without a live gateway and skips when live environment variables are absent. It becomes authoritative only inside ./scripts/run-local-live-validation.sh, where the gateway and SCIM fixture are running and evidence paths are configured.