Skip to content

Commit

Permalink
馃帀 New Source: Teradata (airbytehq#24221)
Browse files Browse the repository at this point in the history
* add teradata template

* add teradata environment client

* add teradata source connector

* add docs

* fix lowercase letter

* fix compilation error & config test

* fix timestamp

* generate seed

---------

Co-authored-by: Prateek Mukhedkar <123108018+prateekmukhedkar@users.noreply.github.com>
  • Loading branch information
2 people authored and btkcodedev committed Apr 26, 2023
1 parent 9f05a27 commit 7fc4bd8
Show file tree
Hide file tree
Showing 28 changed files with 1,776 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2061,6 +2061,17 @@
allowedHosts:
hosts:
- api.tempo.io
- name: Teradata
sourceDefinitionId: aa8ba6fd-4875-d94e-fc8d-4e1e09aa2503
dockerRepository: airbyte/source-teradata
dockerImageTag: 0.1.0
documentationUrl: https://docs.airbyte.com/integrations/sources/teradata
icon: teradata.svg
sourceType: database
releaseStage: alpha
allowedHosts:
hosts:
- "${host}"
- name: TiDB
sourceDefinitionId: 0dad1a35-ccf8-4d03-b73e-6788c00b13ae
dockerRepository: airbyte/source-tidb
Expand Down
174 changes: 174 additions & 0 deletions airbyte-config-oss/init-oss/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15429,6 +15429,180 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-teradata:0.1.0"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/teradata"
connectionSpecification:
$schema: "http://json-schema.org/draft-07/schema#"
title: "Teradata Source Spec"
type: "object"
required:
- "host"
- "database"
- "username"
properties:
host:
title: "Host"
description: "Hostname of the database."
type: "string"
order: 0
port:
title: "Port"
description: "Port of the database."
type: "integer"
minimum: 0
maximum: 65536
default: 3306
examples:
- "3306"
order: 1
database:
title: "Database"
description: "Name of the database."
type: "string"
order: 2
username:
title: "Username"
description: "Username to use to access the database."
type: "string"
order: 3
password:
title: "Password"
description: "Password associated with the username."
type: "string"
airbyte_secret: true
order: 4
jdbc_url_params:
title: "JDBC URL params"
description: "Additional properties to pass to the JDBC URL string when\
\ connecting to the database formatted as 'key=value' pairs separated\
\ by the symbol '&'. (example: key1=value1&key2=value2&key3=value3)"
type: "string"
order: 5
replication_method:
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 the Binlog to detect\
\ inserts, updates, and deletes. This needs to be configured on the source\
\ database itself."
type: "string"
order: 6
default: "STANDARD"
enum:
- "STANDARD"
- "CDC"
ssl:
title: "SSL Connection"
description: "Encrypt data using SSL. When activating SSL, please select\
\ one of the connection modes."
type: "boolean"
default: false
order: 7
ssl_mode:
title: "SSL Modes"
description: "SSL connection modes. \n <b>disable</b> - Chose this mode\
\ to disable encryption of communication between Airbyte and destination\
\ database\n <b>allow</b> - Chose this mode to enable encryption only\
\ when required by the destination database\n <b>prefer</b> - Chose this\
\ mode to allow unencrypted connection only if the destination database\
\ does not support encryption\n <b>require</b> - Chose this mode to always\
\ require encryption. If the destination database server does not support\
\ encryption, connection will fail\n <b>verify-ca</b> - Chose this mode\
\ to always require encryption and to verify that the destination database\
\ server has a valid SSL certificate\n <b>verify-full</b> - This is the\
\ most secure mode. Chose this mode to always require encryption and to\
\ verify the identity of the destination database server\n See more information\
\ - <a href=\"https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_2.html#URL_SSLMODE\"\
> in the docs</a>."
type: "object"
order: 8
oneOf:
- title: "disable"
additionalProperties: true
description: "Disable SSL."
required:
- "mode"
properties:
mode:
type: "string"
const: "disable"
order: 0
- title: "allow"
additionalProperties: true
description: "Allow SSL mode."
required:
- "mode"
properties:
mode:
type: "string"
const: "allow"
order: 0
- title: "prefer"
additionalProperties: true
description: "Prefer SSL mode."
required:
- "mode"
properties:
mode:
type: "string"
const: "prefer"
order: 0
- title: "require"
additionalProperties: true
description: "Require SSL mode."
required:
- "mode"
properties:
mode:
type: "string"
const: "require"
order: 0
- title: "verify-ca"
additionalProperties: true
description: "Verify-ca SSL mode."
required:
- "mode"
- "ssl_ca_certificate"
properties:
mode:
type: "string"
const: "verify-ca"
order: 0
ssl_ca_certificate:
type: "string"
title: "CA certificate"
description: "Specifies the file name of a PEM file that contains\
\ Certificate Authority (CA) certificates for use with SSLMODE=verify-ca.\n\
\ See more information - <a href=\"https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_2.html#URL_SSLCA\"\
> in the docs</a>."
airbyte_secret: true
multiline: true
order: 1
- title: "verify-full"
additionalProperties: true
description: "Verify-full SSL mode."
required:
- "mode"
- "ssl_ca_certificate"
properties:
mode:
type: "string"
const: "verify-full"
order: 0
ssl_ca_certificate:
type: "string"
title: "CA certificate"
description: "Specifies the file name of a PEM file that contains\
\ Certificate Authority (CA) certificates for use with SSLMODE=verify-full.\n\
\ See more information - <a href=\"https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_2.html#URL_SSLCA\"\
> in the docs</a>."
airbyte_secret: true
multiline: true
order: 1
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-tidb:0.2.4"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/tidb"
Expand Down
Loading

0 comments on commit 7fc4bd8

Please sign in to comment.