记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
03e4e18a
Commit
03e4e18a
authored
Mar 24, 2024
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin prod
parent
db357ba5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
92 additions
and
9 deletions
+92
-9
bootstrap-client-admin-web.yml
...min-web/src/main/resources/bootstrap-client-admin-web.yml
+1
-1
bootstrap-prod.yml
...et-client-admin-web/src/main/resources/bootstrap-prod.yml
+1
-1
bootstrap.yml
...quidnet-client-admin-web/src/main/resources/bootstrap.yml
+1
-1
logback.xml
...liquidnet-client-admin-web/src/main/resources/logback.xml
+2
-2
pom.xml
liquidnet-bus-client/liquidnet-client-admin/pom.xml
+2
-2
liquidnet-client-admin-web-druid-prod.yml
...iquidnet-config/liquidnet-client-admin-web-druid-prod.yml
+57
-0
liquidnet-client-admin-web-prod.yml
...nfig/liquidnet-config/liquidnet-client-admin-web-prod.yml
+26
-0
pom.xml
pom.xml
+2
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/bootstrap-client-admin-web.yml
View file @
03e4e18a
...
@@ -9,7 +9,7 @@ eureka:
...
@@ -9,7 +9,7 @@ eureka:
spring
:
spring
:
cloud
:
cloud
:
config
:
config
:
#
uri: http://127.0.0.1:7002/support-config
uri
:
http://127.0.0.1:7002/support-config
# uri: http://39.107.71.112:7002/support-config
# uri: http://39.107.71.112:7002/support-config
name
:
${spring.application.name},${spring.application.name}-druid
#默认为spring.application.name
name
:
${spring.application.name},${spring.application.name}-druid
#默认为spring.application.name
profile
:
${liquidnet.cloudConfig.profile}
profile
:
${liquidnet.cloudConfig.profile}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/bootstrap-prod.yml
View file @
03e4e18a
...
@@ -6,7 +6,7 @@ liquidnet:
...
@@ -6,7 +6,7 @@ liquidnet:
username
:
user
username
:
user
password
:
user123
password
:
user123
eureka
:
eureka
:
host
:
1
72.17.207.189
:7001
host
:
1
27.0.0.1
:7001
# end-prod-这里是配置信息基本值
# end-prod-这里是配置信息基本值
spring
:
spring
:
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/bootstrap.yml
View file @
03e4e18a
...
@@ -2,5 +2,5 @@ spring:
...
@@ -2,5 +2,5 @@ spring:
application
:
application
:
name
:
liquidnet-client-admin-web
name
:
liquidnet-client-admin-web
profiles
:
profiles
:
active
:
dev
active
:
prod
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/logback.xml
View file @
03e4e18a
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configuration>
<springProfile
name=
"dev"
>
<springProfile
name=
"dev"
>
<property
name=
"log.path"
value=
"./data/logs/client-admin-web"
/>
<property
name=
"log.path"
value=
"./
Users/jiangxiulong/IdeaProjects/
data/logs/client-admin-web"
/>
</springProfile>
</springProfile>
<springProfile
name=
"test,prod,test2,yace"
>
<springProfile
name=
"test,prod,test2,yace"
>
<property
name=
"log.path"
value=
"/data/logs/client-admin-web"
/>
<property
name=
"log.path"
value=
"/
Users/jiangxiulong/IdeaProjects/
data/logs/client-admin-web"
/>
</springProfile>
</springProfile>
<!-- 日志输出格式 -->
<!-- 日志输出格式 -->
...
...
liquidnet-bus-client/liquidnet-client-admin/pom.xml
View file @
03e4e18a
...
@@ -272,7 +272,7 @@
...
@@ -272,7 +272,7 @@
<repository>
<repository>
<id>
public
</id>
<id>
public
</id>
<name>
aliyun nexus
</name>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<url>
http
s
://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
...
@@ -283,7 +283,7 @@
...
@@ -283,7 +283,7 @@
<pluginRepository>
<pluginRepository>
<id>
public
</id>
<id>
public
</id>
<name>
aliyun nexus
</name>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<url>
http
s
://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
...
...
liquidnet-bus-config/liquidnet-config/liquidnet-client-admin-web-druid-prod.yml
0 → 100644
View file @
03e4e18a
# 数据源配置
spring
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
driverClassName
:
com.mysql.cj.jdbc.Driver
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://${liquidnet.mysql.master.urlHostAndPort}/${liquidnet.mysql.master.database-name}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
${liquidnet.mysql.master.username}
password
:
${liquidnet.mysql.master.password}
# 从库数据源
slave
:
# 从数据源开关/默认关闭
enabled
:
false
url
:
jdbc:mysql://${liquidnet.mysql.slave.urlHostAndPort}/${liquidnet.mysql.slave.database-name}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
${liquidnet.mysql.slave.username}
password
:
${liquidnet.mysql.slave.password}
# 初始连接数
initialSize
:
5
# 最小连接池数量
minIdle
:
10
# 最大连接池数量
maxActive
:
20
# 配置获取连接等待超时的时间
maxWait
:
60000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
timeBetweenEvictionRunsMillis
:
60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
minEvictableIdleTimeMillis
:
300000
# 配置一个连接在池中最大生存的时间,单位是毫秒
maxEvictableIdleTimeMillis
:
900000
# 配置检测连接是否有效
validationQuery
:
SELECT 1 FROM DUAL
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
webStatFilter
:
enabled
:
true
statViewServlet
:
enabled
:
true
# 设置白名单,不填则允许所有访问
allow
:
url-pattern
:
/druid/*
# 控制台管理用户名和密码
login-username
:
ruoyi
login-password
:
123456
filter
:
stat
:
enabled
:
true
# 慢SQL记录
log-slow-sql
:
true
slow-sql-millis
:
1000
merge-sql
:
true
wall
:
config
:
multi-statement-allow
:
true
\ No newline at end of file
liquidnet-bus-config/liquidnet-config/liquidnet-client-admin-web-prod.yml
0 → 100644
View file @
03e4e18a
# begin-prod-这里是配置信息基本值
liquidnet
:
info
:
port
:
7099
context
:
name
:
liquidnet-client-admin-web
logfile
:
path
:
/data/logs
name
:
client-admin-web
level
:
info
mysql
:
master
:
urlHostAndPort
:
${liquidnet.mysql.urlHostAndPort}
username
:
${liquidnet.mysql.username}
password
:
${liquidnet.mysql.password}
database-name
:
prod_ln_scene
slave
:
urlHostAndPort
:
${liquidnet.mysql.urlHostAndPort}
username
:
${liquidnet.mysql.username}
password
:
${liquidnet.mysql.password}
database-name
:
prod_ln_scene
mongodb
:
sslEnabled
:
false
database
:
prod_ln_scene
# end-prod-这里是配置信息基本值
\ No newline at end of file
pom.xml
View file @
03e4e18a
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<repository>
<repository>
<id>
public
</id>
<id>
public
</id>
<name>
aliyun nexus
</name>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<url>
http
s
://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
<pluginRepository>
<pluginRepository>
<id>
public
</id>
<id>
public
</id>
<name>
aliyun nexus
</name>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<url>
http
s
://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
...
...
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