diff --git a/servo/src/main/resources/application-jx.yml b/servo/src/main/resources/application-jx.yml new file mode 100644 index 0000000..4485601 --- /dev/null +++ b/servo/src/main/resources/application-jx.yml @@ -0,0 +1,92 @@ +server: + port: 7779 + +app: + root-path: './' + +lcc: + location: './lcc-map' + autoStart: + # - projectUuid: tw_test + # envId: 1 + frontend-mqtt: + # brokerUrl: tcp://127.0.0.1:1883 + # username: user + # password: user + # websocket: mqtt://127.0.0.1:7883 + brokerUrl: tcp://180.100.199.56:7097 + username: galaxis + password: Admin1234_ + websocket: mqtt://180.100.199.56:9097 + +mybatis: + enable: true + watcher: true + interval: 1s + locations: + - fileType: filesystem + location: './servo/src/main/java' + filter: '**/*.xml' + #- fileType: jar + # location: 'classpath*:com/yvan/workbench/**/*.xml' + # filter: '' + +jdbc: + enable: true + default-name: 'default' + data-source: + default: + # jdbc-url: jdbc:p6spy:mysql://127.0.0.1:3306/rcs2_tw_zhanghui + jdbc-url: jdbc:p6spy:mysql://180.100.199.56:8306/rcs2_tw_zhanghui + username: rcs2_tw_zhanghui + password: Rcs2_tw_zhanghui + minimum-idle: 2 + maximum-pool-size: 100 + connection-test-query: 'select 1 from dual' + +redis: + enable: true + default-name: 'default' + data-source: + default: + mode: standalone + standalone: + host: '127.0.0.1' + port: 6379 + database: 0 + +web: + resources: + enable: true + mappings: + - hosted-path: '/' + location: './servo/src/main/resources/static' + mvc: + path: '/api/' + http-method: [ 'POST', 'GET' ] + package-mapping: + - path-prefix: '/workbench' + package-prefix: 'com.yvan.workbench.controller' + allow-packages: + - 'com.yvan.workbench.controller.' + transactional-def-datasource: [ ] + def-transactional: + datasource: [ ] + timeout: -1 + read-only: false + hot-reload: + enable: false + # watchFile: './build/.hotReload' + interval: 1s + exclude-packages: [ ] + exclude-classes: [ ] + locations: + - './servo/out/production/classes' + #- './servo/build/classes/java/main' + security: + enable: true + data-source: + jdbc-name: "default" + enable-redis: true + redis-name: "default" + redis-namespace: "yvan-lcc-bench"