Fix SET-Event Problem UUID Pattern

Description of the bug:

Das im SET-Schema 1.2.1 verwendete UUID Match Pattern für die Problem Instance verhindert die korrekte Validierung von UUIDs. Beim Pinning für die Version der UUID fehlen die Kleinbuchstaben.

Match pattern: ^(data|metadata|attachment:[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89AB][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}|reply|submission|other)$

Current behavior:

Es werden bei der Erstellung der Instance für bspw. attachment:{UUID} nicht alle UUIDs korrekt erkannt was zu einem Schema-Validierungsfehler führt (bspw. bei der Erstellung des SET-Events innerhalb eines auto-rejects im JavaSDK).

dev.fitko.fitconnect.api.exceptions.internal.ValidationException: $.events.https://schema.fitko.de/fit-connect/events/reject-submission.problems[0].instance: does not match the regex pattern ^(data|metadata|attachment:[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89AB][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}|reply|submission|other)$

grafik.png

Expected behavior:

UUIDs werden korrekt gematched. Das Hinzufügen der Kleinbuchstaben mit [89ABab] sollte das Problem beheben. Das soll sowohl für Submission als auch Reply behoben werden (reject-* -> problems -> instance)

grafik.png

Environments:

  • Zustelldienst (alle Envs)
  • Java-SDK (alle Envs)

Additional Information:

Siehe Instance UUID match Pattern in der Spec: https://git.fitko.de/fit-connect/event-payload/-/blob/main/spec/problems.schema.json?ref_type=heads

Dependency / relationship to other issues:

Responsible person / team:

Contact persons including contact details:

Screenshots / Logs / Requests:

Checklist:

  • Add Severity label
  • Add team label
  • Related/affected issues/stories/epics linked and explained in the bug issue
  • Creation of an automated test
  • Bugfix deployed on DEV
  • Bugfix tested on DEV
  • Bugfix deployed on TEST
  • Bugfix tested on TEST (possibly also by the connection project itself)
  • Successful fix reported to Team Operations (Teams channel)
  • Bugfix deployed on STAGE
  • Bugfix tested on STAGE if necessary
  • Bugfix deployed on PROD
  • Bugfix tested on PROD (possibly also by the connection project itself)
  • Final communication by Team Operations if necessary
  • Internal documentation was checked and updated if necessary
  • External documentation has been checked and updated if necessary
  • Updated changelog if necessary

Approach/Solution:

Release version of the artifact:

Edited by Wojciech Gdaniec