diff options
-rw-r--r-- | .gitignore | 36 | ||||
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | usecaseui-common/pom.xml | 10 | ||||
-rw-r--r-- | usecaseui-holmes/pom.xml | 6 | ||||
-rw-r--r-- | usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts | 4 | ||||
-rw-r--r-- | usecaseui-holmes/src/main/webapp/alarm/index.html | 3 | ||||
-rw-r--r-- | usecaseui-holmes/src/main/webapp/i18n/en.json (renamed from usecaseui-holmes/src/main/webapp/i18n/en-US.json) | 0 | ||||
-rw-r--r-- | usecaseui-holmes/src/main/webapp/i18n/zh.json (renamed from usecaseui-holmes/src/main/webapp/i18n/zh-CN.json) | 0 |
8 files changed, 53 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d3557889 --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +# Ignore Mac temp files +.DS_Store + +# Ignore Vim temporary files +.*.sw? + +# Ignore changes to the JJB Configuration File +jenkins.ini + +# We don't want .netrc files since they're credential files +.netrc + +# Maven +target/ + +# Vagrant +.vagrant + +# IntelliJ +.idea/ +*.iml + +# Eclipse +.project +/.pydevproject + +# Python +.tox/ +__pycache__/ +*.pyc + +# node +node/ +node_modules/ +foo/ +holmes/ @@ -30,9 +30,9 @@ <name>usecase-ui</name> <modules> + <module>usecaseui-holmes</module> <module>usecaseui-common</module> <module>usecaseui-monitor</module> <module>usecaseui-lcm</module> - <module>usecaseui-holmes</module> </modules> </project> diff --git a/usecaseui-common/pom.xml b/usecaseui-common/pom.xml index 5a37c929..0b004de6 100644 --- a/usecaseui-common/pom.xml +++ b/usecaseui-common/pom.xml @@ -48,6 +48,12 @@ <version>1.0.0-SNAPSHOT</version> <type>war</type> </dependency> + <dependency> + <groupId>org.onap.usecase-ui</groupId> + <artifactId>usecaseui-holmes</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> <dependency> <groupId>org.apache.tiles</groupId> <artifactId>tiles-jsp</artifactId> @@ -82,6 +88,10 @@ <groupId>org.onap.usecase-ui</groupId> <artifactId>usecaseui-lcm</artifactId> </overlay> + <overlay> + <groupId>org.onap.usecase-ui</groupId> + <artifactId>usecaseui-holmes</artifactId> + </overlay> </overlays> </configuration> </plugin> diff --git a/usecaseui-holmes/pom.xml b/usecaseui-holmes/pom.xml index 5ed5f50f..3795fbc2 100644 --- a/usecaseui-holmes/pom.xml +++ b/usecaseui-holmes/pom.xml @@ -24,10 +24,10 @@ </parent> <modelVersion>4.0.0</modelVersion> - <artifactId>holmes</artifactId> + <artifactId>usecaseui-holmes</artifactId> <packaging>war</packaging> - <version>1.1.0-SNAPSHOT</version> - <name>usecase-ui/holmes</name> + <version>1.0.0-SNAPSHOT</version> + <name>usecase-ui/usecaseui-holmes</name> <build> <plugins> diff --git a/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts b/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts index 7055837a..076c9517 100644 --- a/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts +++ b/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts @@ -24,7 +24,7 @@ import { ModalService } from '../correlation-modal/modal.service'; @Injectable() export class AlarmRuleService { - private ruleUrl = "/api/correlation-mgt/v1/rule"; + private ruleUrl = "/api/holmes-rule-mgmt/v1/rule"; private headers = new Headers({ 'Content-Type': 'application/json' }); constructor(private http: Http, private modalService: ModalService, private router: Router) { } @@ -74,7 +74,7 @@ export class AlarmRuleService { } checkContent(ruleContent: string): Promise<any> { - const url = "/api/correlation-engine/v1/rule"; + const url = "/api/holmes-engine-mgmt/v1/rule"; let data = { content: ruleContent }; return this.http .post(url, JSON.stringify(data), { headers: this.headers }) diff --git a/usecaseui-holmes/src/main/webapp/alarm/index.html b/usecaseui-holmes/src/main/webapp/alarm/index.html index 8c1c32e2..bd82c49d 100644 --- a/usecaseui-holmes/src/main/webapp/alarm/index.html +++ b/usecaseui-holmes/src/main/webapp/alarm/index.html @@ -17,7 +17,7 @@ <html> <head> - <base href="/holmes/"> + <base href="/usecase-ui/holmes/"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--<script src="../public/thirdparty/js/jquery_1.12.4.min.js"></script> @@ -36,7 +36,6 @@ <body style="overflow: auto"> <remote-config>Loading...</remote-config> - </body> </html>
\ No newline at end of file diff --git a/usecaseui-holmes/src/main/webapp/i18n/en-US.json b/usecaseui-holmes/src/main/webapp/i18n/en.json index 5d824fe5..5d824fe5 100644 --- a/usecaseui-holmes/src/main/webapp/i18n/en-US.json +++ b/usecaseui-holmes/src/main/webapp/i18n/en.json diff --git a/usecaseui-holmes/src/main/webapp/i18n/zh-CN.json b/usecaseui-holmes/src/main/webapp/i18n/zh.json index 565c4578..565c4578 100644 --- a/usecaseui-holmes/src/main/webapp/i18n/zh-CN.json +++ b/usecaseui-holmes/src/main/webapp/i18n/zh.json |