* adding new source connector Commercetools * adding new source connector Commercetools * quick fix * quick config * changes * format files * add ci credentials run * correct bin creds * add publish cmd * add spec host enum * correct itnegration tests * run seed file Co-authored-by: jsewawilson <jwilson@pebblepost.com> Co-authored-by: Marcos Marx <marcosmarxm@gmail.com>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"documentationUrl": "https://docs.airbyte.io/integrations/sources/commercetools",
|
|
"connectionSpecification": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Commercetools Source CDK Specifications",
|
|
"type": "object",
|
|
"required": [
|
|
"region",
|
|
"start_date",
|
|
"host",
|
|
"project_key",
|
|
"client_id",
|
|
"client_secret"
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"region": {
|
|
"type": "string",
|
|
"description": "The region of the platform.",
|
|
"examples": ["us-central1", "australia-southeast1"]
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"enum": ["gcp", "aws"],
|
|
"description": "The cloud provider your shop is hosted. See: https://docs.commercetools.com/api/authorization"
|
|
},
|
|
"start_date": {
|
|
"type": "string",
|
|
"description": "The date you would like to replicate data. Format: YYYY-MM-DD.",
|
|
"examples": ["2021-01-01"],
|
|
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
},
|
|
"project_key": {
|
|
"type": "string",
|
|
"description": "The project key"
|
|
},
|
|
"client_id": {
|
|
"type": "string",
|
|
"description": "Id of API Client.",
|
|
"airbyte_secret": true
|
|
},
|
|
"client_secret": {
|
|
"type": "string",
|
|
"description": "The password of secret of API Client.",
|
|
"airbyte_secret": true
|
|
}
|
|
}
|
|
}
|
|
}
|