# =================================================================== # Spring Boot configuration. # # This configuration will be overridden by the Spring profile you use, # for example application-dev.yml if you use the "dev" profile. # # More information on profiles: https://www.jhipster.tech/profiles/ # More information on configuration properties: https://www.jhipster.tech/common-application-properties/ # =================================================================== # =================================================================== # Standard Spring Boot properties. # Full reference is available at: # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html # =================================================================== feign: hystrix: enabled: true # client: # config: # default: # connectTimeout: 5000 # readTimeout: 5000 # See https://github.com/Netflix/Hystrix/wiki/Configuration hystrix: command: default: execution: isolation: strategy: SEMAPHORE # See https://github.com/spring-cloud/spring-cloud-netflix/issues/1330 # thread: # timeoutInMilliseconds: 10000 shareSecurityContext: true management: endpoints: web: base-path: /management exposure: include: ['configprops', 'env', 'health', 'info', 'jhimetrics', 'logfile', 'loggers', 'prometheus', 'threaddump'] endpoint: health: show-details: when_authorized roles: 'ROLE_ADMIN' probes: enabled: true jhimetrics: enabled: true info: git: mode: full health: group: liveness: include: livenessState readiness: include: readinessState mail: enabled: false # When using the MailService, configure an SMTP server and set this to true metrics: export: # Prometheus is the default metrics backend prometheus: enabled: true step: 60 enable: http: true jvm: true logback: true process: true system: true distribution: percentiles-histogram: all: true percentiles: all: 0, 0.5, 0.75, 0.95, 0.99, 1.0 tags: application: ${spring.application.name} web: server: request: autotime: enabled: true spring: application: name: SampleApplication profiles: # The commented value for `active` can be replaced with valid Spring profiles to load. # Otherwise, it will be filled in by maven when building the JAR file # Either way, it can be overridden by `--spring.profiles.active` value passed in the commandline or `-Dspring.profiles.active` set in `JAVA_OPTS` active: #spring.profiles.active# group: dev: - dev - api-docs # Uncomment to activate TLS for the dev profile #- tls jmx: enabled: false messages: basename: i18n/messages main: allow-bean-definition-overriding: true task: execution: thread-name-prefix: sample-application-task- pool: core-size: 2 max-size: 50 queue-capacity: 10000 scheduling: thread-name-prefix: sample-application-scheduling- pool: size: 2 thymeleaf: mode: HTML output: ansi: console-available: true server: servlet: session: cookie: http-only: true # Properties to be exposed on the /info management endpoint info: # Comma separated list of profiles that will trigger the ribbon to show display-ribbon-on-profiles: 'dev' # =================================================================== # JHipster specific properties # # Full reference is available at: https://www.jhipster.tech/common-application-properties/ # =================================================================== jhipster: clientApp: name: 'sampleApplicationApp' # By default CORS is disabled. Uncomment to enable. # cors: # allowed-origins: "http://localhost:8100,http://localhost:9000" # allowed-methods: "*" # allowed-headers: "*" # exposed-headers: "Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params" # allow-credentials: true # max-age: 1800 mail: from: SampleApplication@localhost api-docs: default-include-pattern: ${server.servlet.context-path:}/api/.* management-include-pattern: ${server.servlet.context-path:}/management/.* title: SampleApplication API description: SampleApplication API documentation version: 0.0.1 terms-of-service-url: contact-name: contact-url: contact-email: license: unlicensed license-url: security: content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:" # =================================================================== # Application specific properties # Add your own application properties here, see the ApplicationProperties class # to have type-safe configuration, like in the JHipsterProperties above # # More documentation is available at: # https://www.jhipster.tech/common-application-properties/ # =================================================================== # application: