Skip to content

Conversation

cap-ang
Copy link
Contributor

@cap-ang cap-ang commented Sep 10, 2025

List of Changes

  • An operation policy has been added to add the time to the date format in the regulationDate field.

Updated API:

  1. PSP Get single draft flow related to the PSP, searching by name -> /fdr-psp/service/v1/psps/{pspId}/created/fdrs/{fdr}/organizations/{organizationId}
  2. PSP Get single published flow related to the PSP, searching by name and revision -> /fdr-psp/service/v1/psps/{pspId}/published/fdrs/{fdr}/revisions/{revision}/organizations/{organizationId}
  3. EC Get single published flow related to creditor institution, searching by name and revision -> /fdr-org/service/v1/organizations/{organizationId}/fdrs/{fdr}/revisions/{revision}/psps/{pspId}

Motivation and Context

The microservice starting from this PR handles the regulationDate as a date. To overcome this limitation and comply with SANP3.9.1, the regulationDate in Orgs API response is modified to become a date-time.

How Has This Been Tested?

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.

@cap-ang cap-ang self-assigned this Sep 10, 2025
Copy link
Contributor

The default action is to increase the PATCH number of SEMVER. Set IGNORE-FOR-RELEASE if you want to skip SEMVER bump. BREAKING-CHANGE and NEW-RELEASE must be run from GH Actions section manually.

Copy link
Contributor

The default action is to increase the PATCH number of SEMVER. Set IGNORE-FOR-RELEASE if you want to skip SEMVER bump. BREAKING-CHANGE and NEW-RELEASE must be run from GH Actions section manually.

Copy link
Contributor

This pull request does not contain a valid label. Please add one of the following labels: [major, minor, patch, patch, skip]

@cap-ang cap-ang marked this pull request as ready for review September 10, 2025 15:21
@cap-ang cap-ang requested a review from a team as a code owner September 10, 2025 15:21
@cap-ang cap-ang changed the title [PIDM-919] chore: Add operation policy for datetime injection [PIDM-919] chore: Restoring the regulation date to datetime field Sep 10, 2025
@cap-ang cap-ang changed the title [PIDM-919] chore: Restoring the regulation date to datetime field [PIDM-919] chore: Restoring the regulationDate field to datetime format via operation policy Sep 10, 2025
Copy link

Copy link
Contributor

@pasqualespica pasqualespica left a comment

Choose a reason for hiding this comment

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

lgtm @cap-ang only 1thing.
Put Mitigation keyword into PR title, as reminder to us that this mitigation should be removed after SANP 3.10 was published and "implemented" by EC that open issue

@cap-ang cap-ang changed the title [PIDM-919] chore: Restoring the regulationDate field to datetime format via operation policy [PIDM-919] chore: Restoring the regulationDate field to datetime format via operation policy #mitigation Sep 12, 2025
@cap-ang cap-ang changed the title [PIDM-919] chore: Restoring the regulationDate field to datetime format via operation policy #mitigation [PIDM-919] mitigation: Restoring the regulationDate field to datetime format via operation policy Sep 12, 2025
@cap-ang cap-ang merged commit 337f89f into main Sep 12, 2025
34 checks passed
@cap-ang cap-ang deleted the PIDM-919 branch September 12, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants