Skip to content

Conversation

LeonardoPierangeliniNttData
Copy link
Collaborator

@LeonardoPierangeliniNttData LeonardoPierangeliniNttData commented Oct 1, 2025

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)
  • CHORE - Minor Change (fix or feature that don't impact the functionality e.g. Documentation or lint configuration)

Checklist:

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

…tion TaxonomyCodeConstraint in DebtPositionType, for validating taxonomyCode through TaxonomyCodeConstraintValidator.
…category/taxonomyCode validation; added custom exception for invalid category.
…om exception, refactored CategoryValidatorService.isCategoryValid: it doesn't throw an exception anymore; ValidateDebtPositionServiceImpl.checkTaxonomyCategory throws InvalidValueException("[P4PA_INVALID_TAXONOMY_CATEGORY] ...") if category check fails
…goryValidatorService to TaxonomyValidatorService (and renamed its method isCategoryValid to isTaxonomyCategoryValid)
…myCode test in TaxonomyValidatorServiceImplTest
…or invalid taxonomyCategory in ValidateDebtPositionServiceImplTest
…ases (removed unuseful: taxonomyValidatorService.isTaxonomyCategoryValid doesn't throw exception anymore)
Copy link

sonarqubecloud bot commented Oct 2, 2025

@LeonardoPierangeliniNttData LeonardoPierangeliniNttData merged commit cdc081e into develop Oct 2, 2025
14 checks passed
@LeonardoPierangeliniNttData LeonardoPierangeliniNttData deleted the P4ADEV-3775-taxonomyCode-validation-for-DebtPositionType branch October 2, 2025 14:49
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