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
f058bf12
Commit
f058bf12
authored
Aug 14, 2018
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add nodemon
parent
4b5f2fe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
get_project_config_server.js
qa_shell_script/config_server/get_project_config_server.js
+2
-2
package.json
qa_shell_script/config_server/package.json
+7
-4
No files found.
qa_shell_script/config_server/get_project_config_server.js
View file @
f058bf12
...
@@ -266,8 +266,8 @@ admin.get('/get_attr_from_project/:name/:attr', async function (req, res) {
...
@@ -266,8 +266,8 @@ admin.get('/get_attr_from_project/:name/:attr', async function (req, res) {
}
else
{
}
else
{
p_name
=
req
.
params
.
name
p_name
=
req
.
params
.
name
}
}
let
pro
=
await
getProjectConfigPromiseByDb
({
project_name
:
req
.
params
.
name
});
let
pro
=
await
getProjectConfigPromiseByDb
({
project_name
:
req
.
params
.
name
});
let
val
=
pro
[
0
][
req
.
params
.
attr
];
let
val
=
pro
[
0
][
req
.
params
.
attr
];
res
.
send
(
val
);
res
.
send
(
val
);
});
});
...
...
qa_shell_script/config_server/package.json
View file @
f058bf12
{
{
"name"
:
"config_server"
,
"name"
:
"config_server"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"get_project_config.js"
,
"main"
:
"get_project_config.js"
,
"scripts"
:
{
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"start"
:
"nodemon get_project_config_server"
},
},
"author"
:
""
,
"author"
:
""
,
"license"
:
"ISC"
,
"license"
:
"ISC"
,
...
@@ -14,7 +14,10 @@
...
@@ -14,7 +14,10 @@
"express"
:
"^4.16.2"
,
"express"
:
"^4.16.2"
,
"mongodb"
:
"^2.2.33"
,
"mongodb"
:
"^2.2.33"
,
"mongoose"
:
"^5.0.11"
,
"mongoose"
:
"^5.0.11"
,
"nodemon"
:
"^1.18.3"
,
"pm2"
:
"^2.7.2"
,
"pm2"
:
"^2.7.2"
,
"request"
:
"^2.83.0"
"request"
:
"^2.83.0"
}
},
}
"devDependencies"
:
{},
"description"
:
""
}
\ 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