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

fix: [SRTP-125] convert epc api in client mode #31

Merged
merged 5 commits into from
Dec 5, 2024

Conversation

and-mora
Copy link
Contributor

@and-mora and-mora commented Dec 4, 2024

Description

This PR proposes to change the mode the openapi generator for epc works. Now the client has been generated instead of the server.
The correct usage for the Api Client is:

import it.gov.pagopa.rtp.activator.client.epc.api.DefaultApi;
...
  var api = new DefaultApi();
  api.postRequestToPayRequests()
...

List of Changes

  • change openapi generator for epc to works as client
  • converted the configuration properties into a java record
  • add concurrency for PR workflows

Motivation and Context

How Has This Been Tested?

  • Pre-Deploy Test
    • Unit
    • Integration (Narrow)
  • Post-Deploy Test
    • Isolated Microservice
    • Broader Integration
    • Acceptance
    • Performance & Load

Types of changes

  • PATCH - Bug fix (backwards compatible bug fixes)
  • MINOR - New feature (add functionality in a backwards compatible manner)
  • MAJOR - Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

sonarcloud bot commented Dec 5, 2024

@and-mora and-mora merged commit f1c8407 into main Dec 5, 2024
9 checks passed
@and-mora and-mora deleted the SRTP-125-convert-epc-api-in-client-mode branch December 5, 2024 15:01
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