From 827a504bfc101adc65076ada52525f6dcc2236ae Mon Sep 17 00:00:00 2001 From: Chris Hendrickson Date: Mon, 4 May 2026 23:38:55 -0400 Subject: [PATCH] Move sample service schemas under schemas --- .project/infrastructure/services/postgresql-18/README.md | 3 +++ .../infrastructure/services/postgresql-18/manifest.yaml | 4 ++-- .../postgresql-18/{ => schemas}/configure.schema.json | 0 .../postgresql-18/{ => schemas}/init.schema.json | 0 .project/kanban/done/DEW-0032.md | 8 ++++++++ docs/features/infra.md | 9 +++++---- 6 files changed, 18 insertions(+), 6 deletions(-) rename .project/infrastructure/services/postgresql-18/{ => schemas}/configure.schema.json (100%) rename .project/infrastructure/services/postgresql-18/{ => schemas}/init.schema.json (100%) create mode 100644 .project/kanban/done/DEW-0032.md diff --git a/.project/infrastructure/services/postgresql-18/README.md b/.project/infrastructure/services/postgresql-18/README.md index 961c8a3..f1c61db 100644 --- a/.project/infrastructure/services/postgresql-18/README.md +++ b/.project/infrastructure/services/postgresql-18/README.md @@ -23,3 +23,6 @@ dew infra down postgresql-18 ``` The named volume is intentionally retained after stopping the service. + +Service-specific configure and init schemas live under `schemas/` and are +referenced from `manifest.yaml`. diff --git a/.project/infrastructure/services/postgresql-18/manifest.yaml b/.project/infrastructure/services/postgresql-18/manifest.yaml index 82221e0..bc256db 100644 --- a/.project/infrastructure/services/postgresql-18/manifest.yaml +++ b/.project/infrastructure/services/postgresql-18/manifest.yaml @@ -13,5 +13,5 @@ container: profiles_dir: dew_postgresql_18.profiles.d schemas: - configure: configure.schema.json - init: init.schema.json + configure: schemas/configure.schema.json + init: schemas/init.schema.json diff --git a/.project/infrastructure/services/postgresql-18/configure.schema.json b/.project/infrastructure/services/postgresql-18/schemas/configure.schema.json similarity index 100% rename from .project/infrastructure/services/postgresql-18/configure.schema.json rename to .project/infrastructure/services/postgresql-18/schemas/configure.schema.json diff --git a/.project/infrastructure/services/postgresql-18/init.schema.json b/.project/infrastructure/services/postgresql-18/schemas/init.schema.json similarity index 100% rename from .project/infrastructure/services/postgresql-18/init.schema.json rename to .project/infrastructure/services/postgresql-18/schemas/init.schema.json diff --git a/.project/kanban/done/DEW-0032.md b/.project/kanban/done/DEW-0032.md new file mode 100644 index 0000000..8363439 --- /dev/null +++ b/.project/kanban/done/DEW-0032.md @@ -0,0 +1,8 @@ +--- +id: DEW-0032 +title: Move PostgreSQL sample schemas into service schemas directory +type: task +created: 2026-05-05T03:38:10.315750Z +--- + +Update the PostgreSQL 18 infra sample to store service-owned configure/init schemas under a schemas/ directory and adjust manifest references accordingly. diff --git a/docs/features/infra.md b/docs/features/infra.md index 45e6990..3039c9d 100644 --- a/docs/features/infra.md +++ b/docs/features/infra.md @@ -18,8 +18,9 @@ workflows. ├── app_postgres.container ├── app_postgres.container.d/ ├── app_postgres.profiles.d/ - ├── configure.schema.json - ├── init.schema.json + ├── schemas/ + │ ├── configure.schema.json + │ └── init.schema.json └── config/ ``` @@ -41,8 +42,8 @@ container: profiles_dir: app_postgres.profiles.d schemas: - configure: configure.schema.json - init: init.schema.json + configure: schemas/configure.schema.json + init: schemas/init.schema.json ``` The package-level schema for this file is