New-Events Callback fehlt type Feld im DTO

Description of the bug:

Im Java‑SDK wird der Callback‑Body für new-events durch NewEventsCallback modelliert. Dieses DTO enthält kein type‑Feld, obwohl der Callback laut Spezifikation einen Callback-Typ ("type": "https://schema.fitko.de/fit-connect/submission-api/callbacks/new-events") hat. Der ZSD sendet den type im JSON‑Body mit. Dadurch ist die Verarbeitung inkonsistent im Vergleich zu NewSubmissionsCallback und NewRepliesCallback, die beide type enthalten.

  1. new-events Callback wird empfangen (Body enthält type: "new-events").
  2. SDK mappt den Body auf NewEventsCallback.
  3. type wird im DTO verworfen, da das Feld fehlt.

Current behavior:

NewEventsCallback besitzt kein type‑Feld. Beim Deserialisieren wird type nicht abgebildet und steht im SDK nicht zur Verfügung.

Expected behavior:

NewEventsCallback sollte analog zu NewSubmissionsCallback/NewRepliesCallback ein type‑Feld besitzen (@JsonProperty("type")), damit der Callback‑Typ konsistent verfügbar ist.

Environments:

Additional Information:

Betroffene Klassen:

  • client/src/main/java/dev/fitko/fitconnect/api/domain/model/callback/NewEventsCallback.java
  • Referenzklassen mit type:
    • client/src/main/java/dev/fitko/fitconnect/api/domain/model/callback/NewSubmissionsCallback.java
    • client/src/main/java/dev/fitko/fitconnect/api/domain/model/callback/NewRepliesCallback.java

Dependency / relationship to other issues:

Responsible person / team:

Transfer history to different teams

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 Fabian Braun