From 521619ae32b7a306b1c26e47e4cf2662ce06601f Mon Sep 17 00:00:00 2001 From: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> Date: Sun, 15 Dec 2024 01:20:28 +0530 Subject: [PATCH] Correct Imports for Class Converter Factory (#19057) --- .../service/secrets/converter/ClassConverterFactory.java | 4 ++-- .../entity/services/connections/database/mysqlConnection.json | 1 + .../services/connections/database/postgresConnection.json | 1 + .../entity/services/connections/database/mysqlConnection.ts | 4 +--- .../services/connections/database/postgresConnection.ts | 4 +--- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/secrets/converter/ClassConverterFactory.java b/openmetadata-service/src/main/java/org/openmetadata/service/secrets/converter/ClassConverterFactory.java index c30238cd3d9..3a9fedee940 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/secrets/converter/ClassConverterFactory.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/secrets/converter/ClassConverterFactory.java @@ -13,10 +13,8 @@ package org.openmetadata.service.secrets.converter; -import com.mysql.cj.MysqlConnection; import java.util.Map; import lombok.Getter; -import org.flywaydb.core.internal.database.redshift.RedshiftConnection; import org.openmetadata.schema.auth.SSOAuthMechanism; import org.openmetadata.schema.entity.automations.TestServiceConnectionRequest; import org.openmetadata.schema.entity.automations.Workflow; @@ -34,7 +32,9 @@ import org.openmetadata.schema.services.connections.database.DeltaLakeConnection import org.openmetadata.schema.services.connections.database.GreenplumConnection; import org.openmetadata.schema.services.connections.database.HiveConnection; import org.openmetadata.schema.services.connections.database.IcebergConnection; +import org.openmetadata.schema.services.connections.database.MysqlConnection; import org.openmetadata.schema.services.connections.database.PostgresConnection; +import org.openmetadata.schema.services.connections.database.RedshiftConnection; import org.openmetadata.schema.services.connections.database.SalesforceConnection; import org.openmetadata.schema.services.connections.database.SapHanaConnection; import org.openmetadata.schema.services.connections.database.TrinoConnection; diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/mysqlConnection.json b/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/mysqlConnection.json index 5d269f58a6f..663c3b70b85 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/mysqlConnection.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/mysqlConnection.json @@ -44,6 +44,7 @@ "authType": { "title": "Auth Configuration Type", "description": "Choose Auth Config Type.", + "mask": true, "oneOf": [ { "$ref": "./common/basicAuth.json" diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/postgresConnection.json b/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/postgresConnection.json index 71defb2941b..019e6816e74 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/postgresConnection.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/postgresConnection.json @@ -45,6 +45,7 @@ "authType": { "title": "Auth Configuration Type", "description": "Choose Auth Config Type.", + "mask": true, "oneOf": [ { "$ref": "./common/basicAuth.json" diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/mysqlConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/mysqlConnection.ts index 4aab7d80f0f..035b8b79deb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/mysqlConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/mysqlConnection.ts @@ -10,9 +10,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - - - /** +/** * Mysql Database Connection Config */ export interface MysqlConnection { diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/postgresConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/postgresConnection.ts index c681b859806..4294e5c637a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/postgresConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/postgresConnection.ts @@ -10,9 +10,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - - - /** +/** * Postgres Database Connection Config */ export interface PostgresConnection {