Skip to content

Commit

Permalink
config tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
OHSUCMP committed Apr 3, 2023
1 parent 32a869e commit 85cf8bf
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Adds the option to go to eg. http://localhost:8080/actuator/health for seeing the running configuration
#see https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints
sds:
partition:
local-name: SDS-LOCAL
management:
endpoints:
web:
Expand All @@ -9,6 +12,17 @@ spring:
main:
allow-circular-references: true
#allow-bean-definition-overriding: true
security:
oauth2:
resourceserver:
opaque-token:
introspection-uri: https://my-foo-ehr.org/oauth2/introspect
introspection-client-id: fooClient
introspection-client-secret: fooClientSecret
opaque:
introspection-uri: https://my-bar-ehr.org/oauth2/introspect
introspection-client-id: barClient
introspection-client-secret: barClientSecret
flyway:
enabled: false
check-location: false
Expand Down
14 changes: 14 additions & 0 deletions src/test/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
sds:
partition:
local-name: SDS-LOCAL
spring:
main:
allow-circular-references: true
#allow-bean-definition-overriding: true
security:
oauth2:
resourceserver:
opaque-token:
introspection-uri: https://my-foo-ehr.org/oauth2/introspect
introspection-client-id: fooClient
introspection-client-secret: fooClientSecret
opaque:
introspection-uri: https://my-bar-ehr.org/oauth2/introspect
introspection-client-id: barClient
introspection-client-secret: barClientSecret
flyway:
enabled: false
check-location: false
Expand Down

0 comments on commit 85cf8bf

Please sign in to comment.