diff --git a/lib/dl_connector_greenplum/dl_connector_greenplum/api/connector.py b/lib/dl_connector_greenplum/dl_connector_greenplum/api/connector.py index f820839ac..9c7a381dc 100644 --- a/lib/dl_connector_greenplum/dl_connector_greenplum/api/connector.py +++ b/lib/dl_connector_greenplum/dl_connector_greenplum/api/connector.py @@ -22,6 +22,7 @@ GreenplumTableCoreSourceDefinition, ) from dl_connector_postgresql.api.connector import PostgreSQLApiBackendDefinition +from dl_connector_postgresql.api.i18n.localizer import CONFIGS as BI_CONNECTOR_POSTGRESQL_CONFIGS class GreenplumApiTableSourceDefinition(ApiSourceDefinition): @@ -54,4 +55,4 @@ class GreenplumApiConnector(ApiConnector): GreenplumApiTableSourceDefinition, GreenplumApiSubselectSourceDefinition, ) - translation_configs = frozenset(CONFIGS) + translation_configs = frozenset(CONFIGS) | frozenset(BI_CONNECTOR_POSTGRESQL_CONFIGS) diff --git a/lib/dl_connector_greenplum/dl_connector_greenplum_tests/unit/test_connection_form.py b/lib/dl_connector_greenplum/dl_connector_greenplum_tests/unit/test_connection_form.py index 6ed7a5db4..8c436382a 100644 --- a/lib/dl_connector_greenplum/dl_connector_greenplum_tests/unit/test_connection_form.py +++ b/lib/dl_connector_greenplum/dl_connector_greenplum_tests/unit/test_connection_form.py @@ -3,8 +3,9 @@ from dl_connector_greenplum.api.connection_form.form_config import GreenplumConnectionFormFactory from dl_connector_greenplum.api.i18n.localizer import CONFIGS as BI_CONNECTOR_GREENPLUM_CONFIGS +from dl_connector_postgresql.api.i18n.localizer import CONFIGS as BI_CONNECTOR_POSTGRESQL_CONFIGS class TestGreenplumConnectionForm(ConnectionFormTestBase): CONN_FORM_FACTORY_CLS = GreenplumConnectionFormFactory - TRANSLATION_CONFIGS = BI_API_CONNECTOR_CONFIGS + BI_CONNECTOR_GREENPLUM_CONFIGS + TRANSLATION_CONFIGS = BI_API_CONNECTOR_CONFIGS + BI_CONNECTOR_GREENPLUM_CONFIGS + BI_CONNECTOR_POSTGRESQL_CONFIGS