Lawrence
2021-01-11 df321f27af64d61c7553aa17c660824522f00a3f
src/main/resources/application-dev.yml
@@ -1,11 +1,4 @@
spring:
    # [不需要改]
    application:
        name: iot-vmp-vmanager
        # [不需要改] 影子数据存储方式,支持redis、jdbc,暂不支持mysql,
        database: redis
        # [不需要改] 通信方式,支持kafka、http
        communicate: http
    # REDIS数据库配置
    redis:
        # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
@@ -20,13 +13,20 @@
        timeout: 10000
    # [不可用] jdbc数据库配置, 暂不支持
    datasource:
        #        name: eiot
        #        url: jdbc:mysql://127.0.0.1:3306/eiot?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
        #        username:
        #        password:
        #        type: com.alibaba.druid.pool.DruidDataSource
        #        driver-class-name: com.mysql.jdbc.Driver
        name: eiot
        url: jdbc:mysql://127.0.0.1:3306/eiot?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
        url: jdbc:sqlite::resource:wvp.sqlite
        username:
        password:
        type: com.alibaba.druid.pool.DruidDataSource
        driver-class-name: com.mysql.jdbc.Driver
        driver-class-name:  org.sqlite.JDBC
        max-active: 1
        min-idle: 1
# [可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
server: