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

Remove redundant entries in application-<DB>.properties in taskana-rest-spring-example-boot #2170

Open
arolfes opened this issue Mar 21, 2023 · 0 comments

Comments

@arolfes
Copy link
Contributor

arolfes commented Mar 21, 2023

rest/taskana-rest-spring-example-boot/src/main/resources

Currently there are property files for every supported DB-configuration containing all entries of the application.properties file which is redundant. In Spring Boot you can configure Profiles which will activate the given property-file (e.g. profile DB2 activates application-DB2.properties). This property-file will extend the application.properties file and either adds or overwrites its poperties.

TODO:
Move all common entries into the application.properties file and only keep db-configuration-specific entries in the appropriate files.

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

No branches or pull requests

1 participant