mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
e9cd71029d
Former-commit-id: 70b7cd14e81c8f43300638dcd5f9859115e1959a
49 lines
1.7 KiB
Properties
49 lines
1.7 KiB
Properties
# V2 elevator test config — auto-generated from template
|
|
# Variables: __MYSQL_HOST__ __MYSQL_PORT__ __REDIS_HOST__ __REDIS_PASS__
|
|
# __CONSUL_HOST__ __CONSUL_PORT__ __KAFKA_HOST__ __KAFKA_PORT__
|
|
# __CRK_HOST__ __CRK_PORT__
|
|
server.port=18081
|
|
spring.application.name=elevator-app
|
|
spring.profiles.active=access-control
|
|
|
|
# Consul
|
|
spring.cloud.consul.host=__CONSUL_HOST__
|
|
spring.cloud.consul.port=__CONSUL_PORT__
|
|
spring.cloud.consul.enabled=true
|
|
spring.cloud.consul.discovery.register=true
|
|
spring.cloud.consul.discovery.enabled=false
|
|
|
|
# MySQL (ShardingSphere)
|
|
spring.shardingsphere.datasource.ds0.jdbc-url=jdbc:mysql://__MYSQL_HOST__:__MYSQL_PORT__/cw-elevator-application?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true
|
|
spring.shardingsphere.datasource.ds0.username=root
|
|
spring.shardingsphere.datasource.ds0.password=123456
|
|
|
|
# Redis
|
|
spring.redis.host=__REDIS_HOST__
|
|
spring.redis.port=6379
|
|
spring.redis.password=__REDIS_PASS__
|
|
spring.redis.database=5
|
|
|
|
# Kafka
|
|
cloudwalk.event.bootstrap-servers=__KAFKA_HOST__:__KAFKA_PORT__
|
|
cloudwalk.event.group-id=cw-elevator-application-test
|
|
|
|
# Feign targets
|
|
feign.device.name=cwos-portal
|
|
feign.cwos-portal.name=cwos-portal
|
|
feign.ninca-crk-std.name=ninca-crk-std
|
|
ninca-crk-std.ribbon.NIWSServerListClassName=com.netflix.loadbalancer.ConfigurationBasedServerList
|
|
ninca-crk-std.ribbon.listOfServers=__CRK_HOST__:__CRK_PORT__
|
|
ninca-crk-std.ip=__CRK_HOST__:__CRK_PORT__
|
|
|
|
# Other
|
|
feign.hystrix.enable=true
|
|
feign.okhttp.enable=true
|
|
ribbon.ReadTimeout=10000
|
|
ribbon.ConnectTimeout=10000
|
|
elevator.application.key=xinghewan
|
|
elevator.application.time=600
|
|
elevator.application.keyA=5B7DEF88FF04
|
|
floor.building.id=605560539791228928
|
|
sendRecord.boolean=false
|