Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qaHome
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
qaHome
Commits
ae494f25
Commit
ae494f25
authored
Oct 10, 2018
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目配置不查询海外,按服役排序
parent
da3757b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
4 deletions
+62
-4
server.js
app/qa-home/controller/proconfig/server.js
+4
-4
access.log
logs/access.log
+58
-0
No files found.
app/qa-home/controller/proconfig/server.js
View file @
ae494f25
...
@@ -125,10 +125,10 @@ exports.fllush_redis.__method__ = 'get';
...
@@ -125,10 +125,10 @@ exports.fllush_redis.__method__ = 'get';
exports
.
get_project_by_type
=
async
function
()
{
exports
.
get_project_by_type
=
async
function
()
{
await
this
.
bindDefault
();
await
this
.
bindDefault
();
let
re
=
[];
let
re
=
[];
let
javas
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
java
"
},
{
project_name
:
1
});
let
javas
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
java
"
,
des
:
{
$ne
:
'
海外
'
}
},
{
is_active
:
-
1
,
project_name
:
1
});
let
uis
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
ui
"
},
{
project_name
:
1
});
let
uis
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
ui
"
,
des
:
{
$ne
:
'
海外
'
}
},
{
is_active
:
-
1
,
project_name
:
1
});
let
nodes
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
node
"
},
{
project_name
:
1
});
let
nodes
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
node
"
,
des
:
{
$ne
:
'
海外
'
}
},
{
is_active
:
-
1
,
project_name
:
1
});
let
pythons
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
python
"
},
{
project_name
:
1
});
let
pythons
=
await
this
.
mongo
(
"
ProConfig
"
).
getProjectByQuery
({
type
:
"
python
"
,
des
:
{
$ne
:
'
海外
'
}
},
{
is_active
:
-
1
,
project_name
:
1
});
re
.
push
({
name
:
"
java
"
,
data
:
javas
});
re
.
push
({
name
:
"
java
"
,
data
:
javas
});
re
.
push
({
name
:
"
ui
"
,
data
:
uis
});
re
.
push
({
name
:
"
ui
"
,
data
:
uis
});
...
...
logs/access.log
View file @
ae494f25
...
@@ -13,3 +13,61 @@
...
@@ -13,3 +13,61 @@
[2018-04-27T11:37:41.194] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: true use_cache: true user: undefined
[2018-04-27T11:37:41.194] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: true use_cache: true user: undefined
[2018-04-27T11:38:31.811] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: true use_cache: true user: undefined
[2018-04-27T11:38:31.811] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: true use_cache: true user: undefined
[2018-04-27T11:38:55.907] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: false use_cache: true user: undefined
[2018-04-27T11:38:55.907] [INFO] cheese - active: db_sync namespace: chenxingchun sync_db_name: cash_loan_flow not_delete_business_data: false use_cache: true user: undefined
[2018-10-10T17:07:36.367] [INFO] cheese - { namespace: '',
active: 'update_proconfig',
microservice_name: 'baitiao-guangda',
user: 'undefined',
user_mail: 'undefined',
detail:
{ git_lab: 'git.quantgroup.cn',
port: 7089,
is_active: true,
type: 'java',
git_path: 'git@git.quantgroup.cn:baitiao/baitiao-guangda.git',
git_path_group: 'baitiao',
project_name: 'baitiao-guangda',
host_name: 'gdxd-bt.xyqb.com',
log_path: 'baitiao-guangda.log',
config_path: 'application.properties',
des: 'guangda-server',
auth: '',
jar_path: './target',
command1: '',
command2: '',
command3: '',
command4: '',
command5: '',
build_command: 'mvn clean package -Ptest -Dmaven.test.skip=true',
start_command:
'nohup java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/baitiao-guangda.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar baitiao-guangda.jar --worker 1 --currentWorker 1 -t',
stop_command: '' },
create_time: 2018-10-10T09:07:36.360Z }
[2018-10-10T17:08:12.195] [INFO] cheese - { namespace: '',
active: 'update_proconfig',
microservice_name: 'baitiao-guangda',
user: 'undefined',
user_mail: 'undefined',
detail:
{ git_lab: 'git.quantgroup.cn',
port: 7089,
is_active: false,
type: 'java',
git_path: 'git@git.quantgroup.cn:baitiao/baitiao-guangda.git',
git_path_group: 'baitiao',
project_name: 'baitiao-guangda',
host_name: 'gdxd-bt.xyqb.com',
log_path: 'baitiao-guangda.log',
config_path: 'application.properties',
des: 'guangda-server',
auth: '',
jar_path: './target',
command1: '',
command2: '',
command3: '',
command4: '',
command5: '',
build_command: 'mvn clean package -Ptest -Dmaven.test.skip=true',
start_command:
'nohup java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/baitiao-guangda.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar baitiao-guangda.jar --worker 1 --currentWorker 1 -t',
stop_command: '' },
create_time: 2018-10-10T09:08:12.194Z }
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