From f9e53632bceda026248d4bb4074b6aa219e40fbe Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:53:34 +0100 Subject: [PATCH 1/6] Fix inventory to use the the `url` param instead of `jdbc_url`. --- mysql/inventory.yaml | 4 ++-- postgres/inventory.yaml | 4 ++-- vault/inventory_simple_secret.yaml | 4 ++-- vault/inventory_static_users.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mysql/inventory.yaml b/mysql/inventory.yaml index 1ced114..2b906e8 100644 --- a/mysql/inventory.yaml +++ b/mysql/inventory.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - jdbc_url: jdbc:mysql://localhost:6000/sakila + url: jdbc:mysql://localhost:6000/sakila user: type: raw value: root @@ -8,7 +8,7 @@ data_sources: type: raw value: admin default_target: - jdbc_url: jdbc:mysql://localhost:6001/sakila + url: jdbc:mysql://localhost:6001/sakila user: type: raw value: root diff --git a/postgres/inventory.yaml b/postgres/inventory.yaml index 7853677..f07d556 100644 --- a/postgres/inventory.yaml +++ b/postgres/inventory.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - jdbc_url: jdbc:postgresql://localhost:6000/postgres + url: jdbc:postgresql://localhost:6000/postgres user: type: raw value: postgres @@ -8,7 +8,7 @@ data_sources: type: raw value: postgres default_target: - jdbc_url: jdbc:postgresql://localhost:6001/postgres + url: jdbc:postgresql://localhost:6001/postgres user: type: raw value: postgres diff --git a/vault/inventory_simple_secret.yaml b/vault/inventory_simple_secret.yaml index 32f9cce..ff7c010 100644 --- a/vault/inventory_simple_secret.yaml +++ b/vault/inventory_simple_secret.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - jdbc_url: jdbc:postgresql://input_db:5432/postgres + url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: secret @@ -14,7 +14,7 @@ data_sources: versioned: true secret: password default_target: - jdbc_url: jdbc:postgresql://output_db:5432/postgres + url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: secret diff --git a/vault/inventory_static_users.yaml b/vault/inventory_static_users.yaml index bb2e035..798b003 100644 --- a/vault/inventory_static_users.yaml +++ b/vault/inventory_static_users.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - jdbc_url: jdbc:postgresql://input_db:5432/postgres + url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: database @@ -12,7 +12,7 @@ data_sources: path: static-creds/postgres-source-static-role secret: password default_target: - jdbc_url: jdbc:postgresql://output_db:5432/postgres + url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: database From ea3d092acf29d5ceb5b71bc106a05a8301f50544 Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:56:23 +0100 Subject: [PATCH 2/6] Fix inventory to use the the `url` param instead of `jdbc_url`. --- vault/inventory_dynamic_users.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/inventory_dynamic_users.yaml b/vault/inventory_dynamic_users.yaml index 6f0a49a..47322ee 100644 --- a/vault/inventory_dynamic_users.yaml +++ b/vault/inventory_dynamic_users.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - jdbc_url: jdbc:postgresql://input_db:5432/postgres + url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: database @@ -12,7 +12,7 @@ data_sources: path: creds/postgres-source-dynamic-role secret: password default_target: - jdbc_url: jdbc:postgresql://output_db:5432/postgres + url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: database From f679a1d3354fa39c7800ed392ea957e41a1cb959 Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:00:35 +0100 Subject: [PATCH 3/6] Fix inventory to use the the `url` param instead of `jdbc_url`. --- postgres/soda/checks_for_2x_generation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/soda/checks_for_2x_generation.yaml b/postgres/soda/checks_for_2x_generation.yaml index aea9cb4..e33e9d6 100644 --- a/postgres/soda/checks_for_2x_generation.yaml +++ b/postgres/soda/checks_for_2x_generation.yaml @@ -18,7 +18,7 @@ checks for customer: checks for film: - row_count = 2000 - - distribution_difference(rating) < 0.05: + - distribution_difference(rating) < 0.06: method: chi_square distribution reference file: /sodacl/film_rating_distribution.yml From 14dca9ad2f706303a40de054047a71802eb20fa7 Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:12:20 +0100 Subject: [PATCH 4/6] Rollback to 1.67 --- parent-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent-compose.yml b/parent-compose.yml index 81cceaa..2605dc6 100644 --- a/parent-compose.yml +++ b/parent-compose.yml @@ -2,4 +2,4 @@ version: '3.5' services: tdk: container_name: tdk - image: synthesizedio/synthesized-tdk-cli:v1.68.0 + image: synthesizedio/synthesized-tdk-cli:v1.67.0 From 09ae58399deed081e3f28b769d619678ec7be58b Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:15:00 +0100 Subject: [PATCH 5/6] Rollback to 1.67 --- mysql/inventory.yaml | 4 ++-- postgres/inventory.yaml | 4 ++-- vault/inventory_dynamic_users.yaml | 4 ++-- vault/inventory_simple_secret.yaml | 4 ++-- vault/inventory_static_users.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mysql/inventory.yaml b/mysql/inventory.yaml index 2b906e8..1ced114 100644 --- a/mysql/inventory.yaml +++ b/mysql/inventory.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - url: jdbc:mysql://localhost:6000/sakila + jdbc_url: jdbc:mysql://localhost:6000/sakila user: type: raw value: root @@ -8,7 +8,7 @@ data_sources: type: raw value: admin default_target: - url: jdbc:mysql://localhost:6001/sakila + jdbc_url: jdbc:mysql://localhost:6001/sakila user: type: raw value: root diff --git a/postgres/inventory.yaml b/postgres/inventory.yaml index f07d556..7853677 100644 --- a/postgres/inventory.yaml +++ b/postgres/inventory.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - url: jdbc:postgresql://localhost:6000/postgres + jdbc_url: jdbc:postgresql://localhost:6000/postgres user: type: raw value: postgres @@ -8,7 +8,7 @@ data_sources: type: raw value: postgres default_target: - url: jdbc:postgresql://localhost:6001/postgres + jdbc_url: jdbc:postgresql://localhost:6001/postgres user: type: raw value: postgres diff --git a/vault/inventory_dynamic_users.yaml b/vault/inventory_dynamic_users.yaml index 47322ee..6f0a49a 100644 --- a/vault/inventory_dynamic_users.yaml +++ b/vault/inventory_dynamic_users.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - url: jdbc:postgresql://input_db:5432/postgres + jdbc_url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: database @@ -12,7 +12,7 @@ data_sources: path: creds/postgres-source-dynamic-role secret: password default_target: - url: jdbc:postgresql://output_db:5432/postgres + jdbc_url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: database diff --git a/vault/inventory_simple_secret.yaml b/vault/inventory_simple_secret.yaml index ff7c010..32f9cce 100644 --- a/vault/inventory_simple_secret.yaml +++ b/vault/inventory_simple_secret.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - url: jdbc:postgresql://input_db:5432/postgres + jdbc_url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: secret @@ -14,7 +14,7 @@ data_sources: versioned: true secret: password default_target: - url: jdbc:postgresql://output_db:5432/postgres + jdbc_url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: secret diff --git a/vault/inventory_static_users.yaml b/vault/inventory_static_users.yaml index 798b003..bb2e035 100644 --- a/vault/inventory_static_users.yaml +++ b/vault/inventory_static_users.yaml @@ -1,6 +1,6 @@ data_sources: default_source: - url: jdbc:postgresql://input_db:5432/postgres + jdbc_url: jdbc:postgresql://input_db:5432/postgres user: type: vault storage: database @@ -12,7 +12,7 @@ data_sources: path: static-creds/postgres-source-static-role secret: password default_target: - url: jdbc:postgresql://output_db:5432/postgres + jdbc_url: jdbc:postgresql://output_db:5432/postgres user: type: vault storage: database From deeb346fddefa180671557ce9c3c0ae4e8f2c5e5 Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:17:45 +0100 Subject: [PATCH 6/6] Rollback to 1.67 --- postgres/soda/checks_for_2x_generation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/soda/checks_for_2x_generation.yaml b/postgres/soda/checks_for_2x_generation.yaml index e33e9d6..aea9cb4 100644 --- a/postgres/soda/checks_for_2x_generation.yaml +++ b/postgres/soda/checks_for_2x_generation.yaml @@ -18,7 +18,7 @@ checks for customer: checks for film: - row_count = 2000 - - distribution_difference(rating) < 0.06: + - distribution_difference(rating) < 0.05: method: chi_square distribution reference file: /sodacl/film_rating_distribution.yml