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

feat(single-api): retrieve passport data from single API call in the dpp-backend #296

Conversation

saudkhan116
Copy link
Contributor

Why we create this PR?

To create a single API POST method that allows to retrieve the passports data by abstracting of all the API calls needed to do so. Authentication is done using the API Key method.

What we want to achieve with this PR?

The passport data should be retrieved with only one backend API call.

What is new?

Added

  • Added SingleApiRequest class for the requested data for the single API.
  • Added SingleApiConfig class to had configurations related to the single API.
  • Added SingleApi configuration to the main and backend helm charts in charts/digital-product-pass and dpp-backend/charts/digital-product-pass-backend
  • Added relevant documentaton

Updated

  • Updated ApiController with the singleApi POST method.
  • Updated ContractController by creating call methods (create, search, agree and status) without the authentication step to call in the Single API.
  • Updated AuthenticationService by adding the isSingleApiAuthenticated method to authenticate the single API key.
  • Updated application.yaml with the single api configurations.

Issue(s) Linked to:

#277

dsrparracho and others added 30 commits March 7, 2024 16:04
with ned
eeded classes to
work
@matbmoser
Copy link
Contributor

We need to test this before I can approve to merge

@matbmoser matbmoser force-pushed the feature/cmp-1025/single-api branch from 105eb85 to 56ef97a Compare May 6, 2024 12:56
Copy link
Contributor

@matbmoser matbmoser left a comment

Choose a reason for hiding this comment

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

I see no sense in this PR since we already have one with the latest updates integrated #308

@matbmoser matbmoser closed this May 10, 2024
@saudkhan116 saudkhan116 deleted the feature/cmp-1025/single-api branch June 5, 2024 11:12
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.

3 participants