Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
1de0b4c2
Commit
1de0b4c2
authored
Mar 22, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 配置文件密码加密
Password Management: Password in Configuration File(密码管理:配置文件中的密码) Links
https://docs.qq.com/sheet/DTkRSaWhSZXBlaldN?tab=000008&_t=1711087563249
(No.14)
parent
aa932249
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
15 deletions
+20
-15
application-dev.properties
...utoSysStart/src/main/resources/application-dev.properties
+5
-5
application-docker.properties
...SysStart/src/main/resources/application-docker.properties
+4
-4
application-test.properties
...toSysStart/src/main/resources/application-test.properties
+4
-4
application.properties
...ireAutoSysStart/src/main/resources/application.properties
+2
-2
pom.xml
pom.xml
+5
-0
No files found.
YeeAmosFireAutoSysStart/src/main/resources/application-dev.properties
View file @
1de0b4c2
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3_pyh_0510?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3_pyh_0510?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
ENC(ymcOoS7xaghkc/E5jSK3Yi9Zz42LWTls9jVGpYgsRTqLxPpXfqkIXAtXHwCSPOcw)
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.maximum-pool-size
=
10
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
amos.system.user.user-name
=
fas_autosys
amos.system.user.user-name
=
fas_autosys
amos.system.user.password
=
a1234560
amos.system.user.password
=
ENC(QDC3/GhtV5hj5GLxaVkYd1Sk3gFSlW1BWS7ieC2+FL56U9U9LV9BpcMBrhk7xFWM)
#\u5E94\u7528product appkey
#\u5E94\u7528product appkey
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.app-key
=
studio_normalapp_3056965
...
@@ -29,7 +29,7 @@ eureka.instance.status-page-url-path=/actuator/info
...
@@ -29,7 +29,7 @@ eureka.instance.status-page-url-path=/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://localhost:${server.port}${server.servlet.context-path}/swagger-ui.html
eureka.instance.metadata-map.management.api-docs
=
http://localhost:${server.port}${server.servlet.context-path}/swagger-ui.html
spring.security.user.name
=
admin
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
spring.security.user.password
=
ENC(QDC3/GhtV5hj5GLxaVkYd1Sk3gFSlW1BWS7ieC2+FL56U9U9LV9BpcMBrhk7xFWM)
...
@@ -40,7 +40,7 @@ spring.security.user.password=a1234560
...
@@ -40,7 +40,7 @@ spring.security.user.password=a1234560
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.11.201
spring.redis.host
=
172.16.11.201
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.password
=
yeejoin@2020
spring.redis.password
=
ENC(u0Z/KZ7xhkx8sQj+mpBpE3EQJwCWR8JeRZSFQwnetsc4Bhswn2dDiqmUFGSiUM2x)
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-idle
=
10
spring.redis.jedis.pool.max-idle
=
10
...
@@ -58,7 +58,7 @@ emqx.clean-session=true
...
@@ -58,7 +58,7 @@ emqx.clean-session=true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.11.201:1883
emqx.broker
=
tcp://172.16.11.201:1883
emqx.client-user-name
=
admin
emqx.client-user-name
=
admin
emqx.client-password
=
public
emqx.client-password
=
ENC(IWhwMSgko6moJ+JDuh5cq41ixOfhyyiaoRiOCw5Iv3f+YAO8Ib5KpWattlT6h57p)
emqx.max-inflight
=
1000
emqx.max-inflight
=
1000
riskSourceService
riskSourceService
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
...
...
YeeAmosFireAutoSysStart/src/main/resources/application-docker.properties
View file @
1de0b4c2
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
ENC(HauNTLfKmT6iwEk9dxFRUucZvEzc7S648Wflgrom3lCGmm1YP0dnKds7jUF74fkH)
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.maximum-pool-size
=
10
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
amos.system.user.user-name
=
fas_autosys
amos.system.user.user-name
=
fas_autosys
amos.system.user.password
=
a1234560
amos.system.user.password
=
ENC(dkh6A2t7bFXQHO1uR7R49d6p2nxEHjbxxEh1Rvzc88iAjx6OVRN7eh8hA0XmZecg)
#\u5E94\u7528product appkey
#\u5E94\u7528product appkey
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.app-key
=
studio_normalapp_3056965
...
@@ -27,7 +27,7 @@ eureka.instance.prefer-ip-address=true
...
@@ -27,7 +27,7 @@ eureka.instance.prefer-ip-address=true
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.11.201
spring.redis.host
=
172.16.11.201
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.password
=
yeejoin@2020
spring.redis.password
=
ENC(hb6Rn2N41E6vFwxZuwNhPHzZb5+ZvrbxBUjYPOiST8VYm3Ri1n5lH3bxADVZOs4m)
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-idle
=
10
spring.redis.jedis.pool.max-idle
=
10
...
@@ -45,7 +45,7 @@ emqx.clean-session=true
...
@@ -45,7 +45,7 @@ emqx.clean-session=true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.11.201:1883
emqx.broker
=
tcp://172.16.11.201:1883
emqx.user-name
=
admin
emqx.user-name
=
admin
emqx.password
=
public
emqx.password
=
ENC(vlnMOpNNk7wWAcVgqh/C61LOajZY3f1XOFZEqcJ774SdtZeKnOCoNL3u4idRVr+S)
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
file.downLoad.url
=
http://172.16.11.201:9000/
file.downLoad.url
=
http://172.16.11.201:9000/
...
...
YeeAmosFireAutoSysStart/src/main/resources/application-test.properties
View file @
1de0b4c2
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url
=
jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
ENC(+tRgnqfLe7fs+SbrhFCw1DlfsKfZcqVeJL1Qy/hnvD44o2xcLwZ+wyszup80n57p)
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.maximum-pool-size
=
10
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
...
@@ -10,7 +10,7 @@ spring.datasource.validationQuery = SELECT 1
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
#\u7CFB\u7EDF\u670D\u52A1\u8D26\u53F7\uFF0C\u7528\u6237\u540E\u7AEF\u670D\u52A1\u8C03\u7528
amos.system.user.user-name
=
fas_autosys
amos.system.user.user-name
=
fas_autosys
amos.system.user.password
=
a1234560
amos.system.user.password
=
ENC(IrXh5LXTKhcu0kC90lBN4nMLIhrTVxPcCOL2BsM3UVXn9yitiDZHQ8p4O1c3BS4z)
#\u5E94\u7528product appkey
#\u5E94\u7528product appkey
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.app-key
=
studio_normalapp_3056965
...
@@ -27,7 +27,7 @@ eureka.instance.prefer-ip-address=true
...
@@ -27,7 +27,7 @@ eureka.instance.prefer-ip-address=true
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.11.201
spring.redis.host
=
172.16.11.201
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.password
=
yeejoin@2020
spring.redis.password
=
ENC(OflloIPxMWWfgucq8aru16+lhCH0aZq9bmlW6zjjjDSiGy/yCE9HFu3Fe1D/6bpi)
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-idle
=
10
spring.redis.jedis.pool.max-idle
=
10
...
@@ -45,7 +45,7 @@ emqx.clean-session=true
...
@@ -45,7 +45,7 @@ emqx.clean-session=true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.11.201:1883
emqx.broker
=
tcp://172.16.11.201:1883
emqx.user-name
=
admin
emqx.user-name
=
admin
emqx.password
=
public
emqx.password
=
ENC(JcSMTcnJjJsR/wlfW4MqxYnTVVxymsc7iZN3l+gRadRsplNeScSxFa3gbCv30oDt)
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
#\u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
file.downLoad.url
=
http://172.16.11.201:9000/
file.downLoad.url
=
http://172.16.11.201:9000/
...
...
YeeAmosFireAutoSysStart/src/main/resources/application.properties
View file @
1de0b4c2
...
@@ -4,7 +4,7 @@ server.port = 8085
...
@@ -4,7 +4,7 @@ server.port = 8085
#environment
#environment
spring.profiles.active
=
dev
spring.profiles.active
=
dev
#spring.freemarker.cache=false
#spring.freemarker.cache=false
spring.devtools.restart.enabled
=
true
spring.devtools.restart.enabled
=
true
spring.devtools.restart.additional-paths
=
src/main/java
spring.devtools.restart.additional-paths
=
src/main/java
spring.devtools.restart.exclude
=
WEB-INF/**
spring.devtools.restart.exclude
=
WEB-INF/**
...
@@ -91,7 +91,7 @@ data.type.fireMonitor=3103
...
@@ -91,7 +91,7 @@ data.type.fireMonitor=3103
outSystem.fegin.name
=
unKnow
outSystem.fegin.name
=
unKnow
outSystem.user.password
=
a1234560
outSystem.user.password
=
ENC(69BvVP221DPXcNRGhdAMYCm3nPJMSCDutwnqJoH+jfXDt5NXvvi9ajv0qFSpBtIg)
privilege.fegin.name
=
AMOS-API-PRIVILEGE
privilege.fegin.name
=
AMOS-API-PRIVILEGE
#\u9884\u6848\u6307\u6807\u914D\u7F6E
#\u9884\u6848\u6307\u6807\u914D\u7F6E
...
...
pom.xml
View file @
1de0b4c2
...
@@ -214,6 +214,11 @@
...
@@ -214,6 +214,11 @@
<artifactId>
easypoi-annotation
</artifactId>
<artifactId>
easypoi-annotation
</artifactId>
<version>
3.0.3
</version>
<version>
3.0.3
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
<version>
3.0.3
</version>
</dependency>
</dependencies>
</dependencies>
<dependencyManagement>
<dependencyManagement>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment