Files
paul 0aeb893c0f feat: Implement initial setup for Financial Crime domain
- Added Makefile for orchestrating domain instantiation and management.
- Created deploy README for guiding the setup process of the Financial Crime domain.
- Introduced domain configuration file for mapping metadata to the deployment template.
- Implemented pre-commit hook for validating metadata before commits.
- Developed instantiation script to manage the lifecycle of the Financial Crime domain.
- Added Salesforce CRM source with associated metadata and transformation files.
- Added SAP Fraud Management source with associated metadata and transformation files.
- Added Temenos Payment source with associated metadata and transformation files.
- Removed obsolete payment event and parties transformation files.
2026-06-14 16:46:06 +12:00

38 lines
2.1 KiB
YAML

# Deploy config for instantiating the Financial Crime domain.
#
# This is the one infra-facing input MD-DDL itself does not own. It maps the
# metadata in this repo onto the semprini-data-domain template's instantiation
# scripts. Read by deploy/instantiate.py.
#
# Data-root model: this repo (random_corp) IS the data root. The template
# submodule's new-domain.sh resolves its data root as its own parent, so it
# scaffolds into ./domains/, reads ./.env, and resolves ../semprini-core. The
# driver bridges the few platform-owned pieces via repo-local symlinks (see
# below): the build-context name, the shared .env, and the registration lib/.
#
# Naming note: the MD-DDL metadata folder is `financial_crime` (underscore),
# but new-domain.sh requires lowercase + hyphens (^[a-z][a-z0-9-]+$), so the
# infra domain name is `financial-crime`. Both uppercase to the same env
# prefix FINANCIAL_CRIME (hyphens/underscores -> underscores).
metadata_dir: financial_crime # MD-DDL domain folder (preflight target)
domain: financial-crime # infra domain name passed to the template scripts
port_base: 22000 # API=22000, Flink=22001, MinIO=22002, Analytics=22003
template_dir: .semprini-data-domain # template submodule (new-domain.sh, domain-integration.sh)
platform_repo: ../semprini-data # source of the shared .env + lib/ (admin creds + integ helpers)
# Repo-local symlinks the driver creates to satisfy the template's path
# assumptions while keeping random_corp as the data root (all gitignored):
# semprini-data-domain -> .semprini-data-domain (compose build contexts: ../../semprini-data-domain)
# .env -> ../semprini-data/.env (shared secrets + admin creds)
# lib -> ../semprini-data/lib (domain-integration.sh sources lib/core-integration.sh)
# Secrets ensured in the shared .env (generated if missing, never committed).
# Key names follow the template's DOMAIN_UPPER convention.
secrets:
- POSTGRES_FINANCIAL_CRIME_PASSWORD
- MINIO_FINANCIAL_CRIME_ACCESS_KEY
- MINIO_FINANCIAL_CRIME_SECRET_KEY
- ANALYTICS_FINANCIAL_CRIME_PASSWORD