tium.reference.hspc-reference-api-webapp-multitenant.1.9.1.source-code.application-test.yml Maven / Gradle / Ivy
server:
port: 8074
# Platform Servers
hspc:
platform:
api:
security:
mode: secured
oauth2:
clientId: hspc_resource_server
clientSecret: secret
scopes: openid,launch,smart/orchestrate_launch
fhir:
db:
schema: hspc_5_${hspc.platform.api.sandbox.name}
driver-class-name: com.mysql.jdbc.Driver
host: jdbc:mysql://db-test.hspconsortium.org:3306
url: ${hspc.platform.api.fhir.db.host}/${hspc.platform.api.fhir.db.schema}
username: reference_api
password: ENC(PGbAqA2yTasSehiLRk60NpQLMQ1btRtID+8hvhWf9AI=)
datasource:
cache:
size: 5
defaultTenantId: ${hspc.platform.api.sandbox.name}
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
terminology:
proxy:
host: api-v5-stu3.hspconsortium.org/term01
contextPath: /open
federatedEndpointURL: dataphoria.org/datafhir
contextPath: data
# remove openContextPath to disable the open endpoint
openContextPath: open
authorization:
url: https://auth-test.hspconsortium.org
# url: https://auth.hspconsortium.org/
authorizeUrl: ${hspc.platform.authorization.url}/authorize
tokenUrl: ${hspc.platform.authorization.url}/token
# authorizeUrl: ${hspc.platform.authorization.url}/mock/authorize
# tokenUrl: ${hspc.platform.authorization.url}/mock/token
tokenCheckUrl: ${hspc.platform.authorization.url}/introspect
userinfoUrl: ${hspc.platform.authorization.url}/userinfo
smart:
launchUrl: ${hspc.platform.authorization.url}/Launch
registrationEndpointUrl: ${hspc.platform.authorization.url}/register
urisEndpointExtensionUrl: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
messaging:
protocol: http
host: messaging-test.hspconsortium.org
port: 8091
context: /
url: ${hspc.platform.messaging.protocol}://${hspc.platform.messaging.host}:${hspc.platform.messaging.port}${hspc.platform.messaging.context}
subscriptionSupport:
enabled: false
subscriptionEndpoint: ${hspc.platform.messaging.url}/subscription
resourceEndpoint: ${hspc.platform.messaging.url}/resource
jasypt:
encryptor:
algorithm: PBEWithMD5AndTripleDES
---
spring:
profiles: dstu2
hspc:
platform:
api:
sandbox:
name: dstu2
---
spring:
profiles: stu3
hspc:
platform:
api:
sandbox:
name: stu3