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: P4ADEV-791-P4PA-AUTH-API-censimento-client-id #80

Merged
merged 14 commits into from
Oct 7, 2024

Conversation

macacia
Copy link
Collaborator

@macacia macacia commented Sep 27, 2024

Description

List of Changes

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.

…TH-API-censimento-client-id

# Conflicts:
#	src/main/java/it/gov/pagopa/payhub/auth/controller/AuthzControllerImpl.java
#	src/main/java/it/gov/pagopa/payhub/auth/service/AuthzService.java
#	src/main/java/it/gov/pagopa/payhub/auth/service/AuthzServiceImpl.java
#	src/test/java/it/gov/pagopa/payhub/auth/service/AuthzServiceTest.java
@macacia macacia changed the title P4ADEV-791-P4PA-AUTH-API-censimento-client-id chore: P4ADEV-791-P4PA-AUTH-API-censimento-client-id Sep 27, 2024
Copy link
Contributor

@antonioT90 antonioT90 left a comment

Choose a reason for hiding this comment

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

each changed class should have a unit test!
Why chore? This is a feat

@macacia macacia changed the title chore: P4ADEV-791-P4PA-AUTH-API-censimento-client-id feat: P4ADEV-791-P4PA-AUTH-API-censimento-client-id Sep 30, 2024
@macacia
Copy link
Collaborator Author

macacia commented Oct 1, 2024

refactoring completed, take a look

@antonioT90
Copy link
Contributor

refactoring completed, take a look

The automatic code review has failed, please take a look and resolve

@macacia
Copy link
Collaborator Author

macacia commented Oct 1, 2024

It's failed due to the fake password used during the unit test

@antocalo
Copy link
Collaborator

antocalo commented Oct 3, 2024

SonarCloud reports 3 new issues requiring attention and we need more unit tests. All code we write must be covered by unit tests https://sonarcloud.io/component_measures?id=pagopa_p4pa-auth&pullRequest=80&metric=new_coverage&view=list

@antocalo
Copy link
Collaborator

antocalo commented Oct 4, 2024

There are 9 issues, must be 0.
#80 (comment)
We need to improve the code coverage, try to add unit test for all lines of code added into this task:
https://sonarcloud.io/component_measures?id=pagopa_p4pa-auth&pullRequest=80&metric=new_coverage&view=list

@antonioT90
Copy link
Contributor

@macacia there is still an unresolved conversation!
Take a look if it's inside the "hidden conversations"

the comment is inside the src/test/java/it/gov/pagopa/payhub/auth/service/a2a/ClientServiceTest.java file

@macacia macacia closed this Oct 7, 2024
@macacia macacia reopened this Oct 7, 2024
@macacia macacia merged commit 31c7d7f into develop Oct 7, 2024
7 of 10 checks passed
@macacia macacia deleted the P4ADEV-791-P4PA-AUTH-API-censimento-client-id branch October 7, 2024 09:45
Copy link

sonarqubecloud bot commented Oct 7, 2024

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