Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
config_repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
config_repository
Commits
eff12e14
Commit
eff12e14
authored
Sep 05, 2019
by
tong.li
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.quantgroup.cn:QA/config_repository
parents
fcc95be6
af58383b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
replace_config_qke.yaml
yaml/replace_config_qke.yaml
+81
-0
No files found.
yaml/replace_config_qke.yaml
0 → 100644
View file @
eff12e14
# reg: 匹配的正则
# to: 正则匹配后替换需要的值
# useNamespace: 是否在替换的值前追加 '-[namespace名称]'
# useHost: 是否在替换时使用该项目域名的第一段
# order 默认0, 负数用在自定义属性上,在通用规则前生效
rule
:
&rule
reg
:
'
'
to
:
'
'
useNamespace
:
false
useHost
:
false
order
:
0
lkbDomain
:
&lkbDomain
'
.liangkebang.com'
# 替换xyqbapi
xyqbApiRule
:
&xyqbApiRule
<<
:
*rule
reg
:
'
(?<=\w).xyqb.com'
to
:
*lkbDomain
useNamespace
:
true
# 替换quantgroupApi
quantgroupApiRule
:
&quantgroupApiRule
<<
:
*rule
reg
:
'
(?<=\w).quantgroup.cn'
to
:
*lkbDomain
useNamespace
:
true
# 替换cookie
xyqbCookieRule
:
&xyqbCookieRule
<<
:
*rule
reg
:
'
(?<![\w]).xyqb.com'
to
:
*lkbDomain
qgApiRule
:
&qgApiRule
<<
:
*rule
reg
:
'
(?<=\w).q-gp.com'
to
:
*lkbDomain
useNamespace
:
true
qgCookieRule
:
&qgCookieRule
<<
:
*rule
reg
:
'
(?<![\w]).q-gp.com'
to
:
*lkbDomain
h5AuthRule
:
&h5AuthRule
<<
:
*rule
# reg: 'auth[-a-z]*\.[a-z]*\.[a-z]*'
reg
:
'
auth.quantgroup.cn'
to
:
'
operator.liangkebang.com'
staticRule
:
&staticRule
<<
:
*rule
reg
:
'
//static[-/0-9a-z.]*public'
to
:
*lkbDomain
useNamespace
:
true
useHost
:
true
# 神测用户采集
bnRule
:
&bnRule
<<
:
*rule
reg
:
'
bn[-/0-9a-z.]*liangkebang.net'
to
:
'
bn.xyqb.com'
order
:
8
# 神测测试环境
bnDefaultRule
:
&bnDefaultRule
<<
:
*rule
reg
:
'
/sa\?project=production'
to
:
'
/sa?project=default'
common
:
&common
h5AuthRule
:
*h5AuthRule
qgApiRule
:
*qgApiRule
qgCookieRule
:
*qgCookieRule
quantgroupApiRule
:
*quantgroupApiRule
staticRule
:
*staticRule
xyqbApiRule
:
*xyqbApiRule
xyqbCookieRule
:
*xyqbCookieRule
bnRule
:
*bnRule
bnDefaultRule
:
*bnDefaultRule
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment