Skip to content

Web application should honor spring data properties for db connection #15

@gortazar

Description

@gortazar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions