Currently, the web application relays our DBManager approach for db connection, that it turn depends on the existence of an optsicom.properties file to configure db access. Furthermore, to configure the location of this file, the -Doptsicom.file.location=<folder of optsicom.properties to use> option is needed.
Given that the rest application is a Spring Boot application, we should resort to use the spring-data properties for configuring db connection.
Later on, I suggest to drop entirely the DBManager approach for the web application, and use Spring repositories instead. However, this would probably require a refactor of the analysis project, where the data model is defined.
Currently, the web application relays our DBManager approach for db connection, that it turn depends on the existence of an optsicom.properties file to configure db access. Furthermore, to configure the location of this file, the
-Doptsicom.file.location=<folder of optsicom.properties to use>option is needed.Given that the rest application is a Spring Boot application, we should resort to use the spring-data properties for configuring db connection.
Later on, I suggest to drop entirely the DBManager approach for the web application, and use Spring repositories instead. However, this would probably require a refactor of the analysis project, where the data model is defined.