From 9d1130bc4291338b7b3efdf01756ad0fbbcec2e1 Mon Sep 17 00:00:00 2001 From: Brandon Martin Date: Thu, 5 Dec 2024 17:07:26 -0800 Subject: [PATCH] Update cli images in metadata and connector versions (#34) --- .../src/main/kotlin/io/hasura/cli/SnowflakeConfigGenerator.kt | 4 ++-- ndc-connector-mysql/.hasura-connector/connector-metadata.yaml | 2 +- .../.hasura-connector/connector-metadata.yaml | 4 ++-- .../.hasura-connector/connector-metadata.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ndc-cli/src/main/kotlin/io/hasura/cli/SnowflakeConfigGenerator.kt b/ndc-cli/src/main/kotlin/io/hasura/cli/SnowflakeConfigGenerator.kt index bf9a422..4fd17b4 100644 --- a/ndc-cli/src/main/kotlin/io/hasura/cli/SnowflakeConfigGenerator.kt +++ b/ndc-cli/src/main/kotlin/io/hasura/cli/SnowflakeConfigGenerator.kt @@ -25,8 +25,8 @@ object SnowflakeConfigGenerator : IConfigGenerator { // Don't use Arrow memory format so we don't need to --add-opens=java.base/java.nio=ALL-UNNAMED to the JVM val modifiedJdbcUrl = jdbcUrlString.find { it == '?' } - ?.let { "$jdbcUrl&JDBC_QUERY_RESULT_FORMAT=JSON" } - ?: "$jdbcUrl?JDBC_QUERY_RESULT_FORMAT=JSON" + ?.let { "$jdbcUrlString&JDBC_QUERY_RESULT_FORMAT=JSON" } + ?: "$jdbcUrlString?JDBC_QUERY_RESULT_FORMAT=JSON" val ctx = DSL.using(modifiedJdbcUrl) diff --git a/ndc-connector-mysql/.hasura-connector/connector-metadata.yaml b/ndc-connector-mysql/.hasura-connector/connector-metadata.yaml index a7a2c45..3b52d2c 100644 --- a/ndc-connector-mysql/.hasura-connector/connector-metadata.yaml +++ b/ndc-connector-mysql/.hasura-connector/connector-metadata.yaml @@ -10,7 +10,7 @@ commands: -e JDBC_URL \ -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ - ghcr.io/hasura/ndc-jvm-cli:v0.1.3 update \ + ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ --database MYSQL \ --schemas $JDBC_SCHEMAS \ --outfile /app/output/configuration.json diff --git a/ndc-connector-oracle/.hasura-connector/connector-metadata.yaml b/ndc-connector-oracle/.hasura-connector/connector-metadata.yaml index 8b4d156..b96a079 100644 --- a/ndc-connector-oracle/.hasura-connector/connector-metadata.yaml +++ b/ndc-connector-oracle/.hasura-connector/connector-metadata.yaml @@ -1,6 +1,6 @@ packagingDefinition: type: PrebuiltDockerImage - dockerImage: "ghcr.io/hasura/ndc-jvm-oracle:v1.0.3" + dockerImage: "ghcr.io/hasura/ndc-jvm-oracle:v1.0.4" supportedEnvironmentVariables: - name: JDBC_URL description: "The JDBC URL to connect to the database" @@ -12,7 +12,7 @@ commands: -e JDBC_URL \ -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ - ghcr.io/hasura/ndc-jvm-cli:v0.1.3 update \ + ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ --database ORACLE \ --schemas $JDBC_SCHEMAS \ --outfile /app/output/configuration.json diff --git a/ndc-connector-snowflake/.hasura-connector/connector-metadata.yaml b/ndc-connector-snowflake/.hasura-connector/connector-metadata.yaml index a66e247..85b3c4d 100644 --- a/ndc-connector-snowflake/.hasura-connector/connector-metadata.yaml +++ b/ndc-connector-snowflake/.hasura-connector/connector-metadata.yaml @@ -1,6 +1,6 @@ packagingDefinition: type: PrebuiltDockerImage - dockerImage: "ghcr.io/hasura/ndc-jvm-snowflake:v1.0.2" + dockerImage: "ghcr.io/hasura/ndc-jvm-snowflake:v1.0.3" supportedEnvironmentVariables: - name: JDBC_URL description: "The JDBC URL to connect to the database" @@ -12,7 +12,7 @@ commands: -e JDBC_URL \ -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ - ghcr.io/hasura/ndc-jvm-cli:v0.1.0 update \ + ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ --database SNOWFLAKE \ --schemas $JDBC_SCHEMAS \ --outfile /app/output/configuration.json