Skip to content
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

Update CDSHandler logic to v2 #39

Merged
merged 3 commits into from
Jul 29, 2021
Merged

Update CDSHandler logic to v2 #39

merged 3 commits into from
Jul 29, 2021

Conversation

stelabouras
Copy link
Collaborator

  • Updates CDSHandler logic so that it can work with the version 2
    of the CDS documentation.
  • Updates the response data structures that the new CDS version produces.
  • Updates the push logic with the new job oriented approach.
  • Updates unit test logic.
  • Adds unit tests for the new job oriented approach on push.

@stelabouras stelabouras force-pushed the stelios/feature/cds-v2 branch from 88f5af4 to 405dd70 Compare July 28, 2021 08:30
* Updates `CDSHandler` logic so that it can work with the version 2
of the CDS documentation.
* Updates the response data structures that the new CDS version produces.
* Updates the push logic with the new job oriented approach.
* Updates unit test logic.
* Adds unit tests for the new job oriented approach on push.
@stelabouras stelabouras force-pushed the stelios/feature/cds-v2 branch from 341e78c to dd8e3cd Compare July 28, 2021 09:15
@stelabouras stelabouras requested a review from n1k0sv July 28, 2021 09:50
n1k0sv
n1k0sv previously approved these changes Jul 28, 2021
Copy link

@n1k0sv n1k0sv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤘

@stelabouras
Copy link
Collaborator Author

@nbasili Do you want me to make another commit in this PR that bumps the version to 1.0.0 or should I create a separate PR for that?

@n1k0sv
Copy link

n1k0sv commented Jul 28, 2021

Let's do this on the same PR and I re-approve for simplicity

n1k0sv
n1k0sv previously approved these changes Jul 28, 2021
Refactors `pushTranslations()` method so that it also returns an array
of possible errors that might get generated during the push logic.

Exposes the `TXCDSError` enum so that consumers of the SDK can check if
a returned error matches one of the errors on the enum.
* Bumps `TXNative.version` to 1.0.0
* Updates CHANGELOG with the changes implemented for v1.0.0
@stelabouras stelabouras force-pushed the stelios/feature/cds-v2 branch from 62fe991 to 1a6dec6 Compare July 29, 2021 06:59
@stelabouras stelabouras merged commit 1a79564 into devel Jul 29, 2021
@stelabouras stelabouras deleted the stelios/feature/cds-v2 branch July 29, 2021 08:38
This was referenced Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants