From 46b2188fe05d149adf4be4a2378363ee07aa95ff Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Fri, 14 Jun 2024 23:36:32 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BSource=20Close.com:=20format=20sour?= =?UTF-8?q?ce,=20delete=20requirements.txt,=20change=20spec=20from=20json?= =?UTF-8?q?=20to=20yaml=20(#39477)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../acceptance-test-config.yml | 2 +- .../connectors/source-close-com/metadata.yaml | 2 +- .../source-close-com/pyproject.toml | 2 +- .../source-close-com/requirements.txt | 2 -- .../source_close_com/spec.json | 27 ------------------- .../source_close_com/spec.yaml | 26 ++++++++++++++++++ docs/integrations/sources/close-com.md | 3 ++- 7 files changed, 31 insertions(+), 33 deletions(-) delete mode 100644 airbyte-integrations/connectors/source-close-com/requirements.txt delete mode 100644 airbyte-integrations/connectors/source-close-com/source_close_com/spec.json create mode 100644 airbyte-integrations/connectors/source-close-com/source_close_com/spec.yaml diff --git a/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml b/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml index 41c2635332b7..6403d41a3f5a 100644 --- a/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml @@ -4,7 +4,7 @@ connector_image: airbyte/source-close-com:dev acceptance_tests: spec: tests: - - spec_path: "source_close_com/spec.json" + - spec_path: "source_close_com/spec.yaml" connection: tests: - config_path: "secrets/config.json" diff --git a/airbyte-integrations/connectors/source-close-com/metadata.yaml b/airbyte-integrations/connectors/source-close-com/metadata.yaml index 4090d7c875b7..4e0b095156d0 100644 --- a/airbyte-integrations/connectors/source-close-com/metadata.yaml +++ b/airbyte-integrations/connectors/source-close-com/metadata.yaml @@ -8,7 +8,7 @@ data: connectorSubtype: api connectorType: source definitionId: dfffecb7-9a13-43e9-acdc-b92af7997ca9 - dockerImageTag: 0.5.1 + dockerImageTag: 0.5.2 dockerRepository: airbyte/source-close-com documentationUrl: https://docs.airbyte.com/integrations/sources/close-com githubIssueLabel: source-close-com diff --git a/airbyte-integrations/connectors/source-close-com/pyproject.toml b/airbyte-integrations/connectors/source-close-com/pyproject.toml index 1f9a63e93397..f3f95c4975bc 100644 --- a/airbyte-integrations/connectors/source-close-com/pyproject.toml +++ b/airbyte-integrations/connectors/source-close-com/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] build-backend = "poetry.core.masonry.api" [tool.poetry] -version = "0.5.1" +version = "0.5.2" name = "source-close-com" description = "Source implementation for Close.com." authors = [ "Airbyte ",] diff --git a/airbyte-integrations/connectors/source-close-com/requirements.txt b/airbyte-integrations/connectors/source-close-com/requirements.txt deleted file mode 100644 index 7b9114ed5867..000000000000 --- a/airbyte-integrations/connectors/source-close-com/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -# This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e . diff --git a/airbyte-integrations/connectors/source-close-com/source_close_com/spec.json b/airbyte-integrations/connectors/source-close-com/source_close_com/spec.json deleted file mode 100644 index 7fd1ceddad2a..000000000000 --- a/airbyte-integrations/connectors/source-close-com/source_close_com/spec.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "documentationUrl": "https://docs.airbyte.com/integrations/sources/close-com", - "connectionSpecification": { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Close.com Spec", - "type": "object", - "required": ["api_key"], - "additionalProperties": true, - "properties": { - "api_key": { - "title": "API Key", - "type": "string", - "description": "Close.com API key (usually starts with 'api_'; find yours here).", - "airbyte_secret": true - }, - "start_date": { - "title": "Replication Start Date", - "type": "string", - "description": "The start date to sync data; all data after this date will be replicated. Leave blank to retrieve all the data available in the account. Format: YYYY-MM-DD.", - "examples": ["2021-01-01"], - "default": "2021-01-01", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$", - "format": "date" - } - } - } -} diff --git a/airbyte-integrations/connectors/source-close-com/source_close_com/spec.yaml b/airbyte-integrations/connectors/source-close-com/source_close_com/spec.yaml new file mode 100644 index 000000000000..fb5dd572394e --- /dev/null +++ b/airbyte-integrations/connectors/source-close-com/source_close_com/spec.yaml @@ -0,0 +1,26 @@ +documentationUrl: https://docs.airbyte.com/integrations/sources/close-com +connectionSpecification: + $schema: http://json-schema.org/draft-07/schema# + title: Close.com Spec + type: object + required: + - api_key + additionalProperties: true + properties: + api_key: + title: API Key + type: string + description: Close.com API key (usually starts with 'api_'; find yours here). + airbyte_secret: true + start_date: + title: Replication Start Date + type: string + description: + "The start date to sync data; all data after this date will be + replicated. Leave blank to retrieve all the data available in the account. + Format: YYYY-MM-DD." + examples: + - "2021-01-01" + default: "2021-01-01" + pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" + format: date diff --git a/docs/integrations/sources/close-com.md b/docs/integrations/sources/close-com.md index 373ab8b7e12d..7f3c0ced454e 100644 --- a/docs/integrations/sources/close-com.md +++ b/docs/integrations/sources/close-com.md @@ -109,7 +109,8 @@ The Close.com connector is subject to rate limits. For more information on this | Version | Date | Pull Request | Subject | | :------ | :--------- | :------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- | -| 0.5.1 | 2024-05-20 | [38391](https://github.com/airbytehq/airbyte/pull/38391) | [autopull] base image + poetry + up_to_date | +| 0.5.2 | 2024-06-15 | [39477](https://github.com/airbytehq/airbyte/pull/39477) | Format source, delete requirements.txt | +| 0.5.1 | 2024-05-20 | [38391](https://github.com/airbytehq/airbyte/pull/38391) | [autopull] base image + poetry + up_to_date | | 0.5.0 | 2023-11-30 | [32984](https://github.com/airbytehq/airbyte/pull/32984) | Add support for custom fields | | 0.4.3 | 2023-10-28 | [31534](https://github.com/airbytehq/airbyte/pull/31534) | Fixed Email Activities Stream Pagination | | 0.4.2 | 2023-08-08 | [29206](https://github.com/airbytehq/airbyte/pull/29206) | Fixed the issue with `DatePicker` format for `start date` |