summaryrefslogtreecommitdiffstats
path: root/so-monitoring/so-monitoring-service
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@ericsson.com>2018-08-21 17:35:35 +0100
committerByung-Woo Jun <byung-woo.jun@ericsson.com>2018-09-12 19:41:01 +0000
commit412309940cfd09a3698feded384340354178f4fe (patch)
tree8e390760d1f05300a23ecf2bb92949831f533eb4 /so-monitoring/so-monitoring-service
parentdcf0b71f3fd109f2c2e6623ba1d61fffcaa775d2 (diff)
SO Monitoring UI
Change-Id: I6f1c13119d18b8731a02c8559bb1484ec84d6041 Issue-ID: SO-726 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com> Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
Diffstat (limited to 'so-monitoring/so-monitoring-service')
-rw-r--r--so-monitoring/so-monitoring-service/pom.xml21
-rw-r--r--so-monitoring/so-monitoring-service/src/test/resources/application-test.yaml4
2 files changed, 25 insertions, 0 deletions
diff --git a/so-monitoring/so-monitoring-service/pom.xml b/so-monitoring/so-monitoring-service/pom.xml
index 3aeed23291..9992c517c7 100644
--- a/so-monitoring/so-monitoring-service/pom.xml
+++ b/so-monitoring/so-monitoring-service/pom.xml
@@ -87,6 +87,27 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.2</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/target/classes/static/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/../so-monitoring-ui/src/main/frontend/dist/ONAP-SO-Monitor/</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/so-monitoring/so-monitoring-service/src/test/resources/application-test.yaml b/so-monitoring/so-monitoring-service/src/test/resources/application-test.yaml
index be39294c66..a6e93ddccb 100644
--- a/so-monitoring/so-monitoring-service/src/test/resources/application-test.yaml
+++ b/so-monitoring/so-monitoring-service/src/test/resources/application-test.yaml
@@ -3,6 +3,10 @@ server:
tomcat:
max-threads: 50
ssl-enable: false
+spring:
+ datasource:
+ url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;
+ driver-class-name: org.h2.Driver
camunda:
rest:
api: