Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
33.0.0
-
None
-
CP: sprint 116
-
1
-
Core: Platform
Description
domain-models-api-interfaces (and domain-models-runtime that depends on it) ships with a ModuleName class with getModuleName() returning "raml_module_builder".
An RMB based module creates a correct ModuleName class when running domain-models-maven-plugin.
If we are lucky the latter is included in the final jar. For mod-feesfines I sometimes have an integration test failure because of wrong ModuleName resulting in the wrong "raml_module_builder" where it should be "mod_feesfines":
io.vertx.pgclient.PgException: { "message": "password authentication failed for user \"diku_raml_module_builder\"", "severity": "FATAL", "code": "28P01", "file": "auth.c", "line": "330", "routine": "auth_failed" } Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Unable': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 8]
Task:
Remove ModuleName class from domain-models-api-interfaces jar.