From 258bfdb341a087e2eb7a258f8adbdca03b11f917 Mon Sep 17 00:00:00 2001 From: Soundarya Date: Mon, 17 Apr 2023 21:08:07 +0530 Subject: [PATCH] Changes mentioned in the comment for amplitude --- data/saas/config/amplitude_config.yml | 10 +++++----- tests/fixtures/saas/amplitude_fixtures.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/data/saas/config/amplitude_config.yml b/data/saas/config/amplitude_config.yml index eacca605a2f..f735684cf83 100644 --- a/data/saas/config/amplitude_config.yml +++ b/data/saas/config/amplitude_config.yml @@ -8,17 +8,17 @@ saas_config: connector_params: - name: domain default_value: amplitude.com - - name: authorization_key + - name: api_key + - name: secret_key client_config: protocol: https host: authentication: - strategy: api_key + strategy: basic configuration: - headers: - - name: Authorization - value: Basic + username: + password: test_request: method: GET diff --git a/tests/fixtures/saas/amplitude_fixtures.py b/tests/fixtures/saas/amplitude_fixtures.py index 0770f4c826a..46f44f37ca8 100644 --- a/tests/fixtures/saas/amplitude_fixtures.py +++ b/tests/fixtures/saas/amplitude_fixtures.py @@ -27,7 +27,7 @@ def amplitude_secrets(saas_config): return { "domain": pydash.get(saas_config, "amplitude.domain") or secrets["domain"], - "authorization_key": pydash.get(saas_config, "amplitude.authorization_key") or secrets["authorization_key"], + "secret_key": pydash.get(saas_config, "amplitude.secret_key") or secrets["secret_key"], "api_key": pydash.get(saas_config, "amplitude.api_key") or secrets["api_key"], "identity_domain": pydash.get(saas_config, "amplitude.identity_domain") or secrets["identity_domain"],