From 9de7443ec0f7b5f4f5a8e232ffa95de66e3547b8 Mon Sep 17 00:00:00 2001 From: Iryna Grankova <87977540+igrankova@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:10:51 +0200 Subject: [PATCH] Update fields in destination-connectors specifications: mssql, mssql-strict-encrypt (#9158) * Files title/description update for issue # 8950 * Version update for issue # 8950 * Changelogs update for PR #9158 * update destination_specs.yaml with new version * update version for destination-mssql-strict-encrypt * fix destination-mssql-strict-encrypt integration tests Co-authored-by: mkhokh --- .../d4353156-9217-4cad-8dd7-c108fd4f74cf.json | 2 +- .../seed/destination_definitions.yaml | 2 +- .../resources/seed/destination_specs.yaml | 23 ++++++++++--------- .../Dockerfile | 2 +- .../resources/expected_spec.json | 16 ++++++------- .../connectors/destination-mssql/Dockerfile | 2 +- .../src/main/resources/spec.json | 18 +++++++-------- docs/integrations/destinations/mssql.md | 2 ++ 8 files changed, 35 insertions(+), 32 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/d4353156-9217-4cad-8dd7-c108fd4f74cf.json b/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/d4353156-9217-4cad-8dd7-c108fd4f74cf.json index 4040f03131852..041999fea8189 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/d4353156-9217-4cad-8dd7-c108fd4f74cf.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/d4353156-9217-4cad-8dd7-c108fd4f74cf.json @@ -2,7 +2,7 @@ "destinationDefinitionId": "d4353156-9217-4cad-8dd7-c108fd4f74cf", "name": "MS SQL Server", "dockerRepository": "airbyte/destination-mssql", - "dockerImageTag": "0.1.12", + "dockerImageTag": "0.1.13", "documentationUrl": "https://docs.airbyte.io/integrations/destinations/mssql", "icon": "mssql.svg" } diff --git a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml index 720a4e043b0f3..c03cc2c715d3f 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml @@ -102,7 +102,7 @@ - name: MS SQL Server destinationDefinitionId: d4353156-9217-4cad-8dd7-c108fd4f74cf dockerRepository: airbyte/destination-mssql - dockerImageTag: 0.1.12 + dockerImageTag: 0.1.13 documentationUrl: https://docs.airbyte.io/integrations/destinations/mssql icon: mssql.svg - name: MeiliSearch diff --git a/airbyte-config/init/src/main/resources/seed/destination_specs.yaml b/airbyte-config/init/src/main/resources/seed/destination_specs.yaml index 311d747898828..03dc563b6f39d 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_specs.yaml @@ -2015,7 +2015,7 @@ supportsDBT: false supported_destination_sync_modes: - "append" -- dockerImage: "airbyte/destination-mssql:0.1.12" +- dockerImage: "airbyte/destination-mssql:0.1.13" spec: documentationUrl: "https://docs.airbyte.io/integrations/destinations/mssql" connectionSpecification: @@ -2032,12 +2032,12 @@ properties: host: title: "Host" - description: "Hostname of the database." + description: "The host name of the MSSQL database." type: "string" order: 0 port: title: "Port" - description: "Port of the database." + description: "The port of the MSSQL database." type: "integer" minimum: 0 maximum: 65536 @@ -2047,7 +2047,7 @@ order: 1 database: title: "DB Name" - description: "Name of the database." + description: "The name of the MSSQL database." type: "string" order: 2 schema: @@ -2062,24 +2062,25 @@ order: 3 username: title: "User" - description: "Username to use to access the database." + description: "The username which is used to access the database." type: "string" order: 4 password: title: "Password" - description: "Password associated with the username." + description: "The password associated with this username." type: "string" airbyte_secret: true order: 5 ssl_method: title: "SSL Method" type: "object" - description: "Encryption method to use when communicating with the database" + description: "The encryption method which is used to communicate with the\ + \ database." order: 6 oneOf: - title: "Unencrypted" additionalProperties: false - description: "Data transfer will not be encrypted." + description: "The data transfer will not be encrypted." required: - "ssl_method" type: "object" @@ -2091,8 +2092,8 @@ default: "unencrypted" - title: "Encrypted (trust server certificate)" additionalProperties: false - description: "Use the cert provided by the server without verification.\ - \ (For testing purposes only!)" + description: "Use the certificate provided by the server without verification.\ + \ (For testing purposes only!)" required: - "ssl_method" type: "object" @@ -2104,7 +2105,7 @@ default: "encrypted_trust_server_certificate" - title: "Encrypted (verify certificate)" additionalProperties: false - description: "Verify and use the cert provided by the server." + description: "Verify and use the certificate provided by the server." required: - "ssl_method" - "trustStoreName" diff --git a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/Dockerfile b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/Dockerfile index c314e732dda3e..8cb2dcfa0c8b8 100644 --- a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/Dockerfile +++ b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION destination-mssql-strict-encrypt COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.1.2 +LABEL io.airbyte.version=0.1.3 LABEL io.airbyte.name=airbyte/destination-mssql-strict-encrypt diff --git a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/resources/expected_spec.json b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/resources/expected_spec.json index e372c869cd854..099c49cf7e78a 100644 --- a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/resources/expected_spec.json +++ b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/resources/expected_spec.json @@ -13,13 +13,13 @@ "properties": { "host": { "title": "Host", - "description": "Hostname of the database.", + "description": "The host name of the MSSQL database.", "type": "string", "order": 0 }, "port": { "title": "Port", - "description": "Port of the database.", + "description": "The port of the MSSQL database.", "type": "integer", "minimum": 0, "maximum": 65536, @@ -29,7 +29,7 @@ }, "database": { "title": "DB Name", - "description": "Name of the database.", + "description": "The name of the MSSQL database.", "type": "string", "order": 2 }, @@ -43,13 +43,13 @@ }, "username": { "title": "User", - "description": "Username to use to access the database.", + "description": "The username which is used to access the database.", "type": "string", "order": 4 }, "password": { "title": "Password", - "description": "Password associated with the username.", + "description": "The password associated with this username.", "type": "string", "airbyte_secret": true, "order": 5 @@ -57,13 +57,13 @@ "ssl_method": { "title": "SSL Method", "type": "object", - "description": "Encryption method to use when communicating with the database", + "description": "The encryption method which is used to communicate with the database.", "order": 6, "oneOf": [ { "title": "Encrypted (trust server certificate)", "additionalProperties": false, - "description": "Use the cert provided by the server without verification. (For testing purposes only!)", + "description": "Use the certificate provided by the server without verification. (For testing purposes only!)", "required": ["ssl_method"], "type": "object", "properties": { @@ -77,7 +77,7 @@ { "title": "Encrypted (verify certificate)", "additionalProperties": false, - "description": "Verify and use the cert provided by the server.", + "description": "Verify and use the certificate provided by the server.", "required": ["ssl_method", "trustStoreName", "trustStorePassword"], "type": "object", "properties": { diff --git a/airbyte-integrations/connectors/destination-mssql/Dockerfile b/airbyte-integrations/connectors/destination-mssql/Dockerfile index 6713ce07a7b95..01965dcec1853 100644 --- a/airbyte-integrations/connectors/destination-mssql/Dockerfile +++ b/airbyte-integrations/connectors/destination-mssql/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION destination-mssql COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.1.12 +LABEL io.airbyte.version=0.1.13 LABEL io.airbyte.name=airbyte/destination-mssql diff --git a/airbyte-integrations/connectors/destination-mssql/src/main/resources/spec.json b/airbyte-integrations/connectors/destination-mssql/src/main/resources/spec.json index 79c2f4959cf90..95a118feab69a 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/main/resources/spec.json +++ b/airbyte-integrations/connectors/destination-mssql/src/main/resources/spec.json @@ -13,13 +13,13 @@ "properties": { "host": { "title": "Host", - "description": "Hostname of the database.", + "description": "The host name of the MSSQL database.", "type": "string", "order": 0 }, "port": { "title": "Port", - "description": "Port of the database.", + "description": "The port of the MSSQL database.", "type": "integer", "minimum": 0, "maximum": 65536, @@ -29,7 +29,7 @@ }, "database": { "title": "DB Name", - "description": "Name of the database.", + "description": "The name of the MSSQL database.", "type": "string", "order": 2 }, @@ -43,13 +43,13 @@ }, "username": { "title": "User", - "description": "Username to use to access the database.", + "description": "The username which is used to access the database.", "type": "string", "order": 4 }, "password": { "title": "Password", - "description": "Password associated with the username.", + "description": "The password associated with this username.", "type": "string", "airbyte_secret": true, "order": 5 @@ -57,13 +57,13 @@ "ssl_method": { "title": "SSL Method", "type": "object", - "description": "Encryption method to use when communicating with the database", + "description": "The encryption method which is used to communicate with the database.", "order": 6, "oneOf": [ { "title": "Unencrypted", "additionalProperties": false, - "description": "Data transfer will not be encrypted.", + "description": "The data transfer will not be encrypted.", "required": ["ssl_method"], "type": "object", "properties": { @@ -77,7 +77,7 @@ { "title": "Encrypted (trust server certificate)", "additionalProperties": false, - "description": "Use the cert provided by the server without verification. (For testing purposes only!)", + "description": "Use the certificate provided by the server without verification. (For testing purposes only!)", "required": ["ssl_method"], "type": "object", "properties": { @@ -91,7 +91,7 @@ { "title": "Encrypted (verify certificate)", "additionalProperties": false, - "description": "Verify and use the cert provided by the server.", + "description": "Verify and use the certificate provided by the server.", "required": ["ssl_method", "trustStoreName", "trustStorePassword"], "type": "object", "properties": { diff --git a/docs/integrations/destinations/mssql.md b/docs/integrations/destinations/mssql.md index 5a7d0f02e1f1a..fc08fc302120f 100644 --- a/docs/integrations/destinations/mssql.md +++ b/docs/integrations/destinations/mssql.md @@ -119,6 +119,7 @@ Using this feature requires additional configuration, when creating the source. | Version | Date | Pull Request | Subject | |:--------| :--- |:---------------------------------------------------------| :--- | +| 0.1.13 | 2021-12-28 | [\#9158](https://github.com/airbytehq/airbyte/pull/9158) | Update connector fields title/description | | 0.1.12 | 2021-12-01 | [\#8371](https://github.com/airbytehq/airbyte/pull/8371) | Fixed incorrect handling "\n" in ssh key | | 0.1.11 | 2021-11-08 | [#7719](https://github.com/airbytehq/airbyte/pull/7719) | Improve handling of wide rows by buffering records based on their byte size rather than their count | | 0.1.10 | 2021-10-11 | [\#6877](https://github.com/airbytehq/airbyte/pull/6877) | Add `normalization` capability, add `append+deduplication` sync mode | @@ -135,5 +136,6 @@ Using this feature requires additional configuration, when creating the source. ### Changelog (Strict Encrypt) | Version | Date | Pull Request | Subject | |:--------| :--- | :--- | :--- | +| 0.1.3 | 2021-12-28 | [\#9158](https://github.com/airbytehq/airbyte/pull/9158) | Update connector fields title/description | | 0.1.2 | 2021-12-01 | [8371](https://github.com/airbytehq/airbyte/pull/8371) | Fixed incorrect handling "\n" in ssh key | | 0.1.1 | 2021-11-08 | [#7719](https://github.com/airbytehq/airbyte/pull/7719) | Improve handling of wide rows by buffering records based on their byte size rather than their count |