-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite connector-metadata.yaml "update" to "Dockerized" format, bump…
… versions
- Loading branch information
1 parent
5cd7850
commit 1abb4d0
Showing
3 changed files
with
16 additions
and
30 deletions.
There are no files selected for viewing
15 changes: 5 additions & 10 deletions
15
ndc-connector-mysql/.hasura-connector/connector-metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
packagingDefinition: | ||
type: PrebuiltDockerImage | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-mysql:v1.0.6" | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-mysql:v1.0.8" | ||
supportedEnvironmentVariables: | ||
- name: JDBC_URL | ||
description: "The JDBC URL to connect to the database" | ||
commands: | ||
update: | | ||
docker run \ | ||
-e JDBC_URL \ | ||
-e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ | ||
-v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ | ||
ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ | ||
--database MYSQL \ | ||
--schemas $JDBC_SCHEMAS \ | ||
--outfile /app/output/configuration.json | ||
update: | ||
type: Dockerized | ||
dockerImage: ghcr.io/hasura/ndc-jvm-cli:v1.0.0 | ||
commandArgs: [update, --database, MYSQL, --schemas, $JDBC_SCHEMAS, --outfile, /etc/connector/configuration.json] |
15 changes: 5 additions & 10 deletions
15
ndc-connector-oracle/.hasura-connector/connector-metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
packagingDefinition: | ||
type: PrebuiltDockerImage | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-oracle:v1.0.5" | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-oracle:v1.0.6" | ||
supportedEnvironmentVariables: | ||
- name: JDBC_URL | ||
description: "The JDBC URL to connect to the database" | ||
- name: JDBC_SCHEMAS | ||
description: "A comma-separated list of schemas to include in the metadata" | ||
commands: | ||
update: | | ||
docker run \ | ||
-e JDBC_URL \ | ||
-e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ | ||
-v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ | ||
ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ | ||
--database ORACLE \ | ||
--schemas $JDBC_SCHEMAS \ | ||
--outfile /app/output/configuration.json | ||
update: | ||
type: Dockerized | ||
dockerImage: ghcr.io/hasura/ndc-jvm-cli:v1.0.0 | ||
commandArgs: [update, --database, ORACLE, --schemas, $JDBC_SCHEMAS, --outfile, /etc/connector/configuration.json] |
16 changes: 6 additions & 10 deletions
16
ndc-connector-snowflake/.hasura-connector/connector-metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
packagingDefinition: | ||
type: PrebuiltDockerImage | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-snowflake:v1.0.3" | ||
dockerImage: "ghcr.io/hasura/ndc-jvm-snowflake:v1.0.4" | ||
supportedEnvironmentVariables: | ||
- name: JDBC_URL | ||
description: "The JDBC URL to connect to the database" | ||
- name: JDBC_SCHEMAS | ||
description: "A comma-separated list of schemas to include in the metadata" | ||
commands: | ||
update: | | ||
docker run \ | ||
-e JDBC_URL \ | ||
-e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ | ||
-v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ | ||
ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ | ||
--database SNOWFLAKE \ | ||
--schemas $JDBC_SCHEMAS \ | ||
--outfile /app/output/configuration.json | ||
update: | ||
type: Dockerized | ||
dockerImage: ghcr.io/hasura/ndc-jvm-cli:v1.0.0 | ||
commandArgs: [update, --database, SNOWFLAKE, --schemas, $JDBC_SCHEMAS, --outfile, /etc/connector/configuration.json] | ||
|
||
|