From 8b6265e60952e7377e3db7f247ebb94d75ce5192 Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期三, 27 三月 2024 10:34:53 +0800 Subject: [PATCH] update .gitignore --- src/main/resources/config/application-online-uat.yaml | 8 +- src/main/resources/config/redisson-online-uat.yml | 2 .gitignore | 47 +++++++++++++++ src/main/resources/config/application-online-uat-1.yaml | 101 +++++++++++++++++++++++++++++++++ 4 files changed, 153 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f3dc56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ +logs/ +upload/ +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* diff --git a/src/main/resources/config/application-online-uat-1.yaml b/src/main/resources/config/application-online-uat-1.yaml new file mode 100644 index 0000000..e9824a4 --- /dev/null +++ b/src/main/resources/config/application-online-uat-1.yaml @@ -0,0 +1,101 @@ +server: + port: 17080 + +spring: + # enable-logging: false + datasource: + type: com.alibaba.druid.pool.DruidDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://121.239.169.30:33306/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true + username: root + password: e7be93ef5413e5ed + master: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://121.239.169.30:33306/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true + username: root + password: e7be93ef5413e5ed + type: com.alibaba.druid.pool.DruidDataSource + jpa: + hibernate: + ddl-auto: none +# ddl-auto: update #自动更新 + show-sql: false #日志中显示sql语句 + + redis: +# host: 192.168.0.52 +# port: 6371 +# password: SEF98uvs98dUAUEF90Udssa # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码! +# database: 0 # Redis 数据库号,默认为 0 +# timeout: 5000 # Redis 连接超时时间,单位:毫秒。 + redisson: + file: classpath:config/redisson-online-uat.yml + lettuce: + pool: + # 最大连接数 + max-active: 8 + min-active: 3 + # 最大阻塞等待时间(负数表示没限制) + max-wait: -1 + # 最小空闲 + min-idle: 3 + # 最大空闲 + max-idle: 8 + jackson: + default-property-inclusion: non_null + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + #不要在控制台输出Spring Data Redis - Could not safely identify store assignment for repository 日志 + data: + redis: + repositories: + enabled: false + + +system: + deployMode: standalone #单机部署 +# deployMode: cluster #集群部署 + enableCors: true #跨域设置 + token: #token 配置项 + header: tk + expiration: 7200 + refreshExpiration: 14400 + loginUserHeader: uid + externalAccessHeader: Access-Token + externalAccessKey: HG0f40036fe7420230808150035407 + +reportfile: + path: + #基础路径 + dcPath: /home/gkhy/upload/fourierSpecialgasMonitor/ + urlRootPath: /upload/ +file: + path: + #基础路径 + dcPath: /home/upload/fourierSpecialgasMonitor/ + urlRootPath: /upload/ + module: + #用户模块 + accountPath: /fourierSpecialgasMonitor + +#线程池配置 +threadPool: + corePoolSize: 20 + maxPoolSize: 20 + queueCapacity: 10000 + scheduling: + #控制线程是否执行 true:执行;false:不执行 + enabled: true +# enabled: false + +# 七牛云相关信息 +qiniuymes: + accesskey: 5YprpjY0BJiyjII2VqlHed7UhBEvvkPZicbwd8Kl + secretkey: m3gGQNQ9cLmVBBZwPXZ5-Wzr0duzyAPPmJUx4_ay + templateid: 1689091213799469056 + +#测试环境 短信功能关闭,只在控制台上打印日志 +sms: + send: + enabled: true + + diff --git a/src/main/resources/config/application-online-uat.yaml b/src/main/resources/config/application-online-uat.yaml index e9824a4..6df3701 100644 --- a/src/main/resources/config/application-online-uat.yaml +++ b/src/main/resources/config/application-online-uat.yaml @@ -6,14 +6,14 @@ datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://121.239.169.30:33306/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true + url: jdbc:mysql://127.0.0.1:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true username: root - password: e7be93ef5413e5ed + password: 2farwL3yPXfbH2AP master: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://121.239.169.30:33306/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true + url: jdbc:mysql://127.0.0.1:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true username: root - password: e7be93ef5413e5ed + password: 2farwL3yPXfbH2AP type: com.alibaba.druid.pool.DruidDataSource jpa: hibernate: diff --git a/src/main/resources/config/redisson-online-uat.yml b/src/main/resources/config/redisson-online-uat.yml index 3acfc59..c071833 100644 --- a/src/main/resources/config/redisson-online-uat.yml +++ b/src/main/resources/config/redisson-online-uat.yml @@ -10,7 +10,7 @@ # 命令重试发送时间间隔,单位:毫秒 retryInterval: 1500 # 密码 - password: gkhy@202306 + password: akj78avauba789a # 单个连接最大订阅数量 subscriptionsPerConnection: 5 # 客户端名称 -- Gitblit v1.9.2