application.yml 1.62 KB
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/