Skip to content

Commit

Permalink
fix: remove changes to formatting for other connectors (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
sajarin committed Dec 4, 2022
1 parent 46ec9e0 commit b5b60c2
Show file tree
Hide file tree
Showing 24 changed files with 1,760 additions and 2,172 deletions.
8 changes: 8 additions & 0 deletions airbyte-integrations/connectors/source-rki-covid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Germany:
6. /germany/history/recovered/:days
7. /germany/history/frozen-incidence/:days
8. /germany/history/hospitalization/:days
9. /germany/states
10. /germany/states/age-groups
11. /germany/states/history/cases/:days
12. /germany/states/history/incidence/:days
13. /germany/states/history/frozen-incidence/:days
14. /germany/states/history/deaths/:days
15. /germany/states/history/recovered/:days
16. /germany/states/history/hospitalization/:days
```

### Prerequisites
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests:
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams: [ "germany", "germany_age_groups", "german_history_frozen_incidence"]
empty_streams: [ "germany", "germany_age_groups", "german_history_frozen_incidence", "germany_states_age_groups"]
# TODO uncomment this block to specify that the tests should assert the connector outputs the records provided in the input file a file
# expect_records:
# path: "integration_tests/expected_records.txt"
Expand Down
12 changes: 12 additions & 0 deletions airbyte-integrations/connectors/source-rki-covid/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ For production, every developer application can view multiple streams.
* [Provides frozen incidence in Germany over days.](https://api.corona-zahlen.org/germany/germany/history/frozen-incidence/:days) \(Incremental\)
* [Provides hospitalization rate in Germany over days.](https://api.corona-zahlen.org/germany/germany/history/hospitalization/:days) \(Incremental\)

## Cases In States Of Germany Covid api stream
The basic entry stream is 'GermanyStates'. All other streams are extended version of base stream and passing parameters also result in sliced data.
For production, every developer application can view multiple streams.

## Endpoints
* [Provides covid cases and other information in Germany.](https://api.corona-zahlen.org/state) \(Non-Incremental\ Entry-Stream)
* [Provides covid cases and other information in Germany, group by age.](https://api.corona-zahlen.org/states/age-groupss) \(Non-Incremental\)
* [Provides cases in Germany based on days.](https://api.corona-zahlen.org/germany/states/history/cases/:days) \(Non-Incremental\)
* [Provides incidence rate of covid in Germany based on days.](https://api.corona-zahlen.org/germany/states/history/incidence/:days) \(Non-Incremental\)
* [Provides death rate in Germany over days](https://api.corona-zahlen.org/germany/states/history/deaths/:days) \(Non-Incremental\)
* [Provides recovery rate in Germany over days.](https://api.corona-zahlen.org/germany/states/history/recovered/:days) \(Non-Incremental\)
* [Provides frozen incidence in Germany over days.](https://api.corona-zahlen.org/germany/states/history/frozen-incidence/:days) \(Non-Incremental\)
* [Provides hospitalization rate in Germany over days.](https://api.corona-zahlen.org/germany/states/history/hospitalization/:days) \(Non-Incremental\)

Incremental streams have required parameter start-date. Without passing start-date as parameter full-refresh occurs.
As cursor field this connector uses "date".
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,29 @@
},
"german_history_frozen_incidence": {
"date": "2024-01-01T00:00:00.000Z"
},
"germany_states": {
"date": "2024-01-01T00:00:00.000Z"
},
"germany_states_age_groups": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_cases": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_incidence": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_frozen_incidence": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_deaths": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_recovered": {
"date": "2024-01-01T00:00:00.000Z"
},
"states_history_hospitalization": {
"date": "2024-01-01T00:00:00.000Z"
}
}
Loading

0 comments on commit b5b60c2

Please sign in to comment.