From 7c10ad301cd3fea79af61f1d092b2a3103f7ec11 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Mon, 23 Jul 2018 16:47:42 +0800 Subject: Added nginx Change-Id: Iffc0e337cbf59f9cae514d85eb3e1c83d0f664f9 Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu --- rulemgt-frontend/.angular-cli.json | 16 ++++++++++------ rulemgt-frontend/package.json | 4 ++-- .../src/app/correlation-ruleInfo/ruleInfo.component.ts | 1 - rulemgt-frontend/src/index.html | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) (limited to 'rulemgt-frontend') diff --git a/rulemgt-frontend/.angular-cli.json b/rulemgt-frontend/.angular-cli.json index 67cb647..b3795c9 100644 --- a/rulemgt-frontend/.angular-cli.json +++ b/rulemgt-frontend/.angular-cli.json @@ -20,14 +20,18 @@ "prefix": "app", "styles": [ "styles.css", - "./assets/common/css/fileupload.css", - "./assets/common/css/popModal.css", - "./assets/framework/browser/css/open-ostyle.css", - "./assets/framework/browser/thirdparty/css/bootstrap.min.css", - "./assets/framework/browser/thirdparty/css/magic-check.css" + "assets/common/css/fileupload.css", + "assets/common/css/popModal.css", + "assets/framework/browser/css/open-ostyle.css", + "assets/framework/browser/thirdparty/css/bootstrap.min.css", + "assets/framework/browser/thirdparty/css/magic-check.css" ], "scripts": [ - "../node_modules/jquery/dist/jquery.min.js" + "../node_modules/jquery/dist/jquery.min.js", + "assets/common/js/jQuery-File-Upload/js/jquery.ui.widget.js", + "assets/common/js/jQuery-File-Upload/js/vendor/jquery.ui.widget.js", + "assets/common/js/jQuery-File-Upload/js/jquery.iframe-transport.js", + "assets/common/js/jQuery-File-Upload/js/jquery.fileupload.js" ], "environmentSource": "environments/environment.ts", "environments": { diff --git a/rulemgt-frontend/package.json b/rulemgt-frontend/package.json index 6ba05bf..307bbfa 100644 --- a/rulemgt-frontend/package.json +++ b/rulemgt-frontend/package.json @@ -1,7 +1,7 @@ { - "name": "alarm-analysis", + "name": "holmes", "version": "1.0.0", - "description": "alarm-analysis", + "description": "holmes", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts b/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts index 7f8d375..36d721c 100644 --- a/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts +++ b/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts @@ -38,7 +38,6 @@ export class RuleInfo implements OnInit { let msg = { title: 'exception_content_error', message: 'exception_package_error' }; this.modalService.getmodalObservable.next(msg); } else { - this.alarmRuleService.checkContent(this.queryRule.content) .then(res => { if (res.status == 200) { diff --git a/rulemgt-frontend/src/index.html b/rulemgt-frontend/src/index.html index c8da64f..269bee8 100644 --- a/rulemgt-frontend/src/index.html +++ b/rulemgt-frontend/src/index.html @@ -17,7 +17,7 @@ - + -- cgit 1.2.3-korg