Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
loit-build-common
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
loit-Infrastructure
loit-build-common
Commits
0adf523e
提交
0adf523e
authored
5月 29, 2021
作者:
chenshiying
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[新增] 配置文件
上级
a68c5d5a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
33 个修改的文件
包含
4271 行增加
和
0 行删除
+4271
-0
.gitignore
.gitignore
+1
-0
READEME.md
loit-build-component/loit-build-deploy-env/READEME.md
+4
-0
GeneratorPushScript.java
...main/java/com/loit/common/script/GeneratorPushScript.java
+157
-0
loit-admin-server-prod8769.yaml
.../applicationConfit/portal/loit-admin-server-prod8769.yaml
+41
-0
loit-file-prod7004.yaml
...rces/bin/applicationConfit/portal/loit-file-prod7004.yaml
+137
-0
loit-getway-prod7002.yaml
...es/bin/applicationConfit/portal/loit-getway-prod7002.yaml
+0
-0
loit-gray-server-prod8128.yaml
...n/applicationConfit/portal/loit-gray-server-prod8128.yaml
+102
-0
loit-mobile-portal-prod8116.yaml
...applicationConfit/portal/loit-mobile-portal-prod8116.yaml
+146
-0
loit-notice-prod5003.yaml
...es/bin/applicationConfit/portal/loit-notice-prod5003.yaml
+181
-0
loit-portal-prod7007.yaml
...es/bin/applicationConfit/portal/loit-portal-prod7007.yaml
+260
-0
loit-version-prod8125.yaml
...s/bin/applicationConfit/portal/loit-version-prod8125.yaml
+157
-0
loit-duty-report-prod8124.yaml
...bin/applicationConfit/sone/loit-duty-report-prod8124.yaml
+165
-0
loit-general-config-prod8102.yaml
.../applicationConfit/sone/loit-general-config-prod8102.yaml
+155
-0
loit-law-prod8128.yaml
...sources/bin/applicationConfit/sone/loit-law-prod8128.yaml
+191
-0
loit-mobile-portal-prod8116.yaml
...n/applicationConfit/sone/loit-mobile-portal-prod8116.yaml
+145
-0
loit-mychainx-zqg-prod8136.yaml
...in/applicationConfit/sone/loit-mychainx-zqg-prod8136.yaml
+141
-0
loit-sj-analysis-prod8130.yaml
...bin/applicationConfit/sone/loit-sj-analysis-prod8130.yaml
+142
-0
loit-sj-cmdsystem-prod8110.yaml
...in/applicationConfit/sone/loit-sj-cmdsystem-prod8110.yaml
+155
-0
loit-sj-cmdvideo-prod8122.yaml
...bin/applicationConfit/sone/loit-sj-cmdvideo-prod8122.yaml
+141
-0
loit-sj-coordinator-prod8106.yaml
.../applicationConfit/sone/loit-sj-coordinator-prod8106.yaml
+175
-0
loit-sj-dataSynchronize-prod7080.yaml
...licationConfit/sone/loit-sj-dataSynchronize-prod7080.yaml
+149
-0
loit-sj-dataassets-prod8138.yaml
...n/applicationConfit/sone/loit-sj-dataassets-prod8138.yaml
+142
-0
loit-sj-enforce-prod8120.yaml
.../bin/applicationConfit/sone/loit-sj-enforce-prod8120.yaml
+227
-0
loit-sj-forward-prod9134.yaml
.../bin/applicationConfit/sone/loit-sj-forward-prod9134.yaml
+143
-0
loit-sj-knowledge-prod8132.yaml
...in/applicationConfit/sone/loit-sj-knowledge-prod8132.yaml
+144
-0
loit-sj-large-screen-prod8114.yaml
...applicationConfit/sone/loit-sj-large-screen-prod8114.yaml
+141
-0
loit-sj-loitworkflow-prod8118.yaml
...applicationConfit/sone/loit-sj-loitworkflow-prod8118.yaml
+147
-0
loit-sj-supervision-prod8112.yaml
.../applicationConfit/sone/loit-sj-supervision-prod8112.yaml
+159
-0
loit-sj-task-prod8108.yaml
...ces/bin/applicationConfit/sone/loit-sj-task-prod8108.yaml
+153
-0
loit-web-portal-prod8126.yaml
.../bin/applicationConfit/sone/loit-web-portal-prod8126.yaml
+150
-0
deployInfo.xlsx
.../loit-build-deploy-env/src/main/resources/deployInfo.xlsx
+0
-0
jenkinsJobCreateZww.ftl
.../src/main/resources/template/push/jenkinsJobCreateZww.ftl
+1
-0
zww-push-config.ftl
...-env/src/main/resources/template/push/zww-push-config.ftl
+119
-0
没有找到文件。
.gitignore
浏览文件 @
0adf523e
...
...
@@ -38,3 +38,4 @@ build/
**/src/main/resources/bin/server/**
**/src/main/resources/bin/jenkins/**
**/src/main/resources/bin/jenkinsGit/**
**/src/main/resources/bin/jenkinsPush/**
loit-build-component/loit-build-deploy-env/READEME.md
浏览文件 @
0adf523e
...
...
@@ -123,3 +123,7 @@ curl -X POST -u admin:adminloit -H "Content-Type:application/xml" -d "@config-0
curl -X POST -u admin:adminloit -H "Content-Type:application/xml" -H "Jenkins-Crumb:c741b30a13fdbcf9f1db6c93365672f082c4d8e2bb88e2f5cf0fc51c758814cc" -d "@demo/freestyle/config.xml" http://localhost:32002/createItem?name=free_style_job
# 前端转发路径修改
移动门户、
loit-build-component/loit-build-deploy-env/src/main/java/com/loit/common/script/GeneratorPushScript.java
0 → 100644
浏览文件 @
0adf523e
package
com
.
loit
.
common
.
script
;
import
com.loit.common.script.dto.BackendFrontEnum
;
import
com.loit.common.script.dto.DeployInfoDataDTO
;
import
com.loit.common.script.dto.FrontGroupEnum
;
import
com.loit.common.script.dto.FrontInstanceDto
;
import
com.loit.common.utils.ListUtil
;
import
com.loit.common.utils.StringUtils
;
import
com.loit.common.utils.excel.ImportExcel
;
import
com.loit.common.utils.file.FileUtils
;
import
com.loit.common.utils.freemarker.FreeMarkerUtils
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.http.entity.ContentType
;
import
org.springframework.mock.web.MockMultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.util.HashMap
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
@Slf4j
public
class
GeneratorPushScript
{
protected
static
String
root_path
=
"F:\\9Git140\\loit-build-common\\loit-build-component\\loit-build-deploy-env\\src\\main\\resources\\bin"
;
protected
static
String
root_path_jenkins_full
=
root_path
+
"\\jenkinsPush"
;
private
static
Map
<
String
,
FrontInstanceDto
>
frontInstanceDtoMap
=
new
LinkedHashMap
<>();
public
static
void
main
(
String
[]
args
)
{
try
{
String
filePathStr
=
"F:\\9Git140\\loit-build-common\\loit-build-component\\loit-build-deploy-env\\src\\main\\resources\\deployInfo.xlsx"
;
File
pdfFile
=
new
File
(
filePathStr
);
FileInputStream
fileInputStream
=
new
FileInputStream
(
pdfFile
);
MultipartFile
multipartFile
=
new
MockMultipartFile
(
pdfFile
.
getName
(),
pdfFile
.
getName
(),
ContentType
.
APPLICATION_OCTET_STREAM
.
toString
(),
fileInputStream
);
ImportExcel
ei
=
new
ImportExcel
(
multipartFile
,
1
,
0
);
List
<
DeployInfoDataDTO
>
grayVersionDataDTOList
=
ei
.
getDataList
(
DeployInfoDataDTO
.
class
);
if
(
ListUtil
.
isEmpty
(
grayVersionDataDTOList
))
{
return
;
}
//对前端实例进行分组
for
(
DeployInfoDataDTO
deployDataDTO
:
grayVersionDataDTOList
)
{
BackendFrontEnum
backendFrontType
=
BackendFrontEnum
.
getEnumByCode
(
deployDataDTO
.
getBackendFrontType
());
String
serviceName
=
deployDataDTO
.
getServiceName
();
FrontInstanceDto
frontInstanceDto
=
frontInstanceDtoMap
.
get
(
serviceName
);
if
(
frontInstanceDto
==
null
)
{
frontInstanceDto
=
new
FrontInstanceDto
();
String
serviceNameSub
=
"loit-"
+
serviceName
.
replace
(
"-web"
,
""
).
replace
(
"-h5"
,
""
);
String
serviceNameCookie
=
"loit"
+
serviceName
.
replaceAll
(
"-"
,
""
);
frontInstanceDto
.
setServiceName
(
serviceName
);
frontInstanceDto
.
setServiceNameSub
(
serviceNameSub
);
frontInstanceDto
.
setServiceNameCookie
(
serviceNameCookie
);
frontInstanceDto
.
setServiceNameAbb
(
deployDataDTO
.
getServiceNameAbb
());
frontInstanceDto
.
setGitPath
(
deployDataDTO
.
getGitPath
());
frontInstanceDto
.
setGitBuildSub
(
deployDataDTO
.
getGitBuildSub
());
frontInstanceDto
.
setBackendFrontType
(
backendFrontType
);
frontInstanceDto
.
setDeployJar
(
deployDataDTO
.
getDeployJar
());
frontInstanceDtoMap
.
put
(
serviceName
,
frontInstanceDto
);
}
FrontGroupEnum
frontGroup
=
FrontGroupEnum
.
getEnumByCode
(
deployDataDTO
.
getFrontGroup
());
String
ipAndPort
=
deployDataDTO
.
getFixedIp
()
+
":"
+
deployDataDTO
.
getPort
();
if
(
FrontGroupEnum
.
gray
.
equals
(
frontGroup
))
{
frontInstanceDto
.
getGrayList
().
add
(
ipAndPort
);
}
if
(
FrontGroupEnum
.
normal
.
equals
(
frontGroup
))
{
frontInstanceDto
.
getNormalList
().
add
(
ipAndPort
);
}
}
//生成前端nginx 配置文件
frontInstanceDtoMap
.
forEach
((
key
,
frontInstanceDto
)
->
{
if
(
StringUtils
.
isBlank
(
key
))
{
return
;
}
buildInitEnv
(
frontInstanceDto
);
});
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
}
}
/**
* 生成InitEnv
*
* @throws IOException
*/
private
static
void
buildInitEnv
(
FrontInstanceDto
frontInstanceDto
)
{
String
fileDir
=
root_path_jenkins_full
;
File
folder
=
new
File
(
fileDir
);
if
(!
folder
.
exists
())
{
folder
.
mkdirs
();
}
String
serviceName
=
frontInstanceDto
.
getServiceName
();
if
(
StringUtils
.
isBlank
(
serviceName
))
{
return
;
}
String
createJobFile
=
root_path_jenkins_full
+
"\\createJob.txt"
;
String
jenkinsJobName
=
createJenkinsJobName
(
serviceName
);
Map
model
=
new
HashMap
();
model
.
put
(
"deployJobName"
,
jenkinsJobName
);
String
result
=
FreeMarkerUtils
.
process
(
"push\\jenkinsJobCreateZww.ftl"
,
model
);
FileUtils
.
appendNewLine
(
createJobFile
,
result
);
String
jobsDir
=
root_path_jenkins_full
+
"\\"
+
jenkinsJobName
;
File
jobsFolder
=
new
File
(
jobsDir
);
if
(!
jobsFolder
.
exists
())
{
jobsFolder
.
mkdirs
();
}
String
configFilePath
=
jobsDir
+
"\\config.xml"
;
String
jobConfig
=
FreeMarkerUtils
.
process
(
"push\\zww-push-config.ftl"
,
model
);
FileUtils
.
appendNewLine
(
configFilePath
,
jobConfig
);
}
private
static
String
createJenkinsJobName
(
String
serviceName
)
{
if
(
"getway"
.
equals
(
serviceName
))
{
serviceName
=
"gateway"
;
}
String
jenkinsJobName
=
"loit-push-jar-"
+
serviceName
;
return
jenkinsJobName
;
}
}
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-admin-server-prod8769.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
port
:
8769
tomcat
:
uriEncoding
:
UTF-8
threads
:
max
:
1000
max-connections
:
20000
servlet
:
encoding
:
charset
:
UTF-8
enabled
:
true
force
:
true
spring
:
application
:
name
:
loit-admin-server
main
:
allow-bean-definition-overriding
:
true
cloud
:
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
192.168.230.18:80
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
#权限配置
management
:
endpoints
:
web
:
exposure
:
include
:
"
*"
endpoint
:
health
:
show-details
:
ALWAYS
info
:
name
:
'
@project.name@'
#日志配置
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-file-prod7004.yaml
0 → 100644
浏览文件 @
0adf523e
# 测试环境
#权限配置
management
:
endpoints
:
web
:
exposure
:
include
:
"
*"
endpoint
:
health
:
show-details
:
ALWAYS
info
:
name
:
'
@project.name@'
description
:
'
@project.description@'
fastdfs
:
file_server_prefix
:
http://172.26.66.33/fileview/
file_server_prefix2
:
http://110.43.204.182/fileview/
max_storage_connection
:
8
connect_timeout_in_seconds
:
5
network_timeout_in_seconds
:
30
charset
:
UTF-8
http_anti_steal_token
:
false
http_secret_key
:
FastDFS1234567890
http_tracker_http_port
:
8888
tracker_servers
:
10.0.120.218:22122,10.0.120.193:22122
#fdfs:
# connect-timeout: 6000
# pool:
# jmx-name-base: 1
# jmx-name-prefix: 1
# max-wait-millis: 500
# so-timeout: 6000
# thumb-image:
# height: 150
# width: 150
# tracker-list:
# - 39.100.254.140:22122
#pool:
# max-total: 153
server
:
port
:
7004
tomcat
:
basedir
:
/var/www/tomcat/temp
spring
:
application
:
name
:
loit-file
main
:
allow-bean-definition-overriding
:
true
# freemarker:
# allow-request-override: false
# allow-session-override: false
# cache: false
# charset: UTF-8
# check-template-location: true
# content-type: text/html
# enabled: true
# expose-request-attributes: true
# expose-session-attributes: true
# expose-spring-macro-helpers: true
# order: 1
# prefer-file-system-access: true
# request-context-attribute: request
# settings:
# classic_compatible: true
# datetime_format: yyyy-MM-dd HH:mm:ss
# default_encoding: UTF-8
# number_format: 0.##########
# template_exception_handler: ignore
# template_update_delay: 0
# suffix: .ftl
# template-loader-path: classpath:/templates/
http
:
multipart
:
maxFileSize
:
2048mb
maxRequestSize
:
2048mb
redis
:
database
:
0
password
:
portal2019
pool
:
max-active
:
1
max-idle
:
8
max-wait
:
20000
min-idle
:
8
timeout
:
20000
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
servlet
:
multipart
:
max-file-size
:
2048MB
max-request-size
:
2048MB
cloud
:
nacos
:
discovery
:
#Nacos 注册中心地址
server-addr
:
192.168.230.18:80
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
data-type
:
json
# 规则类型 降级
rule-type
:
degrade
zwup
:
maxSize
:
102400
# 断路器设置
feign
:
sentinel
:
enabled
:
true
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-getway-prod7002.yaml
0 → 100644
浏览文件 @
0adf523e
差异被折叠。
点击展开。
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-gray-server-prod8128.yaml
0 → 100644
浏览文件 @
0adf523e
## 测试环境
server
:
#端口号
port
:
8128
tomcat
:
uriEncoding
:
UTF-8
threads
:
max
:
1000
max-connections
:
20000
# 应用名称
spring
:
application
:
name
:
loit-gray-server
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
192.168.230.18:80
# 注册中心 命名空间
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
# 分组
#group: DEFAULT_GROUP
#Mysql 数据源
datasource
:
url
:
jdbc:mysql://10.0.120.44:7063/loit_gray_test?useUnicode=true&allowMultiQueries=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
type
:
com.alibaba.druid.pool.DruidDataSource
username
:
root
password
:
loit2019ABC
driver-class-name
:
com.mysql.cj.jdbc.Driver
initialSize
:
10
minIdle
:
10
maxActive
:
200
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
SELECT 1
# redis 数据库
redis
:
database
:
0
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.v1
mapperLocations
:
classpath*:mapper/**/*.xml
loit
:
# 单点登录配置
portal_service_name
:
api-portal
#网关中门户路由path
portal_service_id
:
loit-portal
#网关中门户路由id
cas_service_name
:
loit-cas
#网关中单点登录路由path
cas_service_id
:
loit-cas-server
#网关中单点登录路由id
swagger
:
basePackage
:
com.loit.v1
portal
:
index_redirect_config
:
jenkins
:
maps
:
net1
:
http://10.0.120.26:12012@@1156ddb265bc6ec3c190a17d74735d8f28
#政务网 jenkins地址@@token
net2
:
http://192.168.188.15:12012@@11eb77e9cdda37fa642b028c5d7c65dd4c
#互联网 jenkins地址@@token
try
:
count
:
5
# 定时器1分钟一次,设置重试次数
version
:
sync
:
url
:
http://loit-version/api/v1/deploy/pushInfo
#版本管理系统同步接口地址
env
:
2
# 生产环境:2,准生产环境:1
gray
:
telnet_client
:
true
#是否开启前端实例telnet检测,默认为false
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-mobile-portal-prod8116.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8116
# 应用名称
spring
:
application
:
name
:
loit-mobile-portal
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
192.168.230.18:80
# 注册中心 命名空间
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
######################### 人大金仓数据库配置 #######################################
datasource
:
url
:
jdbc:kingbase8://10.0.120.7:9099/LOITPORTAL_7007
username
:
SYSTEM
password
:
loit2019ABC
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
0
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath:**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis-sentinel://10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379?sentinelMasterId=mymaster
readFrom
:
slavePreferred
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
qrCode
:
path
:
/home/soft/loit-mobile-portal-8116/qrCode
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-notice-prod5003.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
port
:
5003
tomcat
:
uriEncoding
:
UTF-8
threads
:
max
:
1000
max-connections
:
20000
servlet
:
encoding
:
charset
:
UTF-8
enabled
:
true
force
:
true
spring
:
application
:
name
:
loit-notice
main
:
allow-bean-definition-overriding
:
true
cloud
:
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
192.168.230.18:80
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
metadata
:
management
:
context-path
:
/actuator
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
data-type
:
json
# 规则类型 降级
rule-type
:
degrade
servlet
:
multipart
:
max-file-size
:
30MB
max-request-size
:
30MB
messages
:
encoding
:
UTF-8
banner
:
charset
:
UTF-8
devtools
:
restart
:
enabled
:
true
cache
:
type
:
ehcache
ehcache
:
config
:
classpath:config/ehcache.xml
# datasource:
# url: jdbc:mysql://10.0.120.44:7063/loitnotice_5003?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
# type: com.alibaba.druid.pool.DruidDataSource
# username: root
# password: loit2019ABC
# driver-class-name: com.mysql.cj.jdbc.Driver
# initialSize: 5
# minIdle: 5
# maxActive: 20
# maxWait: 60000
# timeBetweenEvictionRunsMillis: 60000
# minEvictableIdleTimeMillis: 300000
# validationQuery: SELECT 1
######################### 人大金仓数据库配置 #######################################
datasource
:
url
:
jdbc:kingbase8://10.0.120.7:9099/NOTICE_5003
username
:
SYSTEM
password
:
loit2019ABC
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
thymeleaf
:
cache
:
false
enabled
:
false
suffix
:
.html
jackson
:
time-zone
:
GMT+8
redis
:
database
:
7
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
# activemq:
# broker-url: tcp://localhost:61616
# user: admin
# password: admin
resources
:
static-locations
:
classpath:/templates/
data
:
elasticsearch
:
cluster-name
:
elasticsearch
cluster-nodes
:
10.0.120.212:9200,10.0.120.44:9200,10.0.120.143:9200
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit
mapperLocations
:
classpath*:mapper/**/*.xml
#security:
# basic:
# enabled: false
management
:
security
:
enabled
:
false
endpoints
:
web
:
exposure
:
include
:
"
*"
endpoint
:
health
:
show-details
:
ALWAYS
info
:
name
:
'
@project.name@'
# 断路器设置
feign
:
sentinel
:
enabled
:
true
# 图标文件上传
fileUpload
:
uploadDir
:
/home/soft/loit-notice-5003/img/
# 单点登录配置
loit
:
swagger
:
basePackage
:
com.loit.v1
genid
:
switch
:
true
#是否开启分布式ID
type
:
leaf
#目前支持leaf,uuid 分布式ID
leaf
:
initdata
:
true
#如果使用leaf,初始化数据开关是会遍历所连接的数据下所有表,表的第一列存储是数字类型的,会将取该列的最大值+1作为max_id,
step
:
20
#每次从中取1000个存放到内存,并发高时可将此值设置大点,如服务器1:1-1000 服务器2 1001-2000
notice
:
notice_send_type
:
3
#消息推送,可并集,数字间不需要符合比如23表示:在推送pc的基础上又推送极光和华为(空:默认只推pc,2:极光、3:华为)
client_id
:
MTAzOTc0MjE1
#应用id
client_secret
:
OWQ1MDBmNWIwNTNmMTI1MTc4Y2M4ZjBkMGJjNjFmYTRhMDY5MDkxZmFkYWJhMDdiMzM3N2VkOTNhZDA0YmFjMQ==
#秘钥
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-portal-prod7007.yaml
0 → 100644
浏览文件 @
0adf523e
# 开发环境
server
:
port
:
7007
tomcat
:
uriEncoding
:
UTF-8
threads
:
max
:
1000
max-connections
:
20000
servlet
:
encoding
:
charset
:
UTF-8
enabled
:
true
force
:
true
spring
:
application
:
name
:
loit-portal
main
:
allow-bean-definition-overriding
:
true
cloud
:
nacos
:
discovery
:
# Nacos 注册中心地址
# server-addr: 10.0.120.221:8848
server-addr
:
192.168.230.18:80
#ip: 10.0.120.195
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
metadata
:
management
:
context-path
:
/actuator
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
data-type
:
json
# 规则类型 降级
rule-type
:
degrade
# ## 应用与Sentinel控制台交互的端口,应用本地会起一个该端口占用的HttpServer
# transport:
# ## Sentinel 控制台地址
# dashboard: localhost:8090
# ## 应用与Sentinel控制台的心跳间隔时间
# heartbeat-interval-ms: 10000
# port: 8719
# filter:
# enabled: true
servlet
:
multipart
:
max-file-size
:
30MB
max-request-size
:
30MB
messages
:
encoding
:
UTF-8
banner
:
charset
:
UTF-8
devtools
:
restart
:
enabled
:
true
cache
:
type
:
redis
# redis/ehcache, 目前实现这两种缓存框架,如果不想使用redis,请改成ehcache
ehcache
:
config
:
classpath:config/ehcache.xml
# datasource:
# url: jdbc:mysql://10.0.120.44:7063/loitportal_7007?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
# type: com.alibaba.druid.pool.DruidDataSource
# username: root
# password: loit2019ABC
# driver-class-name: com.mysql.cj.jdbc.Driver
# initialSize: 5
# minIdle: 5
# maxActive: 20
# maxWait: 60000
# timeBetweenEvictionRunsMillis: 60000
# minEvictableIdleTimeMillis: 300000
# validationQuery: SELECT 1
######################### 人大金仓数据库配置 #######################################
datasource
:
url
:
jdbc:kingbase8://10.0.120.7:9099/LOITPORTAL_7007
username
:
SYSTEM
password
:
loit2019ABC
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
mail
:
host
:
smtp.163.com
port
:
25
username
:
zhanlangxinxin@163.com
password
:
123456
default-encoding
:
UTF-8
subject
:
集成门户系统审计警告
thymeleaf
:
cache
:
false
enabled
:
false
suffix
:
.html
jackson
:
time-zone
:
GMT+8
redis
:
database
:
0
# host: 127.0.0.1
# port: 6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
resources
:
static-locations
:
classpath:/templates/
activemq
:
in-memory
:
true
packages
:
trust-all
:
true
kafka
:
bootstrap-servers
:
39.98.202.173:9092,39.98.202.173:9093,39.98.202.173:9094
producer
:
batch-size
:
16384
buffer-memory
:
33554432
retries
:
0
acks
:
1
consumer
:
group-id
:
portal
enable-auto-commit
:
false
auto-commit-interval
:
100
auto-offset-reset
:
earliest
max-poll-records
:
2
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit
mapperLocations
:
classpath*:mapper/**/*.xml
session
:
sessionTimeout
:
1800000
sessionTimeoutClean
:
120000
security
:
basic
:
enabled
:
false
management
:
security
:
enabled
:
false
endpoints
:
web
:
exposure
:
include
:
"
*"
endpoint
:
health
:
show-details
:
ALWAYS
info
:
name
:
'
@project.name@'
# 图标文件上传
fileUpload
:
uploadDir
:
/usr/portal/
#极光配置
jpush
:
appKey
:
2c50bed0c8645184391dc374
masterSecret
:
cf04eaeab932d64dcad2c61e
liveTime
:
86400
#消息在JPush服务器的失效时间 24 * 60 * 60
apnsProduction
:
false
#是否生成环境,true表示生成环境
# 单点登录配置
loit
:
portal_service_name
:
api-portal
#网关中门户路由path
portal_service_id
:
loit-portal
#网关中门户路由id
cas_service_name
:
loit-cas
#网关中单点登录路由path
cas_service_id
:
loit-cas-server
#网关中单点登录路由id
cas_cluster
:
true
# cas_server_url: #如果是第三方接入时需配置
# gate_way_url: #如果是第三方接入时需配置
genid
:
switch
:
true
#是否开启分布式ID拦截,默认为false,不启动请手动代码方式设置主键值,启用时代码无需设置主键值,有拦截器设置主键值,此时如果主键值已设置,拦截器也会使用业务开发人员设置的值,不会对其重新赋值
type
:
leaf
#目前支持leaf,uuid 分布式ID
leaf
:
initdata
:
true
#如果使用leaf,初始化数据开关是会遍历所连接的数据下所有表,表的第一列存储是数字类型的,会将取该列的最大值+1作为max_id,
step
:
20
#每次从中取1000个存放到内存,并发高时可将此值设置大点,如服务器1:1-1000 服务器2 1001-2000
cas
:
app
:
client_url
:
http://172.26.66.33/dist/#/
client_url2
:
http://110.43.204.182/dist/#/
client_id
:
portal
client_secret
:
portal
access_token_cookie_tim_out
:
43200
resource_auth
:
false
login_auth
:
true
captchaSwitch
:
false
#验证开关,没有配置默认不开启验证,生产环境请开启
forwards
:
-
kibana-http://39.100.254.140:5601/app/kibana#/dev_tools/console?_g=()
-
rammonitor-http://39.100.254.140:3000/d/49QxVubWz/cpu_he-nei-cun?fullscreen&panelId=4&refresh=5s
-
cpumonitor-http://39.100.254.140:3000/d/49QxVubWz/cpu_he-nei-cun?refresh=5s&fullscreen&panelId=2
-
wallboard-http://39.100.254.140:8769/#/wallboard
-
trace-http://39.100.254.140:12000/trace
-
nacosRe-http://39.100.254.140:8103/nacos/#/serviceManagement?namespace=
-
nacosCon-http://39.100.254.140:8103/nacos/#/configurationManagement?dataId=&group=&appName=&namespace=
online_user_outtime
:
60
login_debug_out
:
true
loggingLevel
:
INFO
#使用LoitLog日志输出,日志级别 TRACE,DEBUG,INFO,WARN,ERROR
swagger
:
basePackage
:
com.loit.modules.baseData,com.loit.modules.sys,com.loit.v1
portal
:
index_redirect_config
:
#用于判断首页登录跳转的逻辑 ,默认为空(1)空值:前端跳转;(2)1:从数据库中获取资源配置等信息,根据规则拼接进行跳转。
indexUrlConf
:
1
#用于判断返回url的规则信息 (1)前端上下文是否是门户的上下文。 (2)当前appId是内嵌还是独立系统。
vue_default_url
:
/dist/#
#前端需要配置的地址
#白名单地址
frontwhite
:
url
:
-
http://110.43.204.182
-
http://192.169.201.191
-
http://172.26.66.33
# 以下是优化开关,默认未开启优化,测试通过后在将其复制到生产环境中
optimize
:
switch
:
#web进入应用优化开关
fistload
:
true
# 断路器设置
feign
:
sentinel
:
enabled
:
true
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/portal/loit-version-prod8125.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8125
# 应用名称
spring
:
application
:
name
:
loit-version
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
servlet
:
multipart
:
max-file-size
:
500MB
max-request-size
:
500MB
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
192.168.230.18:80
# 注册中心 命名空间
namespace
:
05270cbf-5a81-4a23-a534-b59ba26f11d5
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#Mysql 数据源
datasource
:
url
:
jdbc:mysql://10.0.120.44:7063/loit_version_test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
type
:
com.alibaba.druid.pool.DruidDataSource
username
:
root
password
:
loit2019ABC
driver-class-name
:
com.mysql.cj.jdbc.Driver
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
SELECT 1
# redis 数据库
redis
:
database
:
0
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
sentinel
:
master
:
mymaster
nodes
:
10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.version
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
# uri: redis://portal2019@10.0.120.55:6379/0
uri
:
redis-sentinel://10.0.120.55:26379,10.0.120.161:26379,10.0.120.39:26379?sentinelMasterId=mymaster
readFrom
:
slavePreferred
loit
:
swagger
:
basePackage
:
com.loit.version
portal
:
index_redirect_config
:
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
# 模块版本文件上传路径(jar、配置、logbak)
file
:
zipPath
:
/home/upload/zip
uploadDir
:
/home/upload/deploy-jar
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
jenkins
:
config
:
url
:
http://192.168.188.15:12012
token
:
11eb77e9cdda37fa642b028c5d7c65dd4c
prefix_push_dir
:
/home/version/push-jar
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-duty-report-prod8124.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8124
# 应用名称
spring
:
application
:
name
:
loit-dutyReport-xt
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#Mysql 数据源
datasource
:
url
:
jdbc:mysql://120.27.92.213:3306/loit_duty_report_portal?useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
type
:
com.alibaba.druid.pool.DruidDataSource
username
:
root
password
:
ADLzRvGY+/voYgTnf7Wok8c6l9YZwtT9o2Rn+zN9bQnVfbJDwATHFlgB82UDFkt3ZfehElz7+BiHqED8fXVZwA==
publickey
:
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKrv+rF6IJr3DHFdBOUoTcD+36W91ZfAxvEVe6qlmAstAk/0DJPs2/3RbXb2xQtWzMOL/dxKIBJgXFvK6BSDCGMCAwEAAQ==
driver-class-name
:
com.mysql.cj.jdbc.Driver
initialSize
:
5
minIdle
:
5
maxActive
:
500
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
SELECT 1
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
# 打开PSCache,并且指定每个连接上PSCache的大小(Oracle使用)
#poolPreparedStatements: true
#maxPoolPreparedStatementPerConnectionSize: 20
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
filters
:
stat,wall,config
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
connectionProperties
:
druid
:
stat
:
mergeSql
:
true
slowSqlMillis
:
3000
config
:
decrypt
:
true
# redis 数据库
redis
:
database
:
0
host
:
39.100.254.140
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://portal2019@39.100.254.140:6379/
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
fastdfs
:
file_server_prefix
:
http://39.98.202.173
# 图标文件上传
fileUpload
:
uploadDir
:
E:\IDE\loit-jmr-test\icon\
properties
:
config
:
dev
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-general-config-prod8102.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8102
# 应用名称
spring
:
application
:
name
:
loit-general-config
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/D_FORM_GCONFIG
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
genid
:
switch
:
true
#是否开启分布式ID拦截,默认为false,不启动请手动代码方式设置主键值,启用时代码无需设置主键值,有拦截器设置主键值,此时如果主键值已设置,拦截器也会使用业务开发人员设置的值,不会对其重新赋值
type
:
leaf
#目前支持leaf,uuid 分布式ID
leaf
:
initdata
:
true
#如果使用leaf,初始化数据开关是会遍历所连接的数据下所有表,表的第一列存储是数字类型的,会将取该列的最大值+1作为max_id,
step
:
1000
#每次从中取1000个存放到内存,并发高时可将此值设置大点,如服务器1:1-1000 服务器2 1001-2000
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
#签章服务器配置
Stamp
:
ip
:
223.70.139.221
port
:
18002
#单位是毫秒,默认为 50 秒
timeout
:
10000
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-law-prod8128.yaml
0 → 100644
浏览文件 @
0adf523e
# 标准化管理系统开发原配置文件
server
:
port
:
8128
tomcat
:
uriEncoding
:
UTF-8
threads
:
max
:
1000
max-connections
:
20000
servlet
:
encoding
:
charset
:
UTF-8
enabled
:
true
force
:
true
spring
:
application
:
name
:
loit-law
main
:
allow-bean-definition-overriding
:
true
servlet
:
multipart
:
max-file-size
:
30MB
max-request-size
:
30MB
messages
:
encoding
:
UTF-8
banner
:
charset
:
UTF-8
devtools
:
restart
:
enabled
:
true
datasource
:
url
:
jdbc:mysql://39.100.254.140:3306/loitlaw?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
type
:
com.alibaba.druid.pool.DruidDataSource
username
:
root
password
:
loit2019ABC
driver-class-name
:
com.mysql.cj.jdbc.Driver
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
SELECT 1
mail
:
host
:
smtp.163.com
port
:
25
username
:
zhanlangxinxin@163.com
password
:
123456
default-encoding
:
UTF-8
subject
:
集成门户系统审计警告
thymeleaf
:
cache
:
false
enabled
:
false
suffix
:
.html
jackson
:
time-zone
:
GMT+8
redis
:
database
:
1
host
:
114.55.102.254
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
loit2019
activemq
:
broker-url
:
tcp://114.55.102.254:61616
user
:
admin
password
:
admin
cloud
:
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
#ip: 114.55.102.254
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
data-type
:
json
# 规则类型 降级
rule-type
:
degrade
resources
:
static-locations
:
classpath:/templates/
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit
mapperLocations
:
classpath*:mapper/**/*.xml
session
:
sessionTimeout
:
1800000
sessionTimeoutClean
:
120000
security
:
basic
:
enabled
:
false
management
:
security
:
enabled
:
false
# 断路器设置
feign
:
sentinel
:
enabled
:
true
fastdfs
:
file_server_prefix
:
http://114.55.102.254
# 图标文件上传
fileUpload
:
uploadDir
:
/home/data/storage/data
#极光配置
jpush
:
appKey
:
2c50bed0c8645184391dc374
masterSecret
:
cf04eaeab932d64dcad2c61e
liveTime
:
86400
#消息在JPush服务器的失效时间 24 * 60 * 60
apnsProduction
:
false
#是否生成环境,true表示生成环境
# 单点登录配置
loit
:
portal_service_name
:
api-portal
#网关中门户路由path
portal_service_id
:
loit-portal
#网关中门户路由id
cas_service_name
:
loit-cas
#网关中单点登录路由path
cas_service_id
:
loit-cas-server
#网关中单点登录路由id
cas_server_url
:
http://172.16.50.210:7010
gate_way_url
:
http://172.16.50.210:7001
cas
:
server
:
url
:
http://114.55.102.254:8014
app
:
client_url
:
http://localhost:9528/#/portal/appRegister/list
client_id
:
portal
client_secret
:
portal
access_token_cookie_tim_out
:
43200
resource_auth
:
false
login_auth
:
false
forwards
:
-
kibana-http://39.100.254.140:5601/app/kibana#/dev_tools/console?_g=()
-
rammonitor-http://39.100.254.140:3000/d/49QxVubWz/cpu_he-nei-cun?fullscreen&panelId=4&refresh=5s
-
cpumonitor-http://39.100.254.140:3000/d/49QxVubWz/cpu_he-nei-cun?refresh=5s&fullscreen&panelId=2
-
wallboard-http://39.100.254.140:8769/#/wallboard
-
trace-http://39.100.254.140:12000/trace
-
nacosRe-http://39.100.254.140:8103/nacos/#/serviceManagement?namespace=
-
nacosCon-http://39.100.254.140:8103/nacos/#/configurationManagement?dataId=&group=&appName=&namespace=
online_user_outtime
:
60
login_debug_out
:
true
loggingLevel
:
INFO
#使用LoitLog日志输出,日志级别 TRACE,DEBUG,INFO,WARN,ERROR
swagger
:
basePackage
:
com.loit.modules,com.loit.v1
portal
:
indexUrlConf
:
1
#用于判断返回url的规则信息 (1)前端上下文是否是门户的上下文。 (2)当前appId是内嵌还是独立系统。
vue_default_url
:
#前端需要配置的地址
# 以下是优化开关,默认未开启优化,测试通过后在将其复制到生产环境中
optimize
:
switch
:
#web进入应用优化开关
fistload
:
false
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-mobile-portal-prod8116.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8116
# 应用名称
spring
:
application
:
name
:
loit-mobile-portal
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/PORTAL_DEV
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath:**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
qrCode
:
path
:
/home/soft/loit-mobile-portal-8116/qrCode
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-mychainx-zqg-prod8136.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8136
# 应用名称
spring
:
application
:
name
:
loit-mychainx
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/MYCHAINX_DEV
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
0
host
:
39.100.254.140
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.mychainx
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://portal2019@39.100.254.140:6379/
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.mychainx
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
prePath
:
dev/
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-analysis-prod8130.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8130
# 应用名称
spring
:
application
:
name
:
loit-sj-analysis
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-cmdsystem-prod8110.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8110
# 应用名称
spring
:
application
:
name
:
loit-sj-cmdsystem-dev
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
# namespace: e7c88ea3-c223-42a8-baa0-501e4f8fb2bf
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/CS_CMD_SYSTEM
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
ledger
:
#获取token的接口地址
token-endpoint-uri
:
http://loit-sj-ledger/oauth/token
app
:
#是否启用依赖中以实现的token,client自动获取token。true为启用
enabled
:
true
#应用客户端 app-id
app-id
:
client-a
#应用客户端 app-secret
app-secret
:
client-a-p
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-cmdvideo-prod8122.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8122
# 应用名称
spring
:
application
:
name
:
loit-sj-cmdvideo
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-coordinator-prod8106.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8106
servlet
:
context-path
:
/api-sj-coordinator
# 应用名称
spring
:
application
:
name
:
loit-sj-coordinator
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://123.57.176.147:54321/URBANCOODINATOR
username
:
SYSTEM
password
:
bjjzy123
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
serialization
:
write-dates-as-timestamps
:
true
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
article
:
resourceUrl
:
/dist/p_index.html#/strike/article/task
value
:
article
linkName
:
苗志成
linkMobile
:
18911712520
linkPhone
:
68522586
clue
:
resourceUrl
:
/dist/p_index.html#/strike/clue/task
value
:
clue
clueSignUrl
:
/dist/p_index.html#/strike/clue/sign
clueSourceUrl
:
/dist/p_index.html#/strike/clue/source
clueApprovalUrl
:
/dist/p_index.html#/strike/clue/check
clueTaskUrl
:
/dist/p_index.html#/strike/clue/task
linkName
:
苗志成
linkMobile
:
18911712520
linkPhone
:
68522586
text
:
law
:
resourceUrl
:
/dist/p_index.html#/union/linkage/task
value
:
law
linkName
:
苗志成
linkMobile
:
18911712520
linkPhone
:
68522586
cdLoit
:
sj
:
appCode
:
coordinator
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-dataSynchronize-prod7080.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
7080
# 应用名称
spring
:
application
:
name
:
loit-sj-dataSynchronize
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
# namespace: e7c88ea3-c223-42a8-baa0-501e4f8fb2bf
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/PORTAL_DEV
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.modules
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.modules
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
# ca数据同步地址
idm
:
service
:
http://172.26.80.120/idm
userId
:
93ce5274575740e994a0c458488ce9db
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-dataassets-prod8138.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8138
# 应用名称
spring
:
application
:
name
:
loit-sj-dataassets
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-enforce-prod8120.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8120
# 应用名称
spring
:
application
:
name
:
loit-sj-enforce
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/EF_ENFORCE
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
kafka
:
# Kafka集群
#bootstrap-servers: 192.168.224.143:9092,192.168.224.144:9092,192.168.224.145:9092
#bootstrap-servers: 172.16.50.194:9092
bootstrap-servers
:
39.98.202.173:9092,39.98.202.173:9093,39.98.202.173:9094
# 消费端监听的topic不存在时,项目启动会报错(关掉)
listener
:
missing-topics-fatal
:
false
producer
:
retries
:
0
# 应答级别:多少个分区副本备份完成时向生产者发送ack确认(可选0、1、all/-1)
acks
:
1
# 当生产端积累的消息达到batch-size或接收到消息linger.ms后,生产者就会将消息提交给kafka
# linger.ms为0表示每接收到一条消息就提交给kafka,这时候batch-size其实就没用了
batch-size
:
16384
# 提交延时
properties
:
# 自定义分区器
#class: com.felix.kafka.producer.CustomizePartitioner
linger
:
ms
:
0
buffer-memory
:
33554432
key-serializer
:
org.apache.kafka.common.serialization.StringSerializer
value-serializer
:
org.apache.kafka.common.serialization.StringSerializer
consumer
:
properties
:
group
:
id
:
dutyReport
session
:
timeout
:
ms
:
120000
# 是否自动提交offset
enable-auto-commit
:
true
# 提交offset延时(接收到消息后多久提交offset)
auto-commit-interval
:
1000
# 当kafka中没有初始offset或offset超出范围时将自动重置offset
# earliest:重置为分区中最小的offset;
# latest:重置为分区中最新的offset(消费分区中新产生的数据);
# none:只要有一个分区不存在已提交的offset,就抛出异常;
auto-offset-reset
:
latest
key-deserializer
:
org.apache.kafka.common.serialization.StringDeserializer
value-deserializer
:
org.apache.kafka.common.serialization.StringDeserializer
justice
:
commonCase
:
common-case
simpleCase
:
simple-case
creadit
:
commonCase
:
credit-report
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.modules.*.entity
mapperLocations
:
classpath*:com/loit/modules/*/dao/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
portal_service_name
:
api-portal
#网关中门户路由path
cas_service_name
:
loit-cas
#网关中单点登录路由path
cas_service_id
:
loit-cas-server
#网关中单点登录路由id
cas
:
app
:
client_url
:
http://39.99.158.58:9527/dist/#/portal/appRegister/list
#登录成功后前端跳转的地址
client_id
:
portal
#CAS服务器应用注册的client_id
client_secret
:
portal
#CAS服务器应用注册的client_secret
access_token_cookie_tim_out
:
43200
#accessToken过期时间
captchaSwitch
:
false
#验证码开关,没有配置默认不开启验证,生产环境请开启
forwards
:
#配置免登陆跳转路径或组件跳转路径
-
nacos-http://39.99.158.58:8848/nacos/#/login
online_user_outtime
:
60
#过去onlineUserOuttime长时间内登录过什么用户
login_debug_out
:
true
portal
:
index_redirect_config
:
#用于判断首页登录跳转的逻辑,默认为空(1)空值:第22页共61页时代凌宇融合应用赋能开发平台开发向导(后端)V1.3前端跳转;(2)1:从数据库中获取资源配置等信息,根据规则拼接进行跳转。
indexUrlConf
:
1
#用于判断返回url的规则信息(1)前端上下文是否是门户的上下文。(2)当前appId是内嵌还是独立系统。
vue_default_url
:
#前端需要配置的地址
swagger
:
basePackage
:
com.loit.modules,com.loit.api.controller
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
posyspath
:
/home/soft/lic/
dutyReport
:
url
:
http://39.98.202.173:7069
ledger
:
token-endpoint-uri
:
http://loit-sj-ledger/oauth/token
app
:
enabled
:
true
app-id
:
client-a
app-secret
:
client-a-p
ledgerUnicode
:
person
:
83877181750667264000
business
:
83877197706638540800
selfemploye
:
83877323086968012800
#信用北京推送
creadit
:
access_key
:
upload_dept
secret_key
:
123456
business_id
:
ff9bade8bdf734d26943b8a616661be59
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-forward-prod9134.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
9134
# 应用名称
spring
:
application
:
name
:
loit-sj-forward
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-knowledge-prod8132.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8132
# 应用名称
spring
:
application
:
name
:
loit-sj-knowledge
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#mysql 数据源
datasource
:
druid
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
initial-size
:
5
max-active
:
20
max-wait
:
60000
min-idle
:
5
password
:
portal2019
url
:
jdbc:mysql://39.99.158.58:3306/knowledge?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username
:
root
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
date-format
:
"
yyyy-MM-dd
HH:mm:ss"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.library.server.admin.model
mapperLocations
:
classpath:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.library.server.admin.web
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-large-screen-prod8114.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8114
# 应用名称
spring
:
application
:
name
:
loit-sj-large-screen
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-loitworkflow-prod8118.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8118
# 应用名称
spring
:
application
:
name
:
loit-sj-loitworkflow
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
127.0.0.1:8848
# 注册中心 命名空间
namespace
:
863ba3d3-1800-4287-9887-81419f85fca4
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
# 指定redis 数据库为5 , 上线时候需要根据实际情况修改
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
primeton
:
baseUrl
:
http://127.0.0.1:8080/default/
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-supervision-prod8112.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8112
# 应用名称
spring
:
application
:
name
:
loit-sj-supervision
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
ip
:
39.99.158.58
# 注册中心 命名空间
namespace
:
8d4dca07-5ce9-48cc-9566-aaa753bae937
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
# datasource:
#
#
# url: jdbc:mysql://101.200.184.12:3316/scgsv?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
# type: com.alibaba.druid.pool.DruidDataSource
# username: root
# password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
# initialSize: 5
# minIdle: 5
# maxActive: 20
# maxWait: 60000
# timeBetweenEvictionRunsMillis: 60000
# minEvictableIdleTimeMillis: 300000
# validationQuery: SELECT 1
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/SV_SUPERVISION_TEST
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone
mapperLocations
:
classpath*:com/loit/sone/supervision/modules/**/dao/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-sj-task-prod8108.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8108
# 应用名称
spring
:
application
:
name
:
loit-sj-task
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.100.254.140:8103
ip
:
172.16.50.149
# 注册中心 命名空间
namespace
:
ad1fca62-bdec-4d21-9e50-3649d69e1176
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
url
:
jdbc:kingbase8://39.99.158.58:54321/TK_TASK_DEV
username
:
SYSTEM
password
:
123456
# url: jdbc:kingbase8://localhost:54321/TK_TASK
# username: SYSTEM
# password: admin
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
# redis 数据库
redis
:
database
:
5
host
:
39.99.158.58
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
123456
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.sone.task.modules.*.entity
mapperLocations
:
classpath*:com/loit/sone/task/modules/*/dao/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://123456@39.99.158.58:6379/5
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.sone
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
genid
:
switch
:
true
#是否开启分布式ID拦截,默认为false,不启动请手动代码方式设置主键值,启用时代码无需设置主键值,有拦截器设置主键值,此时如果主键值已设置,拦截器也会使用业务开发人员设置的值,不会对其重新赋值
type
:
leaf
#目前支持leaf,uuid 分布式ID
leaf
:
initdata
:
true
#如果使用leaf,初始化数据开关是会遍历所连接的数据下所有表,表的第一列存储是数字类型的,会将取该列的最大值+1作为max_id,
step
:
100
# 开发环境设置100即可
# step: 1000 #每次从中取1000个存放到内存,并发高时可将此值设置大点,如服务器1:1-1000 服务器2 1001-2000
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/bin/applicationConfit/sone/loit-web-portal-prod8126.yaml
0 → 100644
浏览文件 @
0adf523e
server
:
#端口号
port
:
8126
# 应用名称
spring
:
application
:
name
:
loit-web-portal
main
:
#覆盖之前相同名称的bean
allow-bean-definition-overriding
:
true
cloud
:
# 注册中心地址
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.99.158.58:8848
# 注册中心 命名空间
namespace
:
fc7a961d-474e-4710-99ab-e1f982f0cbb6
# 限流
sentinel
:
datasource
:
# Sentinel 流控规则配置
ds
:
nacos
:
dataId
:
${spring.application.name}-sentinel
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 流控
rule-type
:
flow
# Sentinel 降级规则配置
ds1
:
nacos
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
namespace
:
${spring.cloud.nacos.discovery.namespace}
dataId
:
${spring.application.name}-degrade-rules
#数据类型
data-type
:
json
#所属分组
groupId
:
DEFAULT_GROUP
# 规则类型 降级
rule-type
:
degrade
#kinbase 数据源
datasource
:
url
:
jdbc:kingbase8://39.99.158.58:54321/WEB_PORTAL_DEV
username
:
SYSTEM
password
:
123456
initialSize
:
5
minIdle
:
5
maxActive
:
20
maxWait
:
60000
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.kingbase8.Driver
# redis 数据库
redis
:
database
:
0
host
:
39.100.254.140
port
:
6379
jedis
:
pool
:
max-idle
:
20
min-idle
:
0
max-active
:
8
max-wait
:
-1
timeout
:
10000
password
:
portal2019
# json框架jackson配置
jackson
:
# 设置全局时区
time-zone
:
"
GMT+8"
# mybatis配置
#mybatis:
# configuration:
# map-underscore-to-camel-case: true
# typeAliasesPackage: com.loit.sample
# mapperLocations: classpath*:mapper/**/*.xml
mybatis
:
configuration
:
map-underscore-to-camel-case
:
true
typeAliasesPackage
:
com.loit.webPortal
mapperLocations
:
classpath*:mapper/**/*.xml
feign
:
client
:
config
:
default
:
connectTimeout
:
100000
ReadTimeout
:
100000
#开启sentinel 熔断
sentinel
:
enabled
:
true
# jetcache使用
jetcache
:
areaInCacheName
:
false
# 控制台输出统计数据,统计间隔,0表示不统计
statIntervalMinutes
:
5
local
:
default
:
limit
:
300
expireAfterWriteInMillis
:
100000
# 缓存类型。tair、redis为当前支持的远程缓存;linkedhashmap、caffeine为当前支持的本地缓存类型
type
:
linkedhashmap
keyConvertor
:
fastjson
remote
:
default
:
keyConvertor
:
fastjson
valueEncoder
:
java
valueDecoder
:
java
poolConfig
:
minIdle
:
5
maxIdle
:
20
maxTotal
:
50
type
:
redis.lettuce
uri
:
redis://portal2019@39.100.254.140:6379/
#redis://password@127.0.0.1:6379/0
loit
:
swagger
:
basePackage
:
com.loit.webPortal
# 单点登录配置
cas
:
app
:
access_token_cookie_tim_out
:
43200
logging
:
config
:
http://${spring.cloud.nacos.discovery.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&tenant=${spring.cloud.nacos.discovery.namespace}&dataId=logback-logstash.xml
schedule
:
hostname
:
iZ8vb5di5ol6ae5n8prlaoZ
gray
:
# 是否启用灰度(默认为false)
enabled
:
true
server
:
# 灰度管控端的url
url
:
http://loit-gray-server
loit-build-component/loit-build-deploy-env/src/main/resources/deployInfo.xlsx
浏览文件 @
0adf523e
No preview for this file type
loit-build-component/loit-build-deploy-env/src/main/resources/template/push/jenkinsJobCreateZww.ftl
0 → 100644
浏览文件 @
0adf523e
curl -X POST -u admin:adminloit -H "Content-Type:application/xml" -d "@config.xml" http://192.169.201.14:12012/createItem?name=${deployJobName}
loit-build-component/loit-build-deploy-env/src/main/resources/template/push/zww-push-config.ftl
0 → 100644
浏览文件 @
0adf523e
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.13"
>
<gitLabConnection>
gitlab140
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
10
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.TextParameterDefinition>
<name>
jarFile
</name>
<description>
源部署包路径
</description>
<defaultValue></defaultValue>
<trim>
false
</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>
modelServiceName
</name>
<description></description>
<defaultValue>
模块服务名
</defaultValue>
<trim>
false
</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>
projectCode
</name>
<description>
项目编号
</description>
<defaultValue></defaultValue>
<trim>
false
</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>
modelVersion
</name>
<description></description>
<defaultValue>
模块版本
</defaultValue>
<trim>
false
</trim>
</hudson.model.TextParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm
class=
"hudson.scm.NullSCM"
/>
<canRoam>
true
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<authToken>
1156ddb265bc6ec3c190a17d74735d8f28
</authToken>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
echo
"
###################print param begin#############
"
echo
'
jarFile:
'
+ $jarFile
echo
'
modelServiceName:
'
+ $modelServiceName
echo
'
modelVersion:
'
+ $modelVersion
echo
'
projectCode:
'
+ $projectCode
echo
"
################### print param end#############
"
if [ -z
"
$jarFile
"
]; then
echo
'
jarFile must not be empty
'
exit -1
fi
if [ -z
"
$modelServiceName
"
]; then
echo
'
modelServiceName must not be empty
'
exit -1
fi
if [ -z
"
$modelVersion
"
]; then
echo
'
modelVersion must not be empty
'
exit -1
fi
if [ -z
"
$projectCode
"
]; then
echo
'
projectCode must not be empty
'
exit -1
fi
fileName=${r"${"}jarFile##*/}
rm -rf $fileName
# copy jar to docker container
scp -r root@10.0.120.128:$jarFile .
ls -la
# create remote dir
echo
"
##################create remote dir#############
"
destDir=
"
/home/version/push-jar/${r"${"}projectCode}/${r"${"}modelServiceName}/${r"${"}modelVersion}
"
ssh root@10.0.120.26
"
pwd
&&
mkdir -p $destDir
&&
ls -la $destDir
"
echo
"
##################pushing jar begin#############
"
scp -r $fileName root@10.0.120.26:$destDir
echo
"
###################pushing jar end#############
"
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论