r.starter.apps.gateway.gateway-webservice.1.3.2.source-code.application.yml Maven / Gradle / Ivy
# See http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# See https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html for actuator endpoints
# Application specific configuration
webservice:
enabled: false
project-name: gateway
base-package-name: org.appsweaver.apps
server-env-name: ${APP_SERVER_MODE:development}
server-name: ${APP_SERVER_NAME:${HOSTNAME}}
server-port: ${APP_SERVER_PORT:8080}
apm-server-name: ${APM_SERVER_NAME:${HOSTNAME}}
apm-server-port: ${APM_SERVER_PORT:8861}
apm-server-username: ${APM_USERNAME:admin}
apm-server-password: ${APM_PASSWORD:admin}
eureka-server-name: ${EUREKA_SERVER_NAME:${HOSTNAME}}
eureka-server-port: ${EUREKA_SERVER_PORT:8761}
eureka-server-username: ${EUREKA_USERNAME:admin}
eureka-server-password: ${EUREKA_PASSWORD:admin}
eureka-enabled: ${EUREKA_ENABLED:true}
websocket:
messaging:
enabled: ${APP_WEBSOCKET_MESSAGING_ENABLED:false}
user:
email: ${NOTIFIER_EMAIL:[email protected]}
name: ${NOTIFIER_NAME:Appsweaver Team}
build-information:
enabled: true
version: ${APP_VERSION:BETA}
number: ${APP_BUILD_NUMBER:vBETA}
date: ${APP_BUILD_DATE:${random.long(1576859108,1576938327)}}
ssl:
key-alias: ${JKS_KEY_ALIAS}
key-store-type: JKS
key-store: ${JKS_KEYSTORE_FILE}
key-store-password: ${JKS_KEYSTORE_PASSWORD}
trust-store-type: JKS
trust-store: ${JKS_TRUSTSTORE_FILE}
trust-store-password: ${JKS_TRUSTSTORE_PASSWORD}
swagger-enabled: true
spring:
application:
name: ${webservice.project-name}
main:
banner-mode: console
allow-bean-definition-overriding: true
cloud:
gateway:
enabled: true
discovery:
locator:
enabled: true
lower-case-service-id: false
httpclient:
ssl:
handshake-timeout: 10000
close-notify-flush-timeout: 3000
close-notify-read-timeout: 0
routes:
- id: uaam
uri: lb://UAAM
predicates:
- Path=/uaam/**
boot:
admin:
client:
enabled: true
url: https://${webservice.apm-server-name}:${webservice.apm-server-port}
username: ${webservice.apm-server-username}
password: ${webservice.apm-server-password}
instance:
health-url: https://${webservice.server-name}:${webservice.server-port}/actuator/health
management-url: https://${webservice.server-name}:${webservice.server-port}/actuator
service-url: https://${webservice.server-name}:${webservice.server-port}/actuator
management-base-url: https://${webservice.server-name}:${webservice.server-port}/actuator
metadata:
user:
name: ${webservice.apm-server-username}
password: ${webservice.apm-server-password}
server:
port: ${webservice.server-port}
servlet.contextPath: /
netty:
connection-timeout: 120000
ssl:
enabled: ${APP_SECURED:true}
protocol: TLS
enabled-protocols:
- TLSv1.2
- TLSv1.1
ciphers:
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
- TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
- TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
- TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
- TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
- TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
- TLS_DHE_DSS_WITH_AES_128_CBC_SHA
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
- TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
- TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
key-alias: ${webservice.ssl.key-alias}
key-store-type: ${webservice.ssl.key-store-type}
key-store: ${webservice.ssl.key-store}
key-store-password: ${webservice.ssl.key-store-password}
trust-store-type: ${webservice.ssl.trust-store-type}
trust-store: ${webservice.ssl.trust-store}
trust-store-password: ${webservice.ssl.trust-store-password}
eureka:
discovery:
secured: ${APP_SECURED:true}
instance:
secure-health-check-url: https://${eureka.instance.hostname}:${webservice.server-port}/actuator/health
status-page-url-path: /actuator/info
lease-renewal-interval-in-seconds: 10
hostname: ${webservice.server-name}
secure-port: ${webservice.server-port}
secure-port-enabled: ${eureka.discovery.secured}
metadata-map:
user.name: ${webservice.eureka-server-username}
user.password: ${webservice.eureka-server-password}
management.context-path: /actuator
client:
registry-fetch-interval-seconds: 5
register-with-eureka: ${webservice.eureka-enabled}
fetch-registry: true
service-url:
defaultZone: https://${webservice.eureka-server-username}:${webservice.eureka-server-password}@${webservice.eureka-server-name}:${webservice.eureka-server-port}/eureka/
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: ALWAYS
info:
app:
name: ${spring.application.name}
description: ${spring.application.name}
version: ${webservice.build-information.version}
logging:
level:
root: INFO
org.springframework.web: INFO
org.springframework.ldap: DEBUG
org.springframework.security: DEBUG
org.springframework.beans: DEBUG
org.appsweaver: DEBUG
org.hibernate: INFO
# org.hibernate.SQL: DEBUG
# org.hibernate.type: TRACE
org.hibernate.tool.hbm2ddl: DEBUG
jdbc: INFO