diff --git a/app/dbt_pr_init_api.py b/app/dbt_pr_init_api.py index 27a3485..2561d43 100644 --- a/app/dbt_pr_init_api.py +++ b/app/dbt_pr_init_api.py @@ -57,7 +57,7 @@ class K8SInputSchema(Schema): data_model_repository_url = String(required=False, metadata={'title': 'Data Model Repository URL', 'description': 'The URL of the data model repository.', 'example': 'https://gitlab.fast.bi/bi-platform/common/data-models/dbt-data-models.git'}) dbt_dag_schedule_interval = String(required=False, validate=validate_schedule, metadata={'title': 'DBT DAG Schedule Interval', 'description': 'The schedule interval for the DBT DAG. Can be a cron expression or a predefined schedule like @once, @daily, etc.', 'example': '@daily'}) dbt_dag_tag = String(required=False, validate=Length(1, 255), load_default='PROD', dump_default='PROD', metadata={'title': 'DBT Project DAG Tag', 'description': 'The tag for the DBT Project DAG.', 'example': 'DEV'}) - tsb_dbt_core_image_version = String(required=False, load_default='europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest', dump_default='europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest', metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': 'europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest'}) + tsb_dbt_core_image_version = String(required=False, load_default='4fastbi/dbt-workflow-core:latest', dump_default='4fastbi/dbt-workflow-core:latest', metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': '4fastbi/dbt-workflow-core:latest'}) dbt_seed_enabled = Boolean(required=False, load_default=False, dump_default=False, metadata={'title': 'DBT Seed Enabled', 'description': 'Flag to enable DBT seed.', 'example': False}) dbt_seed_sharding_enabled = Boolean(required=False, load_default=False, dump_default=False, metadata={'title': 'DBT Seed Sharding Enabled', 'description': 'Flag to enable DBT seed sharding.', 'example': False}) dbt_source_enabled = Boolean(required=False, load_default=False, dump_default=False, metadata={'title': 'DBT Source Freshness Enabled', 'description': 'A boolean value indicating whether source dataset and source freshness verification is enabled (True) or not (False).', 'example': False}) @@ -113,7 +113,7 @@ class APIInputSchema(Schema): data_model_repository_url = String(required=False, metadata={'title': 'Data Model Repository URL', 'description': 'The URL of the data model repository.', 'example': 'https://gitlab.fast.bi/bi-platform/common/data-models/dbt-data-models.git'}) dbt_dag_schedule_interval = String(required=False, validate=validate_schedule, metadata={'title': 'DBT DAG Schedule Interval', 'description': 'The schedule interval for the DBT DAG. Can be a cron expression or a predefined schedule like @once, @daily, etc.', 'example': '@daily'}) dbt_dag_tag = String(required=False, validate=Length(1, 255), dump_default='PROD', metadata={'title': 'DBT Project DAG Tag', 'description': 'The tag for the DBT Project DAG.', 'example': 'DEV'}) - tsb_dbt_core_image_version = String(required=False, dump_default='europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest', metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': 'europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest'}) + tsb_dbt_core_image_version = String(required=False, dump_default='4fastbi/dbt-workflow-core:latest', metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': '4fastbi/dbt-workflow-core:latest'}) dbt_seed_enabled = Boolean(required=False, dump_default=False, metadata={'title': 'DBT Seed Enabled', 'description': 'Flag to enable DBT seed.', 'example': False}) dbt_seed_sharding_enabled = Boolean(required=False, dump_default=False, metadata={'title': 'DBT Seed Sharding Enabled', 'description': 'Flag to enable DBT seed sharding.', 'example': False}) dbt_source_enabled = Boolean(required=False, dump_default=False, metadata={'title': 'DBT Source Freshness Enabled', 'description': 'A boolean value indicating whether source dataset and source freshness verification is enabled (True) or not (False).', 'example': False}) @@ -229,7 +229,7 @@ class GKEInputSchema(Schema): fabric_schema = String(required=False, validate=Length(1, 255), metadata={'title': 'Fabric schema', 'description': 'A logical grouping of tables within a database. Helps organize your data into different namespaces.', 'example': "PUBLIC"}) project_level = String(required=True, validate=OneOf(['DEV', 'TEST', 'QA', 'UAT', 'EI', 'PRE', 'STG', 'NON_PROD', 'PROD', 'CORP', 'RVW']), metadata={'title': 'Project Level', 'description': 'The Data Governance Fabric group type.', 'example': 'PROD'}) - tsb_dbt_core_image_version = String(required=False, validate=Length(1, 255), load_default="europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest", metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': 'europe-central2-docker.pkg.dev/fast-bi-common/bi-platform/tsb-dbt-core:latest'}) + tsb_dbt_core_image_version = String(required=False, validate=Length(1, 255), load_default="4fastbi/dbt-workflow-core:latest", metadata={'title': 'TSB DBT Core Image Version', 'description': 'The version of the TSB DBT core image.', 'example': '4fastbi/dbt-workflow-core:latest'}) dbt_seed_enabled = Boolean(required=False, load_default=False, metadata={'title': 'DBT Seed Enabled', 'description': 'Flag to enable DBT seed.', 'example': False}) dbt_seed_sharding_enabled = Boolean(required=False, load_default=False, metadata={'title': 'DBT Seed Sharding Enabled', 'description': 'Flag to enable DBT seed sharding.', 'example': False}) dbt_source_enabled = Boolean(required=False, load_default=False, metadata={'title': 'DBT Source Freshness Enabled', 'description': 'A boolean value indicating whether source dataset and source freshness verification is enabled (True) or not (False).', 'example': False})