Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
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
qa-deploy-utils
Commits
8d53b583
Commit
8d53b583
authored
Aug 09, 2018
by
智勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qa-deploy-utils
parents
d2670c0f
c889f51b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
48 deletions
+117
-48
get_project_config_server.js
qa_shell_script/config_server/get_project_config_server.js
+14
-1
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+103
-47
No files found.
qa_shell_script/config_server/get_project_config_server.js
View file @
8d53b583
...
@@ -256,7 +256,20 @@ admin.get('/get_project_attr/:name', async function (req, res) {
...
@@ -256,7 +256,20 @@ admin.get('/get_project_attr/:name', async function (req, res) {
res
.
send
(
e
)
res
.
send
(
e
)
}
}
});
});
// 获取项目配置具体属性
admin
.
get
(
'
/get_attr_from_project/:name/:attr
'
,
async
function
(
req
,
res
)
{
// res.setHeader("Content-Type", "text");
var
names
=
req
.
params
.
name
.
split
(
"
--
"
);
var
p_name
=
""
;
if
(
names
.
length
>
1
)
{
p_name
=
names
[
0
]
}
else
{
p_name
=
req
.
params
.
name
}
let
pro
=
await
getProjectConfigPromiseByDb
({
project_name
:
req
.
params
.
name
});
let
val
=
pro
[
0
][
req
.
params
.
attr
];
res
.
send
(
val
);
});
// 获取所有域名
// 获取所有域名
admin
.
get
(
'
/get_hosts
'
,
async
function
(
req
,
res
)
{
admin
.
get
(
'
/get_hosts
'
,
async
function
(
req
,
res
)
{
...
...
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
8d53b583
This diff is collapsed.
Click to expand it.
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