Skip to content

Commit 634c42d

Browse files
committed
docs: fix component naming inconsistency (IdP Configuration Service)
1 parent dd5691b commit 634c42d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

aiac/docs/specs/components/event-broker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ All messages carry a minimal JSON payload containing only the entity ID:
4444
{ "id": "<entity-id>" }
4545
```
4646

47-
For `aiac.apply.policy.build`, the payload is empty (`{}`). The AIAC Agent pulls all required state from the PDP Configuration Service at processing time — the event payload is a trigger, not a data carrier.
47+
For `aiac.apply.policy.build`, the payload is empty (`{}`). The AIAC Agent pulls all required state from the IdP Configuration Service at processing time — the event payload is a trigger, not a data carrier.
4848

4949
---
5050

@@ -87,7 +87,7 @@ No authentication credentials are required. The NATS server runs with no-auth co
8787
A dedicated `aiac-init` init container runs in the **Agent Pod** before the Agent container starts. It orchestrates the AIAC startup sequence:
8888

8989
1. **Wait for NATS** — poll `aiac-event-broker-service:4222` until TCP connection succeeds.
90-
2. **Wait for PDP Configuration Service** — poll `AIAC_PDP_CONFIG_URL/health` until HTTP 200.
90+
2. **Wait for IdP Configuration Service** — poll `AIAC_PDP_CONFIG_URL/health` until HTTP 200.
9191
3. **Wait for PDP Policy Writer** — poll `AIAC_PDP_POLICY_URL/health` until HTTP 200.
9292
4. **Wait for RAG Ingest Service** — poll `AIAC_RAG_INGEST_URL/health` until HTTP 200 (confirms ChromaDB in the same RAG pod is also up).
9393
5. **Create NATS JetStream stream** — call `js.add_stream()` idempotently with the `aiac-events` stream configuration. Safe to call on every restart.

aiac/docs/specs/components/pdp-policy-keycloak-service.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Description
77
A FastAPI web service that applies RBAC policy changes to Keycloak by managing composite role mappings. Roles are made composites of service (client) permissions (roles), so that any subject (user) assigned a role automatically inherits the associated service permissions. Stateless — no caching.
88

9-
This is the **Phase 1** implementation of the PDP Policy Writer. It is deployed as a container in the **Kagenti Interface Pod** alongside the PDP Configuration Service, behind the `aiac-pdp-policy-service:7072` ClusterIP. Phase 2 replaces only this container image (`aiac-pdp-policy-keycloak``aiac-pdp-policy-opa`) within the same pod. The service name and port remain stable so the AIAC Agent and library require no reconfiguration.
9+
This is the **Phase 1** implementation of the PDP Policy Writer. It is deployed as a container in the **Kagenti Interface Pod** alongside the IdP Configuration Service, behind the `aiac-pdp-policy-service:7072` ClusterIP. Phase 2 replaces only this container image (`aiac-pdp-policy-keycloak``aiac-pdp-policy-opa`) within the same pod. The service name and port remain stable so the AIAC Agent and library require no reconfiguration.
1010

1111
## Endpoints
1212

@@ -18,7 +18,7 @@ This is the **Phase 1** implementation of the PDP Policy Writer. It is deployed
1818
| POST | `/services/{service_id}/permissions` | `POST /admin/realms/{realm}/clients/{service_id}/roles` | Create a new permission (client role) for a specific service |
1919
| POST | `/services/{service_id}/scopes` | `POST /admin/realms/{realm}/client-scopes` then `PUT .../clients/{service_id}/default-client-scopes/{scope_id}` | Create a realm-level scope and assign it to a service as a default scope (atomic) |
2020

21-
Every endpoint accepts an optional `realm` query parameter, same as the PDP Configuration Service.
21+
Every endpoint accepts an optional `realm` query parameter, same as the IdP Configuration Service.
2222

2323
`POST /roles/{role_name}/composites` and `DELETE /roles/{role_name}/composites` accept a JSON array of role representation objects `[{"id": "...", "name": "..."}]` and return `204 No Content` on success.
2424

@@ -44,7 +44,7 @@ All endpoints return `502 Bad Gateway` with a JSON error body if the Keycloak Ad
4444
- Bind: `0.0.0.0:7072`
4545
- Base image: `python:3.12-slim`
4646
- Kubernetes ClusterIP Service: `aiac-pdp-policy-service:7072`
47-
- Deployment: co-located with PDP Configuration Service as a container in the **Kagenti Interface Pod** (`pdp-interface-deployment.yaml`)
47+
- Deployment: co-located with IdP Configuration Service as a container in the **Kagenti Interface Pod** (`pdp-interface-deployment.yaml`)
4848

4949
## Dependencies (`requirements.txt`)
5050

0 commit comments

Comments
 (0)