Adapt Canonical Party to the domain platform; add unit tests

Makes the blog-generated product run on the digital-core domain built from
semprini-data-domain, with the same changes the canonical template received:
- flink/job.sql connects to ods:5432/ods as postgres with ${ODS_PASSWORD},
  substituted by data-domain at submission, instead of the blog's credentials
- lakehouse/010_replication.sql uses the platform's `ods` sync group and grants
  the lake tables to ducklake_reader and ducklake_writer
- product.yaml sync group, odps.yaml access URLs (domain ports 20000-20003,
  management zone Apicurio on 8081), CLI names in comments

Adds tests/: the canonical template's generic unit tests and this product's
expectations.yaml (seed rows, 24 constraint rejections, 5 relationship
traversals, one inbound-to-tombstone round trip).

Verified on digital-core on 2026-09-18: 65 of 65 smoke checks, 100 unit tests
passing, and registered in OpenMetadata under the digital-core domain.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
paulandClaude Opus 5 committed 2026-09-18 00:14:36 +12:00
1 parent cfb32d2d1b
commit dd096ee4dc
18 files changed
+590 -93

No files matched your search

+6 -6
View File
@@ -60,7 +60,7 @@ product:
outputPorttype: API
format: GraphQL
authenticationMethod: none # lab stack only
accessURL: "http://localhost:3000/rpc/canonical_party_graphql"
accessURL: "http://localhost:20000/rpc/canonical_party_graphql"
publish:
name:
en: Publish Input
@@ -69,8 +69,8 @@ product:
outputPorttype: API
format: JSON
authenticationMethod: none
accessURL: "kafka://localhost:9092/digital-core.canonical-party.<table>.inbound"
specsURL: "http://localhost:8082/apis/registry/v3/groups/digital-core.canonical-party/artifacts"
accessURL: "kafka://localhost:20001/digital-core.canonical-party.<table>.inbound"
specsURL: "http://localhost:8081/apis/registry/v3/groups/digital-core.canonical-party/artifacts"
subscribe:
name:
en: Subscribe Output
@@ -79,8 +79,8 @@ product:
outputPorttype: API
format: JSON
authenticationMethod: none
accessURL: "kafka://localhost:9092/digital-core.canonical-party.<table>.outbound"
specsURL: "http://localhost:8082/apis/registry/v3/groups/digital-core.canonical-party/artifacts"
accessURL: "kafka://localhost:20001/digital-core.canonical-party.<table>.outbound"
specsURL: "http://localhost:8081/apis/registry/v3/groups/digital-core.canonical-party/artifacts"
sql:
name:
en: Analytic SQL
@@ -89,7 +89,7 @@ product:
outputPorttype: SQL
format: SQL
authenticationMethod: none
accessURL: "jdbc:trino://localhost:8083/lake/canonical_party"
accessURL: "jdbc:trino://localhost:20003/lake/canonical_party"
license:
en: