Skip to content

Commit

Permalink
Source Tempo: migrate to lowcode + certify to beta (#18936)
Browse files Browse the repository at this point in the history
* #18682 source tempo: migrate to lowcode + certify to beta

* #18936 source tempo: upd changelog

* #18682 source tempo: fix yaml

* #18682 source tempo: rm redundant config

* 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 14, 2022
1 parent ebeef48 commit 8ff8bec
Show file tree
Hide file tree
Showing 15 changed files with 547 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1454,11 +1454,11 @@
- name: Tempo
sourceDefinitionId: d1aa448b-7c54-498e-ad95-263cbebcd2db
dockerRepository: airbyte/source-tempo
dockerImageTag: 0.2.6
dockerImageTag: 0.3.0
documentationUrl: https://docs.airbyte.com/integrations/sources/tempo
icon: tempo.svg
sourceType: api
releaseStage: alpha
releaseStage: beta
- name: TiDB
sourceDefinitionId: 0dad1a35-ccf8-4d03-b73e-6788c00b13ae
dockerRepository: airbyte/source-tidb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13552,7 +13552,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-tempo:0.2.6"
- dockerImage: "airbyte/source-tempo:0.3.0"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/"
connectionSpecification:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-tempo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_tempo ./source_tempo
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.6
LABEL io.airbyte.version=0.3.0
LABEL io.airbyte.name=airbyte/source-tempo
Original file line number Diff line number Diff line change
@@ -1,19 +1,40 @@
# 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-tempo:dev
tests:
acceptance_tests:
spec:
- spec_path: "source_tempo/spec.json"
tests:
- spec_path: "source_tempo/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"
tests:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "0.2.6"
basic_read:
- 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"
expect_records:
path: "integration_tests/expected_records.txt"
- config_path: "secrets/accounts_only_config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams:
- name: "worklogs"
bypass_reason: "token scope does not include this stream"
- name: "workload-schemes"
bypass_reason: "token scope does not include this stream"
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"
incremental:
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state_path: "integration_tests/abnormal_state.json"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"type": "STREAM",
"stream": {
"stream_state": { "startDate": "2031-04-14" },
"stream_descriptor": { "name": "worklogs" }
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,47 @@
"stream": {
"name": "accounts",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"primary_key": [["id"]],
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "customers",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"primary_key": [["id"]],
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "workload-schemes",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"primary_key": [["id"]],
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "worklogs",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startDate"],
"source_defined_primary_key": [["tempoWorklogId"]]
},
"sync_mode": "full_refresh",
"primary_key": [["tempoWorklogId"]],
"cursor_field": ["startDate"],
"sync_mode": "incremental",
"destination_sync_mode": "overwrite"
}
]
Expand Down
Loading

0 comments on commit 8ff8bec

Please sign in to comment.