Skip to content

Commit

Permalink
MINOR: Fix Trino Azure config sceret not hidden (#17158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulixius9 committed Aug 1, 2024
1 parent 7b2d58e commit 98ef90d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.List;
import org.openmetadata.schema.security.ssl.ValidateSSLClientConfig;
import org.openmetadata.schema.services.connections.database.MysqlConnection;
import org.openmetadata.schema.services.connections.database.common.AzureConfig;
import org.openmetadata.schema.services.connections.database.common.IamAuthConfig;
import org.openmetadata.schema.services.connections.database.common.basicAuth;
import org.openmetadata.service.util.JsonUtils;
Expand All @@ -26,7 +27,7 @@
public class MysqlConnectionClassConverter extends ClassConverter {

private static final List<Class<?>> CONFIG_SOURCE_CLASSES =
List.of(basicAuth.class, IamAuthConfig.class);
List.of(basicAuth.class, IamAuthConfig.class, AzureConfig.class);

private static final List<Class<?>> SSL_SOURCE_CLASS = List.of(ValidateSSLClientConfig.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.List;
import org.openmetadata.schema.security.ssl.ValidateSSLClientConfig;
import org.openmetadata.schema.services.connections.database.PostgresConnection;
import org.openmetadata.schema.services.connections.database.common.AzureConfig;
import org.openmetadata.schema.services.connections.database.common.IamAuthConfig;
import org.openmetadata.schema.services.connections.database.common.basicAuth;
import org.openmetadata.service.util.JsonUtils;
Expand All @@ -28,7 +29,7 @@ public class PostgresConnectionClassConverter extends ClassConverter {
private static final List<Class<?>> SSL_SOURCE_CLASS = List.of(ValidateSSLClientConfig.class);

private static final List<Class<?>> CONFIG_SOURCE_CLASSES =
List.of(basicAuth.class, IamAuthConfig.class);
List.of(basicAuth.class, IamAuthConfig.class, AzureConfig.class);

public PostgresConnectionClassConverter() {
super(PostgresConnection.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import java.util.List;
import org.openmetadata.schema.services.connections.database.TrinoConnection;
import org.openmetadata.schema.services.connections.database.common.AzureConfig;
import org.openmetadata.schema.services.connections.database.common.basicAuth;
import org.openmetadata.schema.services.connections.database.common.jwtAuth;
import org.openmetadata.service.util.JsonUtils;
Expand All @@ -23,7 +24,7 @@
public class TrinoConnectionClassConverter extends ClassConverter {

private static final List<Class<?>> CONFIG_SOURCE_CLASSES =
List.of(basicAuth.class, jwtAuth.class);
List.of(basicAuth.class, jwtAuth.class, AzureConfig.class);

public TrinoConnectionClassConverter() {
super(TrinoConnection.class);
Expand Down

0 comments on commit 98ef90d

Please sign in to comment.