diff --git a/docker-compose.account-driver-settlement.yml b/docker-compose.account-driver-settlement.yml index 78cd13f..a168cbd 100644 --- a/docker-compose.account-driver-settlement.yml +++ b/docker-compose.account-driver-settlement.yml @@ -158,6 +158,17 @@ services: expose: - "8000" + attendance-registry-api: + build: + context: ../service-attendance-registry + env_file: + - ./infra/env/local/attendance-registry.env.example + depends_on: + - attendance-registry-db + - dispatch-registry-api + expose: + - "8000" + region-registry-api: build: context: ../service-region-registry @@ -416,6 +427,15 @@ services: expose: - "5432" + attendance-registry-db: + image: postgres:16-alpine + environment: + POSTGRES_DB: attendance_registry + POSTGRES_USER: attendance_registry + POSTGRES_PASSWORD: attendance_registry + expose: + - "5432" + region-registry-db: image: postgres:16-alpine environment: diff --git a/infra/env/local/attendance-registry.env.example b/infra/env/local/attendance-registry.env.example new file mode 100644 index 0000000..d67beb4 --- /dev/null +++ b/infra/env/local/attendance-registry.env.example @@ -0,0 +1,15 @@ +API_PORT=8000 +DJANGO_SECRET_KEY=change-me +DJANGO_DEBUG=1 +DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,attendance-registry-api +POSTGRES_DB=attendance_registry +POSTGRES_USER=attendance_registry +POSTGRES_PASSWORD=attendance_registry +POSTGRES_HOST=attendance-registry-db +POSTGRES_PORT=5432 +JWT_SECRET_KEY=change-me-local-jwt-secret-key-32chars +JWT_ISSUER=msa-server +JWT_AUDIENCE=msa-server +JWT_ALGORITHM=HS256 +DISPATCH_REGISTRY_BASE_URL=http://dispatch-registry-api:8000 +DRIVER_PROFILE_BASE_URL=http://driver-profile-api:8000 diff --git a/scripts/build_unified_openapi.py b/scripts/build_unified_openapi.py index 8e364d8..67d7027 100644 --- a/scripts/build_unified_openapi.py +++ b/scripts/build_unified_openapi.py @@ -169,7 +169,7 @@ def parse_table_after_heading(path: Path, heading: str) -> list[dict[str, str]]: def load_active_services() -> list[ServiceMetadata]: - inventory_rows = parse_table_after_heading(INVENTORY_PATH, "## Active Runtime Repos") + inventory_rows = parse_table_after_heading(INVENTORY_PATH, "## Active Runtime Source Slices") matrix_rows = parse_table_after_heading(RESPONSIBILITY_MATRIX_PATH, "## Matrix") matrix_by_repo = {row["Target repo"]: row for row in matrix_rows}