123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- # ===================================================================
- # 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: http://www.jhipster.tech/profiles/
- # More information on configuration properties: http://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
- # ===================================================================
- eureka:
- client:
- enabled: true
- healthcheck:
- enabled: true
- fetch-registry: true
- register-with-eureka: true
- instance-info-replication-interval-seconds: 10
- registry-fetch-interval-seconds: 10
- instance:
- appname: ms1
- instanceId: ms1:${spring.application.instance-id:${random.value}}
- lease-renewal-interval-in-seconds: 5
- lease-expiration-duration-in-seconds: 10
- status-page-url-path: ${management.context-path}/info
- health-check-url-path: ${management.context-path}/health
- metadata-map:
- zone: primary # This is needed for the load balancer
- profile: ${spring.profiles.active}
- version: ${info.project.version}
- ribbon:
- eureka:
- enabled: true
- # See https://github.com/Netflix/Hystrix/wiki/Configuration
- #hystrix:
- # command:
- # default:
- # execution:
- # isolation:
- # thread:
- # timeoutInMilliseconds: 10000
- # See https://github.com/spring-cloud/spring-cloud-netflix/issues/1330
- feign:
- hystrix:
- enabled: true
- hystrix:
- share-security-context: true
- management:
- security:
- roles: ADMIN
- context-path: /management
- info:
- git:
- mode: full
- health:
- mail:
- enabled: false # When using the MailService, configure an SMTP server and set this to true
- spring:
- application:
- name: ms1
- jackson:
- serialization.write_dates_as_timestamps: false
- jpa:
- open-in-view: false
- hibernate:
- ddl-auto: none
- naming:
- physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
- implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
- messages:
- basename: i18n/messages
- mvc:
- favicon:
- enabled: false
- thymeleaf:
- mode: XHTML
- security:
- basic:
- enabled: false
- oauth2:
- resource:
- filter-order: 3
- server:
- session:
- cookie:
- http-only: true
- info:
- project:
- version: #project.version#
- # ===================================================================
- # JHipster specific properties
- #
- # Full reference is available at: http://www.jhipster.tech/common-application-properties/
- # ===================================================================
- jhipster:
- async:
- core-pool-size: 2
- max-pool-size: 50
- queue-capacity: 10000
- # By default CORS is disabled. Uncomment to enable.
- #cors:
- #allowed-origins: "*"
- #allowed-methods: "*"
- #allowed-headers: "*"
- #exposed-headers: "Authorization,Link,X-Total-Count"
- #allow-credentials: true
- #max-age: 1800
- mail:
- from: ms1@localhost
- swagger:
- default-include-pattern: /api/.*
- title: ms1 API
- description: ms1 API documentation
- version: 0.0.1
- terms-of-service-url:
- contact-name:
- contact-url:
- contact-email:
- license:
- license-url:
- ribbon:
- display-on-active-profiles: dev
- # ===================================================================
- # 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:
- # http://www.jhipster.tech/common-application-properties/
- # ===================================================================
- application:
|