-
Notifications
You must be signed in to change notification settings - Fork 178
Change Appliaction Configuration to use YAML and external files #2484
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
base: webapi-3.0
Are you sure you want to change the base?
Conversation
- Converted application.properties to application.yaml - Consolidated security auth configuration under security.auth - Updated code references to renamed properties. - Updated Readme.md with updated property names.
|
FYI @p-hoffmann |
|
Actually @p-hoffmann , if you could take a look at how these changes are going to impact our docker builds, I'd appreciate it, I have very little experience with docker. |
…uth groups google, facebook and github, wich each has their own enable flag.
|
I've made the changes to the Docker build in the p-hoffmann/extconfig branch. Feel free to merge it into your branch. I also made a few other small adjustments, e.g. re-adding oauth2-oidc-sdk 11.13 as it's required for OpenID Connect. |
…/external-config # Conflicts: # pom.xml # src/main/java/org/ohdsi/webapi/security/SSOController.java # src/main/java/org/ohdsi/webapi/user/importer/UserImportController.java # src/main/java/org/ohdsi/webapi/user/importer/service/UserImportServiceImpl.java # src/main/resources/application.properties # src/test/resources/application-test.properties
|
Ok, i merged from webapi-3.0 and resolved conflicts (I'm 90% sure my conflict fixed it) hwoever, we see errors in the Authentication and Integration tests....this could be related to the external config refactor in that we moved some of the security configuration in the properties/yaml file to a slightly different structure (things fall under security.auth now). Do you see a source of the issue? |
This PR changes application.properties to application.yaml, re-organizes a few authentication-related properties. and adds documentaion about how to references external configuration in VSCode and Tomcat.