Skip to content

Conversation

dylantangredi-jakala
Copy link
Collaborator

@dylantangredi-jakala dylantangredi-jakala commented Jan 27, 2025

List of Changes

  • added description from Pa table/entity to /ibans/{iban} API response

Motivation and Context

This change was required from to have the Creditor Institution description field available in the /ibans/{iban} API response

How Has This Been Tested?

  • JUnit Tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • 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.

@dylantangredi-jakala dylantangredi-jakala marked this pull request as ready for review January 27, 2025 15:23
.idDominio("00168480242")
.enabled(true)
.ragioneSociale("Comune di Bassano del Grappa")
.description("Comune di Bassano del Grappa")
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the difference between ragione sociale and description?

Copy link
Collaborator Author

@dylantangredi-jakala dylantangredi-jakala Jan 28, 2025

Choose a reason for hiding this comment

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

Good point because looking at the h2 mock data from the src/resources/h2/data-h2.sql file, ragioneSociale and description are always populated with the same string. It is just a guess but maybe in production the description field would be used in a different and specific way but I don't have the means to check.

…classes extending CreditorInstitution; remove deNullify from description field; change example for description field;
Copy link
Contributor

@jacopocarlini jacopocarlini left a comment

Choose a reason for hiding this comment

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

👍

@jacopocarlini jacopocarlini enabled auto-merge (squash) January 28, 2025 16:30
Copy link

@jacopocarlini jacopocarlini merged commit 9ed065d into main Jan 28, 2025
11 of 13 checks passed
@jacopocarlini jacopocarlini deleted the PIDM-63-update-get-ec-by-iban-api branch January 28, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size/small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants