Skip to content

Commit

Permalink
Update CDK for source-xero (#27007)
Browse files Browse the repository at this point in the history
* wip

* Automated Commit - Formatting Changes

* add documentation

* tests and fixes

* fix tests

* more documentation

* revert

* update xero

* update documentation

* update version

---------

Co-authored-by: flash1293 <flash1293@users.noreply.github.com>
  • Loading branch information
Joe Reuter and flash1293 committed Jun 7, 2023
1 parent c4981a7 commit f41b3e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-xero/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_xero ./source_xero
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.1
LABEL io.airbyte.version=0.2.2
LABEL io.airbyte.name=airbyte/source-xero
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-xero/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 6fd1e833-dd6e-45ec-a727-ab917c5be892
dockerImageTag: 0.2.1
dockerImageTag: 0.2.2
dockerRepository: airbyte/source-xero
githubIssueLabel: source-xero
icon: xero.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def get_authenticator(config: Mapping[str, Any]) -> Mapping[str, Any]:
return XeroSingleUseRefreshTokenOauth2Authenticator(
connector_config=config,
token_refresh_endpoint="https://identity.xero.com/connect/token",
client_id_config_path=["authentication", "client_id"],
client_secret_config_path=["authentication", "client_secret"],
client_id=config["authentication"]["client_id"],
client_secret=config["authentication"]["client_secret"],
access_token_config_path=["authentication", "access_token"],
refresh_token_config_path=["authentication", "refresh_token"],
token_expiry_date_config_path=["authentication", "token_expiry_date"],
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/xero.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ The connector is restricted by Xero [API rate limits](https://developer.xero.com

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :-------------------------------- |
| 0.2.2 | 2023-06-06 | [27007](https://github.com/airbytehq/airbyte/pull/27007) | Update CDK |
| 0.2.1 | 2023-03-20 | [24217](https://github.com/airbytehq/airbyte/pull/24217) | Certify to Beta |
| 0.2.0 | 2023-03-14 | [24005](https://github.com/airbytehq/airbyte/pull/24005) | Enable in Cloud |
| 0.1.0 | 2021-11-11 | [18666](https://github.com/airbytehq/airbyte/pull/18666) | 🎉 New Source - Xero [python cdk] |

0 comments on commit f41b3e1

Please sign in to comment.