Skip to content

Commit

Permalink
Source freshdesk - fix schema (#19496)
Browse files Browse the repository at this point in the history
* #1038 source freshdesk - fix schema

* #1038 source freshdesk: upd changelog

* #1038 source freshdesk - remove temp file

* #1038 source freshdesk: fix tests

* #1038 source freshdesk: update expected records again

* #1038 source freshdesk: rm unstable expected record

* #1038 source freshdesk: edit another expected record

* #1038 source freshdesk: edit another expected record

* #1038 source freshdesk: fix expected records

* #1038 source freshdesk: upd expected_records

* #1038 source freshdesk: resolve dependency conflict

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
davydov-d and octavia-squidington-iii authored Nov 30, 2022
1 parent f11507b commit fa8ea96
Show file tree
Hide file tree
Showing 10 changed files with 186 additions and 111 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
- name: Freshdesk
sourceDefinitionId: ec4b9503-13cb-48ab-a4ab-6ade4be46567
dockerRepository: airbyte/source-freshdesk
dockerImageTag: 0.3.8
dockerImageTag: 1.0.0
documentationUrl: https://docs.airbyte.com/integrations/sources/freshdesk
icon: freshdesk.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4261,7 +4261,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-freshdesk:0.3.8"
- dockerImage: "airbyte/source-freshdesk:1.0.0"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/freshdesk"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_freshdesk ./source_freshdesk
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.8
LABEL io.airbyte.version=1.0.0
LABEL io.airbyte.name=airbyte/source-freshdesk
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference)
# for more information about how to configure these tests
connector_image: airbyte/source-freshdesk:dev
tests:
test_strictness_level: high
acceptance_tests:
spec:
- spec_path: "source_freshdesk/spec.json"
tests:
- spec_path: "source_freshdesk/spec.json"
connection:
- config_path: "secrets/config.json"
status: "succeed"
- config_path: "integration_tests/invalid_config.json"
status: "failed"
tests:
- config_path: "secrets/config.json"
status: "succeed"
- config_path: "integration_tests/invalid_config.json"
status: "failed"
discovery:
- config_path: "secrets/config.json"
# please remove the backward_capability checks bypass, once updated to the newer version
backward_compatibility_tests_config:
disable_for_version: "0.3.4"
tests:
- config_path: "secrets/config.json"
# please remove the backward_capability checks bypass, once updated to the newer version
backward_compatibility_tests_config:
disable_for_version: "0.3.8"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams: ["satisfaction_ratings", "tickets", "time_entries", "conversations", "scenario_automations"]
tests:
- config_path: "secrets/config.json"
expect_records:
path: "integration_tests/expected_records.txt"
timeout_seconds: 600
incremental:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state_path: "integration_tests/abnormal_state.json"
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/incremental_catalog.json"
future_state:
future_state_path: "integration_tests/abnormal_state.json"
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
[
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "agents"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "companies"
}
}
},
{
"type": "STREAM",
"stream": {
Expand All @@ -32,39 +10,6 @@
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "conversations"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "groups"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "roles"
}
}
},
{
"type": "STREAM",
"stream": {
Expand All @@ -76,28 +21,6 @@
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "skills"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "surveys"
}
}
},
{
"type": "STREAM",
"stream": {
Expand All @@ -108,16 +31,5 @@
"name": "tickets"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"updated_at": "2121-11-01T00:00:00Z"
},
"stream_descriptor": {
"name": "time_entries"
}
}
}
]
Loading

0 comments on commit fa8ea96

Please sign in to comment.