Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
毛树良
/
VVAS-DataCenter-DBWriter
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e0c4b184
authored
Nov 20, 2025
by
毛树良
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]:支持jasypt,对配置文件中用户名密码加解密
1 parent
b85ada89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
pom.xml
src/main/resources/application.properties
pom.xml
View file @
e0c4b18
...
@@ -46,6 +46,12 @@
...
@@ -46,6 +46,12 @@
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
<version>
3.0.5
</version>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
<optional>
true
</optional>
...
...
src/main/resources/application.properties
View file @
e0c4b18
...
@@ -44,6 +44,9 @@ spring.kafka.listener.type=batch
...
@@ -44,6 +44,9 @@ spring.kafka.listener.type=batch
spring.jackson.time-
zone
=
Asia/Shanghai
spring.jackson.time-
zone
=
Asia/Shanghai
spring.jackson.date-
format
=
yyyy-MM-dd HH:mm:ss
spring.jackson.date-
format
=
yyyy-MM-dd HH:mm:ss
# jasypt
jasypt.encryptor.password
=
${JASYPT_ENCRYPTOR_PASSWORD}
# cron
# cron
vion.topicCleanup.preDay
=
7
vion.topicCleanup.preDay
=
7
vion.topicCleanup.cron
=
0 0 1 * * ?
vion.topicCleanup.cron
=
0 0 1 * * ?
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment