-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
5
-
False
-
-
False
-
-
After SWATCH-2820, we stopped validating the schema when starting up a service which is critical for production.
What is the problem? If we don't validate the schema, the service might start ok, but due to the migrations didn't run ok or didn't run at all, we will only spot the issue when the service works.
Reproducer:
- start all the database and kafka services
- start the swatch contracts service in dev mode
The service will start ok, however because at the moment, liquibase is not configured in dev mode, the data schema is not ok, so the service should fail.
Acceptance Criteria
- All the SWATCH services (spring boot and quarkus) should validate the schema at start up.