All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tium.reference.hspc-reference-api-webapp-multitenant.1.6.0.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 1.10.8
Show newest version
server:
  port: 8074
  tomcat:
    remote_ip_header: x-forwarded-for
    protocol_header: x-forwarded-proto

spring:
  application:
    name: HSPC Reference API
  profiles:
    active: multitenant,stu3
#    active: multitenant,stu3,globalexception
  datasource:
    initialSize: 1
    maxActive: 5
  jpa:
    hibernate:
      ddl-auto: none
      show_sql: false
      format_sql: true

hibernate:
  search:
    default:
      indexBase: target/@artifact.name@/lucenefiles

logging:
  level:
    org.springframework.security: INFO

# Platform Servers
hspc:
  platform:
    api:
      security:
        # determines if security is applied at the contextPath
        mode: secured
#        mode: mock
#        mode: open
      oauth2:
        clientId: hspc_resource_server
        clientSecret: secret
        scopes: openid,launch,smart/orchestrate_launch
      sandbox:
        name: hspc4
        useHspcStarterData: true
      fhir:
        db:
          schema: hspc_4_${hspc.platform.api.sandbox.name}
          driver-class-name: com.mysql.jdbc.Driver
          host: localhost
          url: jdbc:mysql://${hspc.platform.api.fhir.db.host}:3306/${hspc.platform.api.fhir.db.schema}
          username: root
          password: password
        datasource:
          cache:
            size: 5
        defaultTenantId: ${hspc.platform.api.sandbox.name}
        hibernate:
          dialect: org.hibernate.dialect.MySQL5InnoDBDialect
        terminology:
          proxy:
            host: fhir3.healthintersections.com.au
            contextPath: /open
        federatedEndpointURL: dataphoria.org/datafhir
        contextPath: data
        # remove openContextPath to disable the open endpoint
        openContextPath: open
    authorization:
      protocol: http
      host: localhost
      port: 8060
      context: ~
      url: ${hspc.platform.authorization.protocol}://${hspc.platform.authorization.host}:${hspc.platform.authorization.port}${hspc.platform.authorization.context}
#      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: localhost
      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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy