-
Notifications
You must be signed in to change notification settings - Fork 0
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: P4ADEV-1781 add API to get decrypted api-key of broker #8
feat: P4ADEV-1781 add API to get decrypted api-key of broker #8
Conversation
src/test/java/it/gov/pagopa/pu/organization/service/BrokerServiceTest.java
Fixed
Show fixed
Hide fixed
src/test/java/it/gov/pagopa/pu/organization/util/AESUtilsTest.java
Dismissed
Show dismissed
Hide dismissed
src/test/java/it/gov/pagopa/pu/organization/util/AESUtilsTest.java
Dismissed
Show dismissed
Hide dismissed
src/test/java/it/gov/pagopa/pu/organization/util/AESUtilsTest.java
Dismissed
Show dismissed
Hide dismissed
src/main/java/it/gov/pagopa/pu/organization/controller/BrokerController.java
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerService.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerService.java
Outdated
Show resolved
Hide resolved
src/test/java/it/gov/pagopa/pu/organization/service/BrokerEncryptionServiceTest.java
Fixed
Show fixed
Hide fixed
src/main/java/it/gov/pagopa/pu/organization/service/BrokerEncryptionService.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerEncryptionService.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerService.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerEncryptionService.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/service/BrokerEncryptionService.java
Outdated
Show resolved
Hide resolved
…yptionService.java Co-authored-by: antonioT90 <[email protected]>
…yptionService.java Co-authored-by: antonioT90 <[email protected]>
src/test/java/it/gov/pagopa/pu/organization/service/broker/BrokerEncryptionServiceTest.java
Dismissed
Show dismissed
Hide dismissed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add a test on the BrokerControllerTest (a unit test, not a SpringBootTest)
let's add a test on ControllerExceptionHandlerTest (a WebMvcTest as done here https://github.com/pagopa/idpay-payment/blob/main/src/test/java/it/gov/pagopa/payment/controller/payment/IdPayCodePaymentMilControllerTest.java)
In this test let's import just the BrokerController class in order to test just the, mocking the service to let it throws the exception and verify the 404 response
src/main/java/it/gov/pagopa/pu/organization/exception/ControllerExceptionHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/exception/ControllerExceptionHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/it/gov/pagopa/pu/organization/exception/ControllerExceptionHandler.java
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Description
Add API to get decrypted api-keys of broker
List of Changes
Add API to get decrypted api-keys of broker
Motivation and Context
needed by MS pagopa-payments to interact with PagoPA
How Has This Been Tested?
Types of changes
Checklist: