Skip to content

Commit

Permalink
Update cli images in metadata and connector versions (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
codedmart authored Dec 6, 2024
1 parent 16ceee0 commit 9d1130b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 9d1130b

Please sign in to comment.