aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorml636r <ml636r@att.com>2017-02-20 21:10:54 +0200
committerml636r <ml636r@att.com>2017-02-20 21:10:54 +0200
commit0649e652577e96db0efc80bafec0bdd21518d0b8 (patch)
tree201ac06ed1fb115ea73c9368fddfa08685b6afb4
parent30e7cdaf4621e20ff2a2e2d81ec870c41d1d5e1f (diff)
Fix UI and docker
Change-Id: I5ac193d7382a59df64a1e56e5b0388915e3f9a13 Signed-off-by: ml636r <ml636r@att.com>
-rw-r--r--catalog-ui/pom.xml79
-rw-r--r--openecomp-ui/pom.xml10
-rw-r--r--pom.xml14
-rw-r--r--sdc-os-chef/scripts/docker_clean.sh1
-rw-r--r--sdc-os-chef/scripts/docker_health.sh1
-rw-r--r--sdc-os-chef/scripts/docker_login.sh1
-rw-r--r--sdc-os-chef/scripts/docker_run.sh1
-rw-r--r--sdc-os-chef/scripts/docker_stats.sh1
-rw-r--r--sdc-os-chef/scripts/docker_watchdog.sh1
-rw-r--r--sdc-os-chef/scripts/restart_docker.sh1
-rw-r--r--sdc-os-chef/sdc-backend/startup.sh1
-rw-r--r--sdc-os-chef/sdc-cassandra/startup.sh1
-rw-r--r--sdc-os-chef/sdc-elasticsearch/startup.sh1
-rw-r--r--sdc-os-chef/sdc-frontend/startup.sh1
-rw-r--r--sdc-os-chef/sdc-kibana/startup.sh1
-rw-r--r--sdc-os-chef/sdc-sanity/startup.sh1
16 files changed, 74 insertions, 42 deletions
diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml
index 101537e4c2..09d42d539d 100644
--- a/catalog-ui/pom.xml
+++ b/catalog-ui/pom.xml
@@ -53,7 +53,53 @@
</executions>
</plugin>
+
<plugin>
+ <groupId>io.wcm.maven.plugins</groupId>
+ <artifactId>nodejs-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <tasks>
+ <npmInstallTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ </npmInstallTask>
+ <nodeJsTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <moduleName>bower</moduleName>
+ <arguments>
+ <argument>install</argument>
+ </arguments>
+ </nodeJsTask>
+ <nodeJsTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <moduleName>grunt</moduleName>
+ <arguments>
+ <argument>build</argument>
+ </arguments>
+ </nodeJsTask>
+ <!-- <npmInstallTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ </npmInstallTask>
+ <nodeJsTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <moduleName>gulp</moduleName>
+ <arguments>
+ <argument>build</argument>
+ </arguments>
+ </nodeJsTask> -->
+ </tasks>
+ </configuration>
+ </plugin>
+
+
+ <!-- <plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.3</version>
@@ -137,7 +183,7 @@
</executions>
</plugin>
-
+ -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
@@ -164,37 +210,6 @@
</build>
<profiles>
- <profile>
- <id>WINDOWS_ONLY</id>
- <activation>
- <os>
- <family>Windows</family>
- </os>
- </activation>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>exec-maven-plugin</artifactId>
- <groupId>org.codehaus.mojo</groupId>
- <version>1.4.0</version>
- <executions>
- <execution>
- <id>execute grant build</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>build_catalog_ui.bat</executable>
- <workingDirectory>${basedir}</workingDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
<profile>
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index 1ff3a6ea61..ee6d32dd9a 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -13,13 +13,6 @@
<name>onboarding-ui-war</name>
<packaging>war</packaging>
- <repositories>
- <repository>
- <id>node</id>
- <name>Node</name>
- <url>https://maven-nodejs-proxy.pvtool.org/</url>
- </repository>
- </repositories>
<build>
<plugins>
@@ -36,9 +29,6 @@
</execution>
</executions>
<configuration>
- <npmVersion>4.3.0</npmVersion>
- <nodeJsVersion>7.5.0</nodeJsVersion>
- <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
<tasks>
<npmInstallTask>
<workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
diff --git a/pom.xml b/pom.xml
index 51e2a6e5af..cbee9e9b89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -577,6 +577,15 @@
</dependencies>
</plugin>
+ <plugin>
+ <groupId>io.wcm.maven.plugins</groupId>
+ <artifactId>nodejs-maven-plugin</artifactId>
+ <configuration>
+ <npmVersion>4.3.0</npmVersion>
+ <nodeJsVersion>7.5.0</nodeJsVersion>
+ <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -809,6 +818,11 @@
<name>Staging Repository</name>
<url>${nexus.proxy}/content/repositories/staging/</url>
</repository>
+ <repository>
+ <id>node</id>
+ <name>Node</name>
+ <url>https://maven-nodejs-proxy.pvtool.org/</url>
+ </repository>
<repository>
<id>ecomp-snapshots</id>
<name>Snapshots Repository</name>
diff --git a/sdc-os-chef/scripts/docker_clean.sh b/sdc-os-chef/scripts/docker_clean.sh
index 0b2227d45a..6fe1ff615d 100644
--- a/sdc-os-chef/scripts/docker_clean.sh
+++ b/sdc-os-chef/scripts/docker_clean.sh
@@ -4,3 +4,4 @@ for X in ${docker_ids}
do
docker rm -f ${X}
done
+
diff --git a/sdc-os-chef/scripts/docker_health.sh b/sdc-os-chef/scripts/docker_health.sh
index 6fdf826084..832b25a237 100644
--- a/sdc-os-chef/scripts/docker_health.sh
+++ b/sdc-os-chef/scripts/docker_health.sh
@@ -20,3 +20,4 @@ then
exit ${res}
fi
echo "check user existance: OK"
+
diff --git a/sdc-os-chef/scripts/docker_login.sh b/sdc-os-chef/scripts/docker_login.sh
index 15544f4d24..6309fda20e 100644
--- a/sdc-os-chef/scripts/docker_login.sh
+++ b/sdc-os-chef/scripts/docker_login.sh
@@ -6,3 +6,4 @@ if [ -z "$docker_ids" ]; then
else
docker exec -it ${docker_ids} bash
fi
+
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 1b3f370d27..dcc603c154 100644
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -126,3 +126,4 @@ echo -e ""
if [ $? -ne 0 ]; then
exit 1
fi
+
diff --git a/sdc-os-chef/scripts/docker_stats.sh b/sdc-os-chef/scripts/docker_stats.sh
index 9258b3471d..0047fe4df0 100644
--- a/sdc-os-chef/scripts/docker_stats.sh
+++ b/sdc-os-chef/scripts/docker_stats.sh
@@ -34,3 +34,4 @@ grep -v "^\-" ${FILE} |grep -v ^CONT| awk 'BEGIN {
print $1" "d" "$3" "$8
next
}' > `echo ${FILE}|awk -F"." '{ print $1".csv"}'`
+
diff --git a/sdc-os-chef/scripts/docker_watchdog.sh b/sdc-os-chef/scripts/docker_watchdog.sh
index cc8452537b..cd6d3f3210 100644
--- a/sdc-os-chef/scripts/docker_watchdog.sh
+++ b/sdc-os-chef/scripts/docker_watchdog.sh
@@ -41,3 +41,4 @@ else
docker pull ecomp-nexus:51212/ecomp/sdc-frontend:${RELEASE}
docker run --detach --name sdc-FE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 2g --memory-swap=2g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume /data/ASDC/logs/FE/:/var/lib/jetty/logs --volume /data/ASDC/environments:/root/chef-solo/environments --publish 9443:9443 --publish 8181:8181 ecomp-nexus:51212/ecomp/sdc-frontend:${RELEASE}
fi
+
diff --git a/sdc-os-chef/scripts/restart_docker.sh b/sdc-os-chef/scripts/restart_docker.sh
index 619f51af5c..8c645662a6 100644
--- a/sdc-os-chef/scripts/restart_docker.sh
+++ b/sdc-os-chef/scripts/restart_docker.sh
@@ -95,3 +95,4 @@ case ${DOCKER} in
docker run --detach --name sdc-FE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 2g --memory-swap=2g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume /data/logs/FE/:/var/lib/jetty/logs --volume /data/environments:/root/chef-solo/environments --publish 9443:9443 --publish 8181:8181 ecomp-nexus:${PORT}/ecomp/sdc-frontend:${RELEASE}
;;
esac
+
diff --git a/sdc-os-chef/sdc-backend/startup.sh b/sdc-os-chef/sdc-backend/startup.sh
index d795ddde67..7edc7a131a 100644
--- a/sdc-os-chef/sdc-backend/startup.sh
+++ b/sdc-os-chef/sdc-backend/startup.sh
@@ -38,3 +38,4 @@ else
fi
while true; do sleep 2; done
+
diff --git a/sdc-os-chef/sdc-cassandra/startup.sh b/sdc-os-chef/sdc-cassandra/startup.sh
index 61a5109fa1..2bfee3211c 100644
--- a/sdc-os-chef/sdc-cassandra/startup.sh
+++ b/sdc-os-chef/sdc-cassandra/startup.sh
@@ -25,3 +25,4 @@ cd /tmp/
while true; do sleep 2; done
+
diff --git a/sdc-os-chef/sdc-elasticsearch/startup.sh b/sdc-os-chef/sdc-elasticsearch/startup.sh
index b9e5fd6edf..0a602ade56 100644
--- a/sdc-os-chef/sdc-elasticsearch/startup.sh
+++ b/sdc-os-chef/sdc-elasticsearch/startup.sh
@@ -17,3 +17,4 @@ chef-solo -c solo.rb -o recipe[sdc-elasticsearch::ES_5_create_monitoring_templat
chef-solo -c solo.rb -o recipe[sdc-elasticsearch::ES_6_create_kibana_dashboard_virtualization]
while true; do sleep 2; done
+
diff --git a/sdc-os-chef/sdc-frontend/startup.sh b/sdc-os-chef/sdc-frontend/startup.sh
index 2a3d4d47f5..ee6e7f528a 100644
--- a/sdc-os-chef/sdc-frontend/startup.sh
+++ b/sdc-os-chef/sdc-frontend/startup.sh
@@ -10,3 +10,4 @@ sed -i '/^set -e/aTMPDIR=${JETTY_BASE}\/temp' /docker-entrypoint.sh
cd /var/lib/jetty
/docker-entrypoint.sh
+
diff --git a/sdc-os-chef/sdc-kibana/startup.sh b/sdc-os-chef/sdc-kibana/startup.sh
index b16aa87a7c..0efa850fba 100644
--- a/sdc-os-chef/sdc-kibana/startup.sh
+++ b/sdc-os-chef/sdc-kibana/startup.sh
@@ -5,3 +5,4 @@ cd /root/chef-solo
chef-solo -c solo.rb -E ${CHEFNAME}
/docker-entrypoint.sh kibana
+
diff --git a/sdc-os-chef/sdc-sanity/startup.sh b/sdc-os-chef/sdc-sanity/startup.sh
index c9faae62e5..31a5d49f3a 100644
--- a/sdc-os-chef/sdc-sanity/startup.sh
+++ b/sdc-os-chef/sdc-sanity/startup.sh
@@ -15,3 +15,4 @@ else
fi
#/docker-entrypoint.sh
+