Skip to content

Migration von Zalando Problem zu Problem Spring Web Library

Why

Als Entwickler

möchte ich RFC 7807 compliant Fehler-Responses (Problems) direkt mit Spring Boot erzeugen,

um unabhängig von einer weiteren Bibliothek (Zalando) zu werden.

Links, Notes, Remarks

Acceptance criteria

  1. Alle bestehenden Problems im Package de.fiep.fitconnect sollen migriert werden.
  2. Es soll sichergestellt werden, dass der Zustelldienst nach der Migration zu Spring Boot Problems so verhält wie zuvor mit Zalandos Problems Bibliothek.
  3. Das Package de.fitko.fitconnect soll nicht angefasst werden. Update PO Review. hier wurde die Abhängigkeit auch entfernt. Das war ein Package, welches in Zukunft mit den SDKs genutzt werden sollte, was aber noch nicht erfolgt ist.

Implementation plan (to be completed by the developer)

  • Read spring documentations to understand the rfc7807.
  • Understand how zustelldienst uses zalando library. Do we have work arounds there or exclude something.
  • Compare spring boot problems with zalando problem, find the matching and not matching fields. Checkout the differences.
  • Update the implementation plan.
  • If there is a big differences, for example, some fields do not match, suggest a solution.
  • In git branch try to integrate spring boot problem into our codebase.
  • Exception category by category, remove the zalando dependencies.
  • Decide if we remove zalando problem library from pom.xml. Or touch it a little bit.
  • Take care of the tests. Search through zustelldienst tests, remove zalando problems there, and replace with spring boot problems.
  • Inform the programmers of self-service-portal (offer more details), routingdienst our solution.
Edited by Meisi Zhan