Skip to content

Commit

Permalink
Update source-exchange-rates connector (#3566)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zirochkaa committed May 26, 2021
1 parent c9a6c1e commit 5aa0364
Show file tree
Hide file tree
Showing 16 changed files with 917 additions and 75 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
BIGQUERY_INTEGRATION_TEST_CREDS: ${{ secrets.BIGQUERY_INTEGRATION_TEST_CREDS }}
BRAINTREE_TEST_CREDS: ${{ secrets.BRAINTREE_TEST_CREDS }}
DRIFT_INTEGRATION_TEST_CREDS: ${{ secrets.DRIFT_INTEGRATION_TEST_CREDS }}
EXCHANGE_RATES_TEST_CREDS: ${{ secrets.EXCHANGE_RATES_TEST_CREDS }}
FACEBOOK_MARKETING_TEST_INTEGRATION_CREDS: ${{ secrets.FACEBOOK_MARKETING_TEST_INTEGRATION_CREDS }}
FACEBOOK_MARKETING_API_TEST_INTEGRATION_CREDS: ${{ secrets.FACEBOOK_MARKETING_API_TEST_INTEGRATION_CREDS }}
FRESHDESK_TEST_CREDS: ${{ secrets.FRESHDESK_TEST_CREDS }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
BIGQUERY_INTEGRATION_TEST_CREDS: ${{ secrets.BIGQUERY_INTEGRATION_TEST_CREDS }}
BRAINTREE_TEST_CREDS: ${{ secrets.BRAINTREE_TEST_CREDS }}
DRIFT_INTEGRATION_TEST_CREDS: ${{ secrets.DRIFT_INTEGRATION_TEST_CREDS }}
EXCHANGE_RATES_TEST_CREDS: ${{ secrets.EXCHANGE_RATES_TEST_CREDS }}
FACEBOOK_MARKETING_TEST_INTEGRATION_CREDS: ${{ secrets.FACEBOOK_MARKETING_TEST_INTEGRATION_CREDS }}
FACEBOOK_MARKETING_API_TEST_INTEGRATION_CREDS: ${{ secrets.FACEBOOK_MARKETING_API_TEST_INTEGRATION_CREDS }}
FRESHDESK_TEST_CREDS: ${{ secrets.FRESHDESK_TEST_CREDS }}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"sourceDefinitionId": "e2b40e36-aa0e-4bed-b41b-bcea6fa348b1",
"name": "Exchange Rates Api",
"dockerRepository": "airbyte/source-exchange-rates",
"dockerImageTag": "0.2.0",
"documentationUrl": "https://hub.docker.com/r/airbyte/source-exchange-rates",
"icon": "exchangeratesapi.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
dockerRepository: airbyte/source-asana
dockerImageTag: 0.1.0
documentationUrl: https://hub.docker.com/r/airbyte/source-asana
- sourceDefinitionId: 9fed261d-d107-47fd-8c8b-323023db6e20
icon: asana.svg
- sourceDefinitionId: e2b40e36-aa0e-4bed-b41b-bcea6fa348b1
name: Exchange Rates Api
dockerRepository: airbyte/source-exchangeratesapi-singer
dockerImageTag: 0.2.2
documentationUrl: https://hub.docker.com/r/airbyte/source-exchangeratesapi-singer
dockerRepository: airbyte/source-exchange-rates
dockerImageTag: 0.2.0
documentationUrl: https://hub.docker.com/r/airbyte/source-exchange-rates
icon: exchangeratesapi.svg
- sourceDefinitionId: 778daa7c-feaf-4db6-96f3-70fd645acc77
name: File
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Changelog

## 0.2.0
Move from `api.ratesapi.io/` to `api.exchangeratesapi.io/`. Add required field `access_key` to `config.json`. [Link](https://github.com/airbytehq/airbyte/pull/3566) to PR.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ RUN pip install .

ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.name=airbyte/source-exchange-rates
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ airbyteStandardSourceTestFile {

// configPath points to a config file which matches the spec.json supplied above. secrets/ is gitignored by default, so place your config file
// there (in case it contains any credentials)
configPath = "sample_files/config.json"
configPath = "secrets/config.json"
// Note: If your source supports incremental syncing, then make sure that the catalog that is returned in the get_catalog method is configured
// for incremental syncing (e.g. include cursor fields, etc).
configuredCatalogPath = "sample_files/configured_catalog.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"start_date": "2021-04-16",
"base": "USD"
"start_date": "2021-05-16",
"base": "USD",
"access_key": "Your API Access Key"
}
Loading

0 comments on commit 5aa0364

Please sign in to comment.