From c1cc606e0ee4da73a49f4a459f1ba52d0ab471d3 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Sat, 11 Feb 2023 21:25:16 +0200 Subject: [PATCH 1/4] Source Sonar Cloud: Mark datefields in spec as dates --- airbyte-integrations/connectors/source-sonar-cloud/Dockerfile | 2 +- .../connectors/source-sonar-cloud/source_sonar_cloud/spec.yaml | 2 ++ docs/integrations/sources/sonar-cloud.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-sonar-cloud/Dockerfile b/airbyte-integrations/connectors/source-sonar-cloud/Dockerfile index 63228935dc97..30dc7d82ad7c 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/Dockerfile +++ b/airbyte-integrations/connectors/source-sonar-cloud/Dockerfile @@ -34,5 +34,5 @@ COPY source_sonar_cloud ./source_sonar_cloud ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.0 +LABEL io.airbyte.version=0.1.1 LABEL io.airbyte.name=airbyte/source-sonar-cloud diff --git a/airbyte-integrations/connectors/source-sonar-cloud/source_sonar_cloud/spec.yaml b/airbyte-integrations/connectors/source-sonar-cloud/source_sonar_cloud/spec.yaml index b58b244a3c78..981a06bad5d8 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/source_sonar_cloud/spec.yaml +++ b/airbyte-integrations/connectors/source-sonar-cloud/source_sonar_cloud/spec.yaml @@ -39,6 +39,7 @@ connectionSpecification: pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ examples: - YYYY-MM-DD + format: date end_date: title: End date type: string @@ -46,3 +47,4 @@ connectionSpecification: pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ examples: - YYYY-MM-DD + format: date diff --git a/docs/integrations/sources/sonar-cloud.md b/docs/integrations/sources/sonar-cloud.md index 4567ca2d3cbb..a0c027f21dc2 100644 --- a/docs/integrations/sources/sonar-cloud.md +++ b/docs/integrations/sources/sonar-cloud.md @@ -28,4 +28,5 @@ This source can sync data from the [Sonar cloud API](https://sonarcloud.io/web_a | Version | Date | Pull Request | Subject | | :------ | :--------- | :-------------------------------------------------------- | :----------------------------------------- | +| 0.1.1 | 2023-02-11 l [000000](https://github.com/airbytehq/airbyte/pull/00000) | Specified date formatting in specification | | 0.1.0 | 2022-10-26 | [#18475](https://github.com/airbytehq/airbyte/pull/18475) | 🎉 New Source: Sonar Cloud API [low-code CDK] | \ No newline at end of file From ade606bea7225c8dc9afcaa2974d837c009c711c Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Sat, 11 Feb 2023 21:27:18 +0200 Subject: [PATCH 2/4] Update changelog --- docs/integrations/sources/sonar-cloud.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/sources/sonar-cloud.md b/docs/integrations/sources/sonar-cloud.md index a0c027f21dc2..d86af64ec57a 100644 --- a/docs/integrations/sources/sonar-cloud.md +++ b/docs/integrations/sources/sonar-cloud.md @@ -28,5 +28,5 @@ This source can sync data from the [Sonar cloud API](https://sonarcloud.io/web_a | Version | Date | Pull Request | Subject | | :------ | :--------- | :-------------------------------------------------------- | :----------------------------------------- | -| 0.1.1 | 2023-02-11 l [000000](https://github.com/airbytehq/airbyte/pull/00000) | Specified date formatting in specification | +| 0.1.1 | 2023-02-11 l [22868](https://github.com/airbytehq/airbyte/pull/22868) | Specified date formatting in specification | | 0.1.0 | 2022-10-26 | [#18475](https://github.com/airbytehq/airbyte/pull/18475) | 🎉 New Source: Sonar Cloud API [low-code CDK] | \ No newline at end of file From ce96504790b90642a17417cf9cc8fab88daccc64 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Mon, 20 Feb 2023 11:46:37 +0200 Subject: [PATCH 3/4] Add allowedHosts --- .../init/src/main/resources/seed/source_definitions.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 8c3a15e0399b..c5ba98959e91 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -1706,6 +1706,9 @@ icon: sonarcloud.svg sourceType: api releaseStage: alpha + allowedHosts: + hosts: + - sonarcloud.io - name: SpaceX API sourceDefinitionId: 62235e65-af7a-4138-9130-0bda954eb6a8 dockerRepository: airbyte/source-spacex-api From 094b4015f03aa0d1e2b1b6032fa612c16f0909f3 Mon Sep 17 00:00:00 2001 From: Octavia Squidington III Date: Mon, 27 Feb 2023 11:55:11 +0000 Subject: [PATCH 4/4] auto-bump connector version --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 4 +++- connectors.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index c4c972600ea6..c8e637b01fc8 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -1756,7 +1756,7 @@ - name: Sonar Cloud sourceDefinitionId: 3ab1d7d0-1577-4ab9-bcc4-1ff6a4c2c9f2 dockerRepository: airbyte/source-sonar-cloud - dockerImageTag: 0.1.0 + dockerImageTag: 0.1.1 documentationUrl: https://docs.airbyte.com/integrations/sources/sonar-cloud icon: sonarcloud.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 1c0a7852bd77..1c514507fa3d 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -14164,7 +14164,7 @@ path_in_connector_config: - "credentials" - "client_secret" -- dockerImage: "airbyte/source-sonar-cloud:0.1.0" +- dockerImage: "airbyte/source-sonar-cloud:0.1.1" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/sonar-cloud" connectionSpecification: @@ -14204,6 +14204,7 @@ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" examples: - "YYYY-MM-DD" + format: "date" end_date: title: "End date" type: "string" @@ -14211,6 +14212,7 @@ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" examples: - "YYYY-MM-DD" + format: "date" supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] diff --git a/connectors.md b/connectors.md index a9e7ebcd4f6a..2edeb465399e 100644 --- a/connectors.md +++ b/connectors.md @@ -217,7 +217,7 @@ | **Smartsheets** | Smartsheets icon | Source | airbyte/source-smartsheets:0.1.14 | beta | [link](https://docs.airbyte.com/integrations/sources/smartsheets) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-smartsheets) | `374ebc65-6636-4ea0-925c-7d35999a8ffc` | | **Snapchat Marketing** | Snapchat Marketing icon | Source | airbyte/source-snapchat-marketing:0.1.14 | generally_available | [link](https://docs.airbyte.com/integrations/sources/snapchat-marketing) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-snapchat-marketing) | `200330b2-ea62-4d11-ac6d-cfe3e3f8ab2b` | | **Snowflake** | Snowflake icon | Source | airbyte/source-snowflake:0.1.30 | alpha | [link](https://docs.airbyte.com/integrations/sources/snowflake) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-snowflake) | `e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2` | -| **Sonar Cloud** | Sonar Cloud icon | Source | airbyte/source-sonar-cloud:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/sonar-cloud) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-sonar-cloud) | `3ab1d7d0-1577-4ab9-bcc4-1ff6a4c2c9f2` | +| **Sonar Cloud** | Sonar Cloud icon | Source | airbyte/source-sonar-cloud:0.1.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/sonar-cloud) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-sonar-cloud) | `3ab1d7d0-1577-4ab9-bcc4-1ff6a4c2c9f2` | | **SpaceX API** | SpaceX API icon | Source | airbyte/source-spacex-api:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/spacex-api) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-spacex-api) | `62235e65-af7a-4138-9130-0bda954eb6a8` | | **Square** | Square icon | Source | airbyte/source-square:0.2.0 | beta | [link](https://docs.airbyte.com/integrations/sources/square) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-square) | `77225a51-cd15-4a13-af02-65816bd0ecf4` | | **Statuspage** | Statuspage icon | Source | airbyte/source-statuspage:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/statuspage) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-statuspage) | `74cbd708-46c3-4512-9c93-abd5c3e9a94d` |