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

PP-11682 Add the new connector axios client #3827

Merged
merged 1 commit into from
May 10, 2024

Conversation

iqbalgds
Copy link
Contributor

@iqbalgds iqbalgds commented May 9, 2024

This is the first of many PRS that is breaking up the large PR created to update update the connector client to use Axios:
#3824

  • Adding this so that we can slowly transition everything to this new version of the connector client using Axios.
  • At the moment, nothing is using this for now.
  • This is the first PR of many.
  • In the following PRs, plan to add updated unit tests.
  • Then transition the controllers to start using this new connector Axios client.
  • Once everything has transitioned over, the old connector client will be removed.

Best way to see the differences, is by comparing this file to the changes made to it in the large PR:
https://github.com/alphagov/pay-frontend/pull/3824/files#diff-0a8d6b0be878b39296cfff51f4a3c04eef6f05c5a39740158c1f2a4e86001190

Might be easier to pair for a bit to explain this better.

- Adding this so that we can slowly transiton everything to this
  new version of the connector client using Axios.
- At the moment, nothing is using this for now.
- This is the first PR of many.
- In the following PRs, plan to add updated unit tests.
- Then transition the controllers to start using this new
  connector Axios client.
- Once everything has transitioned over, the old connector client will
  be removed.
@iqbalgds iqbalgds force-pushed the pp-11682-add-temp-connector-axios-base-client branch from 0c5df0e to a0ddb9c Compare May 10, 2024 13:08
Copy link
Contributor

@marcotranchino marcotranchino left a comment

Choose a reason for hiding this comment

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

Thanks for the guided review! :)
This LGTM! 👍

@iqbalgds iqbalgds merged commit d003852 into master May 10, 2024
12 checks passed
@iqbalgds iqbalgds deleted the pp-11682-add-temp-connector-axios-base-client branch May 10, 2024 13:30
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