Skip to content

Commit

Permalink
fix chargify schema and spec (#29218)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm authored Aug 8, 2023
1 parent 4f670d2 commit d2a5537
Show file tree
Hide file tree
Showing 7 changed files with 221 additions and 215 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-chargify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_chargify ./source_chargify
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.2.0
LABEL io.airbyte.name=airbyte/source-chargify
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ connector_image: airbyte/source-chargify:dev
tests:
spec:
- spec_path: "source_chargify/spec.json"
backward_compatibility_tests_config:
disable_for_version: "0.1.0"
connection:
- config_path: "secrets/config.json"
status: "succeed"
- config_path: "integration_tests/invalid_config.json"
status: "failed"
discovery:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "0.1.0"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 9b2d3607-7222-4709-9fa2-c2abdebbdd88
dockerImageTag: 0.1.0
dockerImageTag: 0.2.0
dockerRepository: airbyte/source-chargify
githubIssueLabel: source-chargify
icon: chargify.svg
Expand Down
Original file line number Diff line number Diff line change
@@ -1,58 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"portal_invite_last_sent_at",
"email",
"created_at",
"zip",
"first_name",
"state",
"city",
"portal_customer_created_at",
"updated_at",
"country",
"tax_exempt",
"id",
"last_name",
"address_2",
"phone",
"organization",
"address",
"cc_emails"
],
"additionalProperties": true,
"properties": {
"default_subscription_group_uid": {
"type": ["null", "string"]
},
"portal_invite_last_sent_at": {
"type": "string",
"type": ["null", "string"],
"format": "date-time"
},
"vat_number": {
"type": ["null", "string"]
},
"email": {
"type": "string"
"type": ["null", "string"]
},
"created_at": {
"type": "string",
"type": ["null", "string"],
"format": "date-time"
},
"zip": {
"type": "string"
"type": ["null", "string"]
},
"first_name": {
"type": "string"
"type": ["null", "string"]
},
"country_name": {
"type": ["null", "string"]
},
"state": {
"type": "string"
"type": ["null", "string"]
},
"city": {
"type": "string"
"type": ["null", "string"]
},
"parent_id": {
"type": ["null", "integer"]
Expand All @@ -61,47 +42,47 @@
"type": ["null", "string"]
},
"portal_customer_created_at": {
"type": "string"
"type": ["null", "string"]
},
"updated_at": {
"type": "string",
"type": ["null", "string"],
"format": "date-time"
},
"country": {
"type": "string"
"type": ["null", "string"]
},
"portal_invite_last_accepted_at": {
"type": ["null", "string"]
},
"tax_exempt": {
"type": "boolean"
"type": ["null", "boolean"]
},
"id": {
"type": "integer"
"type": ["null", "integer"]
},
"reference": {
"type": ["null", "string"]
},
"last_name": {
"type": "string"
"type": ["null", "string"]
},
"address_2": {
"type": "string"
"type": ["null", "string"]
},
"phone": {
"type": "string"
"type": ["null", "string"]
},
"organization": {
"type": "string"
"type": ["null", "string"]
},
"address": {
"type": "string"
"type": ["null", "string"]
},
"verified": {
"type": ["null", "string"]
},
"cc_emails": {
"type": "string"
"type": ["null", "string"]
},
"state_name": {
"type": ["null", "string"]
Expand Down
Loading

0 comments on commit d2a5537

Please sign in to comment.