Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gortazar opened this issue Apr 13, 2016 · 1 comment
Open

Comments

@gortazar
Copy link
Contributor

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.

@micaelgallego
Copy link
Contributor

Why don't you use the default location of optsicom.properties file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants