################################################################################################################ ## spring-cloud相关配置 #eureka: # client: #客户端注册进eureka服务列表内 # service-url: # defaultZone: http://eureka-service:8761/eureka ##启用监控 #management: # endpoints: # web: # exposure: # include: # - "*" # 开放所有端点health,info,metrics,通过actuator/+端点名就可以获取相应的信息。默认打开health和info # endpoint: # health: # #未开启actuator/health时,我们获取到的信息是{"status":"UP"},status的值还有可能是 DOWN。开启后打印详细信息 # show-details: always ############################################################################################################### server: port: 8080 # ssl: # key-store: classpath:keystore.key # key-store-password: 20090421 # key-store-type: PKCS12 # key-alias: cn.sagacloud spring: application: name: scheduler mvc: favicon: enabled: true jmx: default-domain: scheduler datasource: name: scheduler type: com.alibaba.druid.pool.DruidDataSource # driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.postgresql.Driver # url: jdbc:mysql://172.16.0.235:3306/datacenter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai #&zeroDateTimeBehavior=convertToNull url: jdbc:postgresql://60.205.177.43:5432/datacenterlabsl #?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai #&zeroDateTimeBehavior=convertToNull # username: root # password: 123456 username: postgres password: cGVyc2FneV8yMDIwcXdlIUAj jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: Asia/Shanghai default-property-inclusion: non_null # 首字母大写 property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy # 以下划线分隔全小写的单词 #property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy mapper: # 属性按字母顺序输出 sort_properties_alphabetically: true # activemq: # #broker-url: tcp://172.17.134.225:61616 # broker-url: tcp://activemq:61616 # in-memory: true # pool.enabled: false # user: admin # password: admin #activemq: # broker-url: failover:(tcp://192.168.64.15:61616) #in-memory: true #pool: # enabled: false #user: admin #password: admin #non-blocking-redelivery: true jms: pub-sub-domain: true topic: datacenter.broadcast mybatis: typeAliasesPackage: cn.sagacloud.server.datacenter.entities # configuration: # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl