erdatastandards.data-holder.2.4.1.source-code.application.properties Maven / Gradle / Ivy
The newest version!
springfox.documentation.swagger.v2.path=/swagger.json
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
spring.datasource.url=jdbc:h2:mem:CDS;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=passw0rd
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
spring.jackson.default-property-inclusion=non_null
# MTLS settings
server.ssl.trust-store=keystore/truststore.jks
server.ssl.trust-store-password=goodluck
server.ssl.client-auth=none
server.ssl.key-store=keystore/keystore.jks
server.ssl.key-store-password=goodluck
server.ssl.key-alias=localhost
server.ssl.key-password=goodluck
server.ssl.enabled=true
server.port=8443
# HTTP port
# comment out or set to 0 to disable plain HTTP support
server.http.port=8383
# Debug database queries
#spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
#Security Properties
#rest.security.enabled=true
#rest.security.issuer-uri=http://localhost:8180/auth/realms/cds
#rest.security.api-matcher=/cds-au/v1/common/customer/**
#rest.security.cors.allowed-origins=*
#rest.security.cors.allowed-headers=*
#rest.security.cors.allowed-methods=GET,POST
#rest.security.cors.max-age=3600
#security.oauth2.resource.id=cds-service
#security.oauth2.resource.token-info-uri=${rest.security.issuer-uri}/protocol/openid-connect/token/introspect
#security.oauth2.resource.user-info-uri=${rest.security.issuer-uri}/protocol/openid-connect/userinfo
#security.oauth2.resource.jwt.key-value=-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArp2BrNItXwHzqzmfJcDZQIYm6ORB64LHtxVRjsLWYAHnAxvfJK74ghVjh6A7eEW6/lW1V+3KbHp5pEMb7Z+4Gf2M8K7Hr53mrIAfk4GHYxuJmmT7Us3snyZQc7UQnw7WinRm/msNaiBaTlo24lk3mlUzPF+pk4B/pG+rnyzeV1CHzT7f1U22zGkXmUpfMsjq0dS5n6kP8A8TwzvEtEnl7pTRHwNCTL0Es9VlXza7D4nm+0+VZZDYhT7tXDoitc1bdxaP56nOS/JuLnROUAiZzaekI+3Ve2l76Qdz6UMTwH3SuXMwbT8Scp18/GRsC/o4dG2z0KaVOAbHenUkWBuY4wIDAQAB\n-----END PUBLIC KEY-----
#Required for micro services that needs to call another secured micro service call
#security.oauth2.client.client-id=cds-service
#security.oauth2.client.client-secret=secret
#security.oauth2.client.user-authorization-uri=${rest.security.issuer-uri}/protocol/openid-connect/auth
#security.oauth2.client.access-token-uri=${rest.security.issuer-uri}/protocol/openid-connect/token
#security.oauth2.client.scope=openid
#security.oauth2.client.grant-type=authorization_code
spring.security.oauth2.resourceserver.jwt.public-key-location=classpath:pubkey.txt
© 2015 - 2024 Weber Informatics LLC | Privacy Policy