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

rg.openwms.configuration.2.1.0.source-code.application.yml Maven / Gradle / Ivy

spring:
  application:
    name: openwms-config
  cloud:
    config:
      server:
        git:
          uri: https://github.com/spring-labs/org.openwms.zile
          search-paths: conf
          clone-on-start: true
          default-label: master
  security:
    user:
      password: sa
      name: user

health:
  config:
    enabled: true

owms:
  eureka:
    url: http://user:sa@localhost:8761
    zone: ${owms.eureka.url}/eureka/
  srv:
    protocol: http
    hostname: localhost

server:
  port: ${PORT:8099}

eureka:
  client:
    healthcheck:
      enabled: true
    instance-info-replication-interval-seconds: 10 # default is 30
    service-url:
      defaultZone: ${owms.eureka.zone} # Must be camelCase
  instance:
    hostname: ${owms.srv.hostname}
    secure-port-enabled: false
    non-secure-port-enabled: true
    metadata-map:
      username: ${spring.security.user.name}
      password: ${spring.security.user.password}
      protocol: ${owms.srv.protocol}
      zone: ${owms.eureka.zone}

management:
  endpoints:
    web:
      exposure:
        include: "*"
logging:
  file:
    name: BOOT-CORE-Config.log
    path: "/tmp/owms"

---
spring:
  config:
    activate:
      on-profile: HEROKU
  main:
    banner-mode: "OFF"
  security:
    user:
      password: '{cipher}AQAVmwzi/JEKNgFSPOXYSabqxPGBQFao1cIy2w53OKrAgNB/1fJp1U4rVlASQ1BNO8uhswXhy7PwtsAEWECGY6+cVNMnU9Q9P9xnvJxP7gdjhIzqLkGXm6bU8pSHTkcq8nAvFE4O/4ttQzhQRjdVOaUV/j5hGuS7yhHuvtxGPvc8w7A8eytJZVTGoWupDPq+cUSQbno72ceVenijeD2/IPJAbXdrATcFODnU79DVJSww47tF61P5Z5F87XxM4VAciYATJJyt8Y2XEtdvRvyQhECPy9+MSbMLqH8bop5DYYZaVZMfEqweYs9AqtTNop5GYbVU+OMTXcxl6+Uq/iSSfeVJX2XQRGlLLF/tRrrrQx5w6StThQVEMmZFlh2i9A5jxms='

owms:
  srv:
    protocol: https
    hostname: openwms-configuration.herokuapp.com

encrypt:
  keyStore:
    location: classpath:/server.jks
    alias: livekey
# set encrypt.keyStore.secret (not encrypt.key-store.secret) and encrypt.keyStore.password as command line parameter or in the cloud environment props!

eureka:
  instance:
    secure-port-enabled: true
    non-secure-port-enabled: false
    status-page-url: ${owms.srv.protocol}://${owms.srv.hostname}:${server.port}/actuator/info
    health-check-url: ${owms.srv.protocol}://${owms.srv.hostname}:${server.port}/actuator/health
    home-page-url: ${owms.srv.protocol}://${owms.srv.hostname}:${server.port}/actuator/

---
spring:
  config:
    activate:
      on-profile: native
  cloud:
    config:
      server:
        native:
          search-locations: classpath:config/
        bootstrap: true




© 2015 - 2025 Weber Informatics LLC | Privacy Policy