From 2ecd56314574b6255917f46e3cfb0d6770d65c78 Mon Sep 17 00:00:00 2001 From: Fusionshh Date: Wed, 22 Oct 2025 07:36:14 +0300 Subject: [PATCH] revert changes about metrics --- mappings/connections/db.json | 22 +------------------ mappings/connections/mo_db.json | 10 ++++----- mappings/metadata/rdbms/metrics_test.json | 26 ----------------------- 3 files changed, 6 insertions(+), 52 deletions(-) delete mode 100644 mappings/metadata/rdbms/metrics_test.json diff --git a/mappings/connections/db.json b/mappings/connections/db.json index 378fb99..952b054 100644 --- a/mappings/connections/db.json +++ b/mappings/connections/db.json @@ -120,25 +120,5 @@ "name" : "DB_SUBPOENA_PASSWORD", "value" : "Encrypted 2be98afc86aa7f2e4b11ba562feabf7eb", "description" : "" - },{ - "name" : "DB_METRICS_HOST", - "value" : "metrics-dbhost", - "description" : "" - }, { - "name" : "DB_METRICS_PORT", - "value" : "8888", - "description" : "" - }, { - "name" : "DB_METRICS_NAME", - "value" : "metrics-dbname", - "description" : "" - }, { - "name" : "DB_METRICS_USERNAME", - "value" : "metrics-user", - "description" : "" - }, { - "name" : "DB_METRICS_PASSWORD", - "value" : "Encrypted 2beebdaaa1ac8978aaa54aa72ce93bcc9", - "description" : "" - } ] + } ] } \ No newline at end of file diff --git a/mappings/connections/mo_db.json b/mappings/connections/mo_db.json index 0ed3134..e8d8870 100644 --- a/mappings/connections/mo_db.json +++ b/mappings/connections/mo_db.json @@ -141,23 +141,23 @@ "description" : "" }, { "name" : "DB_METRICS_HOST", - "value" : "172.30.66.35", + "value" : "metrics-dbhost", "description" : "" }, { "name" : "DB_METRICS_PORT", - "value" : "5432", + "value" : "8888", "description" : "" }, { "name" : "DB_METRICS_NAME", - "value" : "ervu_business_metrics", + "value" : "metrics-dbname", "description" : "" }, { "name" : "DB_METRICS_USERNAME", - "value" : "readonly", + "value" : "metrics-user", "description" : "" }, { "name" : "DB_METRICS_PASSWORD", - "value" : "Encrypted 2be98afc86aa7f2e4b91caf74d19ca3c3", + "value" : "Encrypted 2beebdaaa1ac8978aaa54aa72ce93bcc9", "description" : "" } ] } \ No newline at end of file diff --git a/mappings/metadata/rdbms/metrics_test.json b/mappings/metadata/rdbms/metrics_test.json deleted file mode 100644 index 8b2b685..0000000 --- a/mappings/metadata/rdbms/metrics_test.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "rdbms": { - "POSTGRESQL": { - "databaseName": "", - "pluginId": "POSTGRESQL", - "accessType": 0, - "hostname": "", - "password": "Encrypted 2be98afc86aa7f2e4b91caf74d19ca3c3", - "pluginName": "PostgreSQL", - "port": "", - "attributes": { - "SUPPORTS_TIMESTAMP_DATA_TYPE": "Y", - "QUOTE_ALL_FIELDS": "N", - "SUPPORTS_BOOLEAN_DATA_TYPE": "Y", - "FORCE_IDENTIFIERS_TO_LOWERCASE": "N", - "PRESERVE_RESERVED_WORD_CASE": "Y", - "SQL_CONNECT": "", - "FORCE_IDENTIFIERS_TO_UPPERCASE": "N", - "PREFERRED_SCHEMA_NAME": "" - }, - "manualUrl": "jdbc:postgresql://172.30.66.35:5432/ervu_business_metrics", - "username": "readonly" - } - }, - "name": "metrics_test" -} \ No newline at end of file