Skip to content

Source Tempo: migrate to lowcode + certify to beta #18936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1241,11 +1241,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 @@ -12215,7 +12215,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