Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cnooc_zydeepen-cggl_expert-manage-miniapp
Overview
Overview
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
孙德龙
cnooc_zydeepen-cggl_expert-manage-miniapp
Commits
298efaa8
Commit
298efaa8
authored
Nov 27, 2025
by
kenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more env
parent
6df91cd5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
40 deletions
+59
-40
src/main/java/com/cnooc/expert/common/constant/RequestAttributes.java
+7
-0
src/main/java/com/cnooc/expert/common/utils/UUIDUtil.java
+11
-0
src/main/resources/application-dev.yml
+11
-10
src/main/resources/application-pre.yml
+10
-10
src/main/resources/application-prod.yml
+10
-10
src/main/resources/application-test.yml
+10
-10
No files found.
src/main/java/com/cnooc/expert/common/constant/RequestAttributes.java
0 → 100644
View file @
298efaa8
package
com
.
cnooc
.
expert
.
common
.
constant
;
public
interface
RequestAttributes
{
String
AUTH_TOKEN
=
"Authorization"
;
}
src/main/java/com/cnooc/expert/common/utils/UUIDUtil.java
0 → 100644
View file @
298efaa8
package
com
.
cnooc
.
expert
.
common
.
utils
;
import
java.util.UUID
;
public
class
UUIDUtil
{
public
static
String
getUuid36
()
{
return
UUID
.
randomUUID
().
toString
();
}
}
src/main/resources/application-dev.yml
View file @
298efaa8
...
@@ -2,19 +2,20 @@ spring:
...
@@ -2,19 +2,20 @@ spring:
redis
:
redis
:
cluster
:
cluster
:
nodes
:
-
redis-lx4jynhqql55-svc.redis-lx4jynhqql55:6379
max-redirects
:
3
max-redirects
:
3
lettuce
:
# 多个地址逗号分隔
cluster
:
nodes
:
${REDIS_HOST_K8S}
refresh
:
jedis
:
adaptive
:
true
period
:
30000
pool
:
pool
:
# 连接池最大连接数默认值为1000
max-active
:
1000
# 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1
max-wait
:
10000
max-wait
:
10000
max-idle
:
10
# 连接池中最大空闲连接数默认值为500
min-idle
:
10
max-idle
:
500
max-active
:
20
# 连接池中的最小空闲连接数,默认值为300
min-idle
:
300
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
time-zone
:
GMT+8
...
...
src/main/resources/application-pre.yml
View file @
298efaa8
...
@@ -2,19 +2,19 @@ spring:
...
@@ -2,19 +2,19 @@ spring:
redis
:
redis
:
cluster
:
cluster
:
nodes
:
-
redis-lx4jynhqql55-svc.redis-lx4jynhqql55:6379
max-redirects
:
3
max-redirects
:
3
lettuce
:
# 多个地址逗号分隔
cluster
:
nodes
:
${REDIS_HOST_K8S}
refresh
:
jedis
:
adaptive
:
true
period
:
30000
pool
:
pool
:
# 连接池最大连接数默认值为1000
max-active
:
1000
# 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1
max-wait
:
10000
max-wait
:
10000
max-idle
:
10
# 连接池中最大空闲连接数默认值为500
min-idle
:
10
max-idle
:
500
max-active
:
20
# 连接池中的最小空闲连接数,默认值为300
min-idle
:
300
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
...
...
src/main/resources/application-prod.yml
View file @
298efaa8
...
@@ -2,19 +2,19 @@ spring:
...
@@ -2,19 +2,19 @@ spring:
redis
:
redis
:
cluster
:
cluster
:
nodes
:
-
redis-lx4jynhqql55-svc.redis-lx4jynhqql55:6379
max-redirects
:
3
max-redirects
:
3
lettuce
:
# 多个地址逗号分隔
cluster
:
nodes
:
${REDIS_HOST_K8S}
refresh
:
jedis
:
adaptive
:
true
period
:
30000
pool
:
pool
:
# 连接池最大连接数默认值为1000
max-active
:
1000
# 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1
max-wait
:
10000
max-wait
:
10000
max-idle
:
10
# 连接池中最大空闲连接数默认值为500
min-idle
:
10
max-idle
:
500
max-active
:
20
# 连接池中的最小空闲连接数,默认值为300
min-idle
:
300
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
...
...
src/main/resources/application-test.yml
View file @
298efaa8
...
@@ -2,19 +2,19 @@ spring:
...
@@ -2,19 +2,19 @@ spring:
redis
:
redis
:
cluster
:
cluster
:
nodes
:
-
redis-zkyhpe1bd033-svc.redis-zkyhpe1bd033:6379
max-redirects
:
3
max-redirects
:
3
lettuce
:
# 多个地址逗号分隔
cluster
:
nodes
:
${REDIS_HOST_K8S}
refresh
:
jedis
:
adaptive
:
true
period
:
30000
pool
:
pool
:
# 连接池最大连接数默认值为1000
max-active
:
1000
# 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1
max-wait
:
10000
max-wait
:
10000
max-idle
:
10
# 连接池中最大空闲连接数默认值为500
min-idle
:
10
max-idle
:
500
max-active
:
20
# 连接池中的最小空闲连接数,默认值为300
min-idle
:
300
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
...
...
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