From 8e7f35e2f127d5b2c3691751742dc12c4fba4550 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Fri, 20 Jul 2018 10:23:42 +0800 Subject: Made the directory a maven project Change-Id: I0d5c27fdeab99c79cdd95ce57916a7638f788bcd Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu --- rulemgt-frontend/assembly.xml | 16 +++ rulemgt-frontend/package-lock.json | 53 +++++++--- rulemgt-frontend/pom.xml | 114 +++++++++++++++++++++ .../src/app/correlation-modal/modal.component.ts | 2 +- 4 files changed, 170 insertions(+), 15 deletions(-) create mode 100644 rulemgt-frontend/assembly.xml create mode 100644 rulemgt-frontend/pom.xml (limited to 'rulemgt-frontend') diff --git a/rulemgt-frontend/assembly.xml b/rulemgt-frontend/assembly.xml new file mode 100644 index 0000000..ae7f726 --- /dev/null +++ b/rulemgt-frontend/assembly.xml @@ -0,0 +1,16 @@ + + holmes-rulemgt-frontend + + tar.gz + + false + + + dist + /holmes + + + + diff --git a/rulemgt-frontend/package-lock.json b/rulemgt-frontend/package-lock.json index ab55cb4..69f96d6 100644 --- a/rulemgt-frontend/package-lock.json +++ b/rulemgt-frontend/package-lock.json @@ -137,7 +137,8 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", @@ -264,7 +265,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -276,6 +278,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -401,7 +404,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -534,6 +538,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -11839,7 +11844,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -11860,12 +11866,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -11880,17 +11888,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -12007,7 +12018,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -12019,6 +12031,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -12033,6 +12046,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -12040,12 +12054,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.2.4", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -12144,7 +12160,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -12156,6 +12173,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -12277,6 +12295,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -12296,6 +12315,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -12339,7 +12359,8 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.2", @@ -12919,12 +12940,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -12944,7 +12967,8 @@ "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", @@ -13092,6 +13116,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } diff --git a/rulemgt-frontend/pom.xml b/rulemgt-frontend/pom.xml new file mode 100644 index 0000000..1891ef6 --- /dev/null +++ b/rulemgt-frontend/pom.xml @@ -0,0 +1,114 @@ + + + + 4.0.0 + + org.onap.holmes.rule-management + holmes-rulemgt-parent + 1.1.0-SNAPSHOT + + + holmes-rulemgt-frontend + holmes-rulemgt-frontend + pom + + + + + org.codehaus.mojo + exec-maven-plugin + 1.5.0 + + + angular-cli install + + . + cmd + + /c + "npm install --prefer-offline" + + + generate-resources + + exec + + + + angular-cli build + + . + cmd + + /c + "ng build --prod" + + + generate-resources + + exec + + + + + + org.apache.maven.plugins + maven-war-plugin + + false + + src/**, + config/**, + foo/**, + i18n/**, + node/**, + node_modules/**, + public/**, + *.json, + *.js + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.0.0 + + holmes-rulemgt-frontend-${project.version} + + assembly.xml + + false + target/ + + + + holmes-rulemgt-frontend + package + + single + + + + + + + diff --git a/rulemgt-frontend/src/app/correlation-modal/modal.component.ts b/rulemgt-frontend/src/app/correlation-modal/modal.component.ts index d2861bf..8fff7cd 100644 --- a/rulemgt-frontend/src/app/correlation-modal/modal.component.ts +++ b/rulemgt-frontend/src/app/correlation-modal/modal.component.ts @@ -25,7 +25,7 @@ declare var $: any; }) export class SifModalComponent implements OnInit { constructor(private modalServer: ModalService) { }; - private modalTitle = 'modalTitleDefault'; + modalTitle = 'modalTitleDefault'; modalBodyMessage = 'modalBodyMessageDefault'; closeBtnTitle = 'closeBtnTitleDefault'; -- cgit 1.2.3-korg