Skip to content

Commit

Permalink
Source Orbit: fix schemas and CI tests (#31747)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm committed Oct 23, 2023
1 parent b35a2b2 commit 8122e03
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 27 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-orbit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_orbit ./source_orbit
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.name=airbyte/source-orbit
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference)
# for more information about how to configure these tests
connector_image: airbyte/source-orbit:dev
test_strictness_level: low
tests:
spec:
- spec_path: "source_orbit/spec.yaml"
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-orbit/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 95bcc041-1d1a-4c2e-8802-0ca5b1bfa36a
dockerImageTag: 0.1.1
dockerImageTag: 0.2.0
dockerRepository: airbyte/source-orbit
githubIssueLabel: source-orbit
icon: orbit.svg
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
"type": ["null", "string"]
},
"fake": {
"type": "string"
"type": ["null", "string"]
},
"type": {
"type": "string"
"type": ["null", "string"]
},
"attributes": {
"type": "object",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"activities_count": {
"type": "integer"
"type": ["null", "integer"]
},
"activities_score": {
"type": "integer"
"type": ["null", "number"]
},
"avatar_url": {
"type": ["null", "string"]
Expand Down Expand Up @@ -71,13 +73,13 @@
"tag_list": {
"type": ["null", "array"],
"items": {
"type": "string"
"type": ["null", "string"]
}
},
"tags": {
"type": ["null", "array"],
"items": {
"type": "string"
"type": ["null", "string"]
}
},
"teammate": {
Expand All @@ -99,10 +101,10 @@
"type": ["null", "string"]
},
"created": {
"type": "boolean"
"type": ["null", "boolean"]
},
"id": {
"type": "string"
"type": ["null", "string"]
},
"orbit_level": {
"type": ["null", "integer"]
Expand Down Expand Up @@ -140,16 +142,21 @@
"topics": {
"type": ["null", "array"],
"items": {
"type": "string"
"type": ["null", "string"]
}
},
"languages": {
"type": ["null", "array"],
"items": {
"type": "string"
"type": ["null", "string"]
}
}
}
},
"relationships": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,45 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
"type": ["null", "string"]
},
"type": {
"type": "string"
"type": ["null", "string"]
},
"relationships": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
},
"attributes": {
"type": "object",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
"type": ["null", "string"]
},
"slug": {
"type": "string"
"type": ["null", "string"]
},
"updated_at": {
"type": "string"
"type": ["null", "string"]
},
"created_at": {
"type": "string"
"type": ["null", "string"]
},
"members_count": {
"type": "integer"
"type": ["null", "integer"]
},
"activities_count": {
"type": "integer"
"type": ["null", "integer"]
},
"tags": {
"type": "object"
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ connectionSpecification:
required:
- api_token
- workspace
additionalProperties: false
additionalProperties: true
properties:
api_token:
type: string
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/orbit.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ The Orbit API Key should be available to you immediately as an Orbit user.

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.2.0 | 2023-10-23 | [14208](https://github.com/airbytehq/airbyte/pull/14208) | Update schema |
| 0.1.1 | 2022-06-28 | [14208](https://github.com/airbytehq/airbyte/pull/14208) | Remove unused schema |
| 0.1.0 | 2022-06-27 | [13390](https://github.com/airbytehq/airbyte/pull/13390) | Initial Release |

0 comments on commit 8122e03

Please sign in to comment.