application.yml
1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
server:
port: 10009
spring:
profiles:
active: dev
application:
name: mypulsar
datasource:
iotplat:
username: szjxtuser
password: RQminVCJota3H1u8bBYH
jdbc-url: jdbc:sqlserver://116.62.155.137:33419;database=IotPlatform
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
campus:
username: szjxtuser
password: RQminVCJota3H1u8bBYH
jdbc-url: jdbc:sqlserver://116.62.155.137:33419;database=SmartCampus
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
# MQTT
mqtt:
# 服务器连接地址,如果有多个,用逗号隔开
host: tcp://post-cn-4590mq2hr03.mqtt.aliyuncs.com:1883
# 连接服务器默认客户端ID 格式:groupId + @@@ + IOT2021
clintId: GID_IOTSERVER2021@@@IOT2021
# 默认的消息推送主题,如果有多个,用逗号隔开
topic: Topic_Quene_Test
# 用户名
accessKey: UimvLVp0Wj90P88u
# 密码
secretKey: TE4rZenITG27tiQqHx9qINjx71Nws7
# 连接超时
timeout: 30
# 心跳
keepalive: 30
mybatis:
campus:
type-aliases-package: com.example.mypulsar.campusDao
mapper-locations: classpath:mapper/*.xml
iotplat:
type-aliases-package: com.example.mypulsar.dao
mapper-locations: classpath:iotmapper/*.xml
config-location: classpath:mybatis-config.xml
eureka:
instance:
hostname: localhost
lease-expiration-duration-in-seconds: 60
lease-renewal-interval-in-seconds: 10
client:
service-url:
# defaultZone: http://localhost:8761/eureka/
defaultZone: http://121.40.109.21:8761/eureka/,http://121.40.109.21:8762/eureka/