From b8c33bdfed54c63406f86614fe9c8f0492760d97 Mon Sep 17 00:00:00 2001 From: Iryna Grankova <87977540+igrankova@users.noreply.github.com> Date: Thu, 30 Dec 2021 17:30:26 +0200 Subject: [PATCH] Update fields in source-connectors specifications: mongodb-strict-encrypt, mongodb-v2 (#9202) --- .../b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e.json | 2 +- .../resources/seed/source_definitions.yaml | 2 +- .../src/main/resources/seed/source_specs.yaml | 35 ++++++++++--------- .../source-mongodb-strict-encrypt/Dockerfile | 2 +- .../resources/expected_spec.json | 28 +++++++-------- .../connectors/source-mongodb-v2/Dockerfile | 2 +- .../src/main/resources/spec.json | 30 ++++++++-------- docs/integrations/sources/mongodb-v2.md | 19 +++++----- 8 files changed, 61 insertions(+), 59 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e.json index 9ea997bd86f2..ca312b3e3231 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e", "name": "MongoDb", "dockerRepository": "airbyte/source-mongodb-v2", - "dockerImageTag": "0.1.9", + "dockerImageTag": "0.1.10", "documentationUrl": "https://docs.airbyte.io/integrations/sources/mongodb-v2", "icon": "mongodb.svg" } diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 0fc7630fc1c8..6bad35657522 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -426,7 +426,7 @@ - name: MongoDb sourceDefinitionId: b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e dockerRepository: airbyte/source-mongodb-v2 - dockerImageTag: 0.1.9 + dockerImageTag: 0.1.10 documentationUrl: https://docs.airbyte.io/integrations/sources/mongodb-v2 icon: mongodb.svg sourceType: database diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index c125f9d0f5d1..138431f88b88 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -4369,7 +4369,7 @@ path_in_connector_config: - "credentials" - "client_secret" -- dockerImage: "airbyte/source-mongodb-v2:0.1.9" +- dockerImage: "airbyte/source-mongodb-v2:0.1.10" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/mongodb-v2" changelogUrl: "https://docs.airbyte.io/integrations/sources/mongodb-v2" @@ -4383,9 +4383,9 @@ properties: instance_type: type: "object" - title: "MongoDb instance type" - description: "MongoDb instance to connect to. For MongoDB Atlas and Replica\ - \ Set TLS connection is used by default." + title: "MongoDb Instance Type" + description: "The MongoDb instance to connect to. For MongoDB Atlas and\ + \ Replica Set TLS connection is used by default." order: 0 oneOf: - title: "Standalone MongoDb Instance" @@ -4402,12 +4402,12 @@ host: title: "Host" type: "string" - description: "Host of a Mongo database to be replicated." + description: "The host name of the Mongo database." order: 0 port: title: "Port" type: "integer" - description: "Port of a Mongo database to be replicated." + description: "The port of the Mongo database." minimum: 0 maximum: 65536 default: 27017 @@ -4415,7 +4415,7 @@ - "27017" order: 1 tls: - title: "TLS connection" + title: "TLS Connection" type: "boolean" description: "Indicates whether TLS encryption protocol will be used\ \ to connect to MongoDB. It is recommended to use TLS connection\ @@ -4434,17 +4434,18 @@ - "replica" default: "replica" server_addresses: - title: "Server addresses" + title: "Server Addresses" type: "string" description: "The members of a replica set. Please specify `host`:`port`\ - \ of each member seperated by comma." + \ of each member separated by comma." examples: - "host1:27017,host2:27017,host3:27017" order: 0 replica_set: title: "Replica Set" type: "string" - description: "A replica set name." + description: "A replica set in MongoDB is a group of mongod processes\ + \ that maintain the same data set." order: 1 - title: "MongoDB Atlas" additionalProperties: false @@ -4460,28 +4461,28 @@ cluster_url: title: "Cluster URL" type: "string" - description: "URL of a cluster to connect to." + description: "The URL of a cluster to connect to." order: 0 database: - title: "Database name" + title: "Database Name" type: "string" - description: "Database to be replicated." + description: "The database you want to replicate." order: 1 user: title: "User" type: "string" - description: "User" + description: "The username which is used to access the database." order: 2 password: title: "Password" type: "string" - description: "Password" + description: "The password associated with this username." airbyte_secret: true order: 3 auth_source: - title: "Authentication source" + title: "Authentication Source" type: "string" - description: "Authentication source where user information is stored" + description: "The authentication source where the user information is stored." default: "admin" examples: - "admin" diff --git a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/Dockerfile b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/Dockerfile index c93f9cc60b37..cf8f82ac06b5 100644 --- a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/Dockerfile +++ b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION source-mongodb-strict-encrypt COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.1.6 +LABEL io.airbyte.version=0.1.7 LABEL io.airbyte.name=airbyte/source-mongodb-strict-encrypt diff --git a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/resources/expected_spec.json b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/resources/expected_spec.json index 51c455c75c6e..26dadbda7bb6 100644 --- a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/resources/expected_spec.json +++ b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/resources/expected_spec.json @@ -10,8 +10,8 @@ "properties": { "instance_type": { "type": "object", - "title": "MongoDb instance type", - "description": "MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default.", + "title": "MongoDb Instance Type", + "description": "The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default.", "order": 0, "oneOf": [ { @@ -26,13 +26,13 @@ "host": { "title": "Host", "type": "string", - "description": "Host of a Mongo database to be replicated.", + "description": "The host name of the Mongo database.", "order": 0 }, "port": { "title": "Port", "type": "integer", - "description": "Port of a Mongo database to be replicated.", + "description": "The port of the Mongo database.", "minimum": 0, "maximum": 65536, "default": 27017, @@ -51,16 +51,16 @@ "default": "replica" }, "server_addresses": { - "title": "Server addresses", + "title": "Server Addresses", "type": "string", - "description": "The members of a replica set. Please specify `host`:`port` of each member seperated by comma.", + "description": "The members of a replica set. Please specify `host`:`port` of each member separated by comma.", "examples": ["host1:27017,host2:27017,host3:27017"], "order": 0 }, "replica_set": { "title": "Replica Set", "type": "string", - "description": "A replica set name.", + "description": "A replica set in MongoDB is a group of mongod processes that maintain the same data set.", "order": 1 } } @@ -78,7 +78,7 @@ "cluster_url": { "title": "Cluster URL", "type": "string", - "description": "URL of a cluster to connect to.", + "description": "The URL of a cluster to connect to.", "order": 0 } } @@ -86,28 +86,28 @@ ] }, "database": { - "title": "Database name", + "title": "Database Name", "type": "string", - "description": "Database to be replicated.", + "description": "The database you want to replicate.", "order": 1 }, "user": { "title": "User", "type": "string", - "description": "User", + "description": "The username which is used to access the database.", "order": 2 }, "password": { "title": "Password", "type": "string", - "description": "Password", + "description": "The password associated with this username.", "airbyte_secret": true, "order": 3 }, "auth_source": { - "title": "Authentication source", + "title": "Authentication Source", "type": "string", - "description": "Authentication source where user information is stored", + "description": "The authentication source where the user information is stored.", "default": "admin", "examples": ["admin"], "order": 4 diff --git a/airbyte-integrations/connectors/source-mongodb-v2/Dockerfile b/airbyte-integrations/connectors/source-mongodb-v2/Dockerfile index 5330652b6bf2..de0380fd37d9 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/Dockerfile +++ b/airbyte-integrations/connectors/source-mongodb-v2/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION source-mongodb-v2 COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.1.9 +LABEL io.airbyte.version=0.1.10 LABEL io.airbyte.name=airbyte/source-mongodb-v2 diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/main/resources/spec.json b/airbyte-integrations/connectors/source-mongodb-v2/src/main/resources/spec.json index d90d4846548e..e78ca96d82d8 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/main/resources/spec.json +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/main/resources/spec.json @@ -10,8 +10,8 @@ "properties": { "instance_type": { "type": "object", - "title": "MongoDb instance type", - "description": "MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default.", + "title": "MongoDb Instance Type", + "description": "The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default.", "order": 0, "oneOf": [ { @@ -26,13 +26,13 @@ "host": { "title": "Host", "type": "string", - "description": "Host of a Mongo database to be replicated.", + "description": "The host name of the Mongo database.", "order": 0 }, "port": { "title": "Port", "type": "integer", - "description": "Port of a Mongo database to be replicated.", + "description": "The port of the Mongo database.", "minimum": 0, "maximum": 65536, "default": 27017, @@ -40,7 +40,7 @@ "order": 1 }, "tls": { - "title": "TLS connection", + "title": "TLS Connection", "type": "boolean", "description": "Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see documentation.", "default": false, @@ -58,16 +58,16 @@ "default": "replica" }, "server_addresses": { - "title": "Server addresses", + "title": "Server Addresses", "type": "string", - "description": "The members of a replica set. Please specify `host`:`port` of each member seperated by comma.", + "description": "The members of a replica set. Please specify `host`:`port` of each member separated by comma.", "examples": ["host1:27017,host2:27017,host3:27017"], "order": 0 }, "replica_set": { "title": "Replica Set", "type": "string", - "description": "A replica set name.", + "description": "A replica set in MongoDB is a group of mongod processes that maintain the same data set.", "order": 1 } } @@ -85,7 +85,7 @@ "cluster_url": { "title": "Cluster URL", "type": "string", - "description": "URL of a cluster to connect to.", + "description": "The URL of a cluster to connect to.", "order": 0 } } @@ -93,28 +93,28 @@ ] }, "database": { - "title": "Database name", + "title": "Database Name", "type": "string", - "description": "Database to be replicated.", + "description": "The database you want to replicate.", "order": 1 }, "user": { "title": "User", "type": "string", - "description": "User", + "description": "The username which is used to access the database.", "order": 2 }, "password": { "title": "Password", "type": "string", - "description": "Password", + "description": "The password associated with this username.", "airbyte_secret": true, "order": 3 }, "auth_source": { - "title": "Authentication source", + "title": "Authentication Source", "type": "string", - "description": "Authentication source where user information is stored", + "description": "The authentication source where the user information is stored.", "default": "admin", "examples": ["admin"], "order": 4 diff --git a/docs/integrations/sources/mongodb-v2.md b/docs/integrations/sources/mongodb-v2.md index 9345e4475256..0db57aa9c996 100644 --- a/docs/integrations/sources/mongodb-v2.md +++ b/docs/integrations/sources/mongodb-v2.md @@ -102,12 +102,13 @@ For more information regarding configuration parameters, please see [MongoDb Doc | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | -| 0.1.9 | 2021-12-07 | [8491](https://github.com/airbytehq/airbyte/pull/8491) | Configure 10000 limit doc reading during Discovery step | -| 0.1.8 | 2021-11-29 | [8306](https://github.com/airbytehq/airbyte/pull/8306) | Added milliseconds for date format for cursor | -| 0.1.7 | 2021-11-22 | [8161](https://github.com/airbytehq/airbyte/pull/8161) | Updated Performance and updated cursor for timestamp type | -| 0.1.5 | 2021-11-17 | [8046](https://github.com/airbytehq/airbyte/pull/8046) | Added milliseconds to convert timestamp to datetime format | -| 0.1.4 | 2021-11-15 | [7982](https://github.com/airbytehq/airbyte/pull/7982) | Updated Performance | -| 0.1.3 | 2021-10-19 | [7160](https://github.com/airbytehq/airbyte/pull/7160) | Fixed nested document parsing | -| 0.1.2 | 2021-10-07 | [6860](https://github.com/airbytehq/airbyte/pull/6860) | Added filter to avoid MongoDb system collections | -| 0.1.1 | 2021-09-21 | [6364](https://github.com/airbytehq/airbyte/pull/6364) | Source MongoDb: added support via TLS/SSL | -| 0.1.0 | 2021-08-30 | [5530](https://github.com/airbytehq/airbyte/pull/5530) | New source: MongoDb ported to java | +| 0.1.10 | 2021-12-30 | [9202](https://github.com/airbytehq/airbyte/pull/9202) | Update connector fields title/description | +| 0.1.9 | 2021-12-07 | [8491](https://github.com/airbytehq/airbyte/pull/8491) | Configure 10000 limit doc reading during Discovery step | +| 0.1.8 | 2021-11-29 | [8306](https://github.com/airbytehq/airbyte/pull/8306) | Added milliseconds for date format for cursor | +| 0.1.7 | 2021-11-22 | [8161](https://github.com/airbytehq/airbyte/pull/8161) | Updated Performance and updated cursor for timestamp type | +| 0.1.5 | 2021-11-17 | [8046](https://github.com/airbytehq/airbyte/pull/8046) | Added milliseconds to convert timestamp to datetime format | +| 0.1.4 | 2021-11-15 | [7982](https://github.com/airbytehq/airbyte/pull/7982) | Updated Performance | +| 0.1.3 | 2021-10-19 | [7160](https://github.com/airbytehq/airbyte/pull/7160) | Fixed nested document parsing | +| 0.1.2 | 2021-10-07 | [6860](https://github.com/airbytehq/airbyte/pull/6860) | Added filter to avoid MongoDb system collections | +| 0.1.1 | 2021-09-21 | [6364](https://github.com/airbytehq/airbyte/pull/6364) | Source MongoDb: added support via TLS/SSL | +| 0.1.0 | 2021-08-30 | [5530](https://github.com/airbytehq/airbyte/pull/5530) | New source: MongoDb ported to java |