Skip to content

Commit

Permalink
Update fields in source-connectors specifications: mssql, mssql-stric…
Browse files Browse the repository at this point in the history
…t-encrypt (#9206)
  • Loading branch information
igrankova authored Jan 5, 2022
1 parent 680e74c commit 74cb28e
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "b5ea17b1-f170-46dc-bc31-cc744ca984c1",
"name": "Microsoft SQL Server (MSSQL)",
"dockerRepository": "airbyte/source-mssql",
"dockerImageTag": "0.3.11",
"dockerImageTag": "0.3.12",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/mssql",
"icon": "mssql.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
- name: Microsoft SQL Server (MSSQL)
sourceDefinitionId: b5ea17b1-f170-46dc-bc31-cc744ca984c1
dockerRepository: airbyte/source-mssql
dockerImageTag: 0.3.11
dockerImageTag: 0.3.12
documentationUrl: https://docs.airbyte.io/integrations/sources/mssql
icon: mssql.svg
sourceType: database
Expand Down
28 changes: 17 additions & 11 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3841,7 +3841,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-mssql:0.3.11"
- dockerImage: "airbyte/source-mssql:0.3.12"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/destinations/mssql"
connectionSpecification:
Expand All @@ -3856,31 +3856,37 @@
additionalProperties: false
properties:
host:
description: "Hostname of the database."
description: "The hostname of the database."
title: "Host"
type: "string"
port:
description: "Port of the database."
description: "The port of the database."
title: "Port"
type: "integer"
minimum: 0
maximum: 65536
examples:
- "1433"
database:
description: "Name of the database."
description: "The name of the database."
title: "Database"
type: "string"
examples:
- "master"
username:
description: "Username to use to access the database."
description: "The username which is used to access the database."
title: "Username"
type: "string"
password:
description: "Password associated with the username."
description: "The password associated with the username."
title: "Password"
type: "string"
airbyte_secret: true
ssl_method:
title: "SSL Method"
type: "object"
description: "Encryption method to use when communicating with the database"
description: "The encryption method which is used when communicating with\
\ the database."
order: 6
oneOf:
- title: "Unencrypted"
Expand All @@ -3897,8 +3903,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"
properties:
Expand All @@ -3910,7 +3916,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"
Expand All @@ -3931,7 +3937,7 @@
replication_method:
type: "string"
title: "Replication Method"
description: "Replication method to use for extracting data from the database.\
description: "The replication method used for extracting data from the database.\
\ STANDARD replication requires no setup on the DB side but will not be\
\ able to represent deletions incrementally. CDC uses {TBC} to detect\
\ inserts, updates, and deletes. This needs to be configured on the source\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION source-mssql-strict-encrypt

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.1.4
LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.name=airbyte/source-mssql-strict-encrypt
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,45 @@
"additionalProperties": false,
"properties": {
"host": {
"description": "Hostname of the database.",
"description": "The hostname of the database.",
"title": "Host",
"type": "string"
},
"port": {
"description": "Port of the database.",
"description": "The port of the database.",
"title": "Port",
"type": "integer",
"minimum": 0,
"maximum": 65536,
"examples": ["1433"]
},
"database": {
"description": "Name of the database.",
"description": "The name of the database.",
"title": "Database",
"type": "string",
"examples": ["master"]
},
"username": {
"description": "Username to use to access the database.",
"description": "The username which is used to access the database.",
"title": "Username",
"type": "string"
},
"password": {
"description": "Password associated with the username.",
"description": "The password associated with the username.",
"title": "Password",
"type": "string",
"airbyte_secret": true
},
"ssl_method": {
"title": "SSL Method",
"type": "object",
"description": "Encryption method to use when communicating with the database",
"description": "The encryption method which is used when communicating 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"],
"properties": {
"ssl_method": {
Expand All @@ -55,7 +60,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"],
"properties": {
"ssl_method": {
Expand All @@ -77,7 +82,7 @@
"replication_method": {
"type": "string",
"title": "Replication Method",
"description": "Replication method to use for extracting data from the database. STANDARD replication requires no setup on the DB side but will not be able to represent deletions incrementally. CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself.",
"description": "The replication method used for extracting data from the database. STANDARD replication requires no setup on the DB side but will not be able to represent deletions incrementally. CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself.",
"default": "STANDARD",
"enum": ["STANDARD", "CDC"]
}
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mssql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION source-mssql

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.3.11
LABEL io.airbyte.version=0.3.12
LABEL io.airbyte.name=airbyte/source-mssql
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,39 @@
"additionalProperties": false,
"properties": {
"host": {
"description": "Hostname of the database.",
"description": "The hostname of the database.",
"title": "Host",
"type": "string"
},
"port": {
"description": "Port of the database.",
"description": "The port of the database.",
"title": "Port",
"type": "integer",
"minimum": 0,
"maximum": 65536,
"examples": ["1433"]
},
"database": {
"description": "Name of the database.",
"description": "The name of the database.",
"title": "Database",
"type": "string",
"examples": ["master"]
},
"username": {
"description": "Username to use to access the database.",
"description": "The username which is used to access the database.",
"title": "Username",
"type": "string"
},
"password": {
"description": "Password associated with the username.",
"description": "The password associated with the username.",
"title": "Password",
"type": "string",
"airbyte_secret": true
},
"ssl_method": {
"title": "SSL Method",
"type": "object",
"description": "Encryption method to use when communicating with the database",
"description": "The encryption method which is used when communicating with the database.",
"order": 6,
"oneOf": [
{
Expand All @@ -55,7 +60,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"],
"properties": {
"ssl_method": {
Expand All @@ -69,7 +74,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"],
"properties": {
"ssl_method": {
Expand All @@ -91,7 +96,7 @@
"replication_method": {
"type": "string",
"title": "Replication Method",
"description": "Replication method to use for extracting data from the database. STANDARD replication requires no setup on the DB side but will not be able to represent deletions incrementally. CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself.",
"description": "The replication method used for extracting data from the database. STANDARD replication requires no setup on the DB side but will not be able to represent deletions incrementally. CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself.",
"default": "STANDARD",
"enum": ["STANDARD", "CDC"]
}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ If you do not see a type in this list, assume that it is coerced into a string.

| Version | Date | Pull Request | Subject | |
|:--------| :--- | :--- | :--- | :-- |
| 0.3.12 | 2021-12-30 | [9206](https://github.com/airbytehq/airbyte/pull/9206) | Update connector fields title/description |
| 0.3.11 | 2021-12-24 | [8958](https://github.com/airbytehq/airbyte/pull/8958) | Add support for JdbcType.ARRAY |
| 0.3.10 | 2021-12-01 | [8371](https://github.com/airbytehq/airbyte/pull/8371) | Fixed incorrect handling "\n" in ssh key | |
| 0.3.9 | 2021-11-09 | [7386](https://github.com/airbytehq/airbyte/pull/7386) | Improve support for binary and varbinary data types | |
Expand Down

0 comments on commit 74cb28e

Please sign in to comment.