Skip to content

add mongoose and add insert log to mongodb #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,6 @@ views
test
.vscode

performanceFile
performanceFile

src/config/
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"json2yaml": "^1.1.0",
"lodash": "^4.17.4",
"log4js": "^2.5.3",
"mongodb": "^3.0.5",
"mongoose": "^5.0.12",
"node-schedule": "^1.3.0",
"orm": "^4.0.2",
"os-utils": "^0.0.14",
Expand Down
5 changes: 0 additions & 5 deletions performanceFile/SoursePerformance.txt

This file was deleted.

359 changes: 0 additions & 359 deletions performanceFile/logPerformance.txt

This file was deleted.

1 change: 0 additions & 1 deletion performanceFile/topPerformance.txt

This file was deleted.

Binary file removed public/API GateWay/.DS_Store
Binary file not shown.
34 changes: 0 additions & 34 deletions public/API GateWay/.vscode/launch.json

This file was deleted.

13 changes: 0 additions & 13 deletions public/API GateWay/.vscode/tasks.json

This file was deleted.

Binary file removed public/API GateWay/app/.DS_Store
Binary file not shown.
44 changes: 22 additions & 22 deletions public/API GateWay/app/app.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
var APIGateway = angular.module('APIGateway', [
'apiGatewayCtrls','ngDialog'
]);//module作为启动点,告诉该项目依赖哪些模块----依赖注入,ng开头是自带的,不用自己定义,如果出现了未定义的模块会报错
var APIGateways = angular.module('APIGateways', [
'apiGatewayCtrls','ngDialog'
]);
var login = angular.module('login', [
'apiGatewayCtrls'
]);
var check = angular.module('check', [
'apiGatewayCtrls'
]);
//APIGateway.config(function($routeProvider) {//配置路由
// $routeProvider.when('/hello',{
// templateUrl:'tpls/hello.html',
// controller:'HelloCtrl'
// }).when('/start', {//路由的控制
// templateUrl: 'index.html',//指明模板
// // controller: 'StartCtrl'//哪个控制器来控制加载
// }).otherwise({
// redirectTo: '/start'
// })
var APIGateway = angular.module('APIGateway', [
'apiGatewayCtrls','ngDialog'
]);//module作为启动点,告诉该项目依赖哪些模块----依赖注入,ng开头是自带的,不用自己定义,如果出现了未定义的模块会报错
var APIGateways = angular.module('APIGateways', [
'apiGatewayCtrls','ngDialog'
]);
var login = angular.module('login', [
'apiGatewayCtrls'
]);
var check = angular.module('check', [
'apiGatewayCtrls'
]);
//APIGateway.config(function($routeProvider) {//配置路由
// $routeProvider.when('/hello',{
// templateUrl:'tpls/hello.html',
// controller:'HelloCtrl'
// }).when('/start', {//路由的控制
// templateUrl: 'index.html',//指明模板
// // controller: 'StartCtrl'//哪个控制器来控制加载
// }).otherwise({
// redirectTo: '/start'
// })
//});
60 changes: 30 additions & 30 deletions public/API GateWay/app/css/abilitywatch.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
body{
padding: 0 !important;
margin: 0 !important;
background-color: #eeeeee;
}
#container{
width: 100%;
height: 100%;
position: relative;
}
.first,.second{
position: relative;
width: 97%;
height: 48%;
box-sizing: border-box;
margin-top: 7%;
margin-left: 3% !important;
}
.top, .bottom{
display: inline-block;
position: relative;
width: 32%;
height: 100%;
}
#totalvisit,#unitvisit,#concurrence,#averagetime,#CPUuse,#memoryuse{
position: relative;
width: 100%;
height: 290px;
border: 1px solid gray;
}
body{
padding: 0 !important;
margin: 0 !important;
background-color: #eeeeee;
}
#container{
width: 100%;
height: 100%;
position: relative;
}
.first,.second{
position: relative;
width: 97%;
height: 48%;
box-sizing: border-box;
margin-top: 7%;
margin-left: 3% !important;
}
.top, .bottom{
display: inline-block;
position: relative;
width: 32%;
height: 100%;
}
#totalvisit,#unitvisit,#concurrence,#averagetime,#CPUuse,#memoryuse{
position: relative;
width: 100%;
height: 290px;
border: 1px solid gray;
}
Loading