Skip to content

Commit

Permalink
✨ Source Sentry: migrate to low code (#35755)
Browse files Browse the repository at this point in the history
  • Loading branch information
darynaishchenko authored Mar 28, 2024
1 parent 2b2f7ef commit ca6d722
Show file tree
Hide file tree
Showing 22 changed files with 676 additions and 526 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-sentry/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[run]
omit =
omit =
source_sentry/run.py
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ See `sample_files/sample_config.json` for a sample config file.
poetry run source-sentry spec
poetry run source-sentry check --config secrets/config.json
poetry run source-sentry discover --config secrets/config.json
poetry run source-sentry read --config secrets/config.json --catalog sample_files/configured_catalog.json
poetry run source-sentry read --config secrets/config.json --catalog integration_tests/configured_catalog.json
```

### Running unit tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ acceptance_tests:
- config_path: secrets/config.json
empty_streams:
- name: issues
bypass_reason: "Project sssues are not being returned by the Sentry API."
bypass_reason: "Project issues are not being returned by the Sentry API."
- name: events
bypass_reason: "No event records exist for the test project."
timeout_seconds: 1200
Expand All @@ -22,10 +22,10 @@ acceptance_tests:
full_refresh:
tests:
- config_path: secrets/config.json
configured_catalog_path: integration_tests/configured_catalog.json
configured_catalog_path: integration_tests/configured_catalog_full_refresh.json
# test 403 exception is not breaking the sync
- config_path: secrets/config_limited_scopes.json
configured_catalog_path: integration_tests/configured_catalog.json
configured_catalog_path: integration_tests/configured_catalog_full_refresh.json
incremental:
tests:
- config_path: secrets/config.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"streams": [
{
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite",
"stream": {
"name": "project_detail",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
}
},
{
"sync_mode": "incremental",
"destination_sync_mode": "append_dedup",
"stream": {
"name": "projects",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"]
}
},
{
"sync_mode": "incremental",
"destination_sync_mode": "append_dedup",
"stream": {
"name": "releases",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"]
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: cdaf146a-9b75-49fd-9dd2-9d64a0bb4781
dockerImageTag: 0.4.2
dockerImageTag: 0.5.0
dockerRepository: airbyte/source-sentry
documentationUrl: https://docs.airbyte.com/integrations/sources/sentry
githubIssueLabel: source-sentry
Expand Down
41 changes: 19 additions & 22 deletions airbyte-integrations/connectors/source-sentry/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.4.2"
version = "0.5.0"
name = "source-sentry"
description = "Source implementation for Sentry."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand Down
Loading

0 comments on commit ca6d722

Please sign in to comment.