Fix UI and docker

Change-Id: I5ac193d7382a59df64a1e56e5b0388915e3f9a13
Signed-off-by: ml636r <ml636r@att.com>
diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml
index 101537e..09d42d5 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 1ff3a6e..ee6d32d 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 51e2a6e..cbee9e9 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 0b2227d..6fe1ff6 100644
--- a/sdc-os-chef/scripts/docker_clean.sh
+++ b/sdc-os-chef/scripts/docker_clean.sh
@@ -4,3 +4,4 @@
 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 6fdf826..832b25a 100644
--- a/sdc-os-chef/scripts/docker_health.sh
+++ b/sdc-os-chef/scripts/docker_health.sh
@@ -20,3 +20,4 @@
     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 15544f4..6309fda 100644
--- a/sdc-os-chef/scripts/docker_login.sh
+++ b/sdc-os-chef/scripts/docker_login.sh
@@ -6,3 +6,4 @@
 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 1b3f370..dcc603c 100644
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -126,3 +126,4 @@
 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 9258b34..0047fe4 100644
--- a/sdc-os-chef/scripts/docker_stats.sh
+++ b/sdc-os-chef/scripts/docker_stats.sh
@@ -34,3 +34,4 @@
    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 cc84525..cd6d3f3 100644
--- a/sdc-os-chef/scripts/docker_watchdog.sh
+++ b/sdc-os-chef/scripts/docker_watchdog.sh
@@ -41,3 +41,4 @@
     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 619f51a..8c64566 100644
--- a/sdc-os-chef/scripts/restart_docker.sh
+++ b/sdc-os-chef/scripts/restart_docker.sh
@@ -95,3 +95,4 @@
 		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 d795ddd..7edc7a1 100644
--- a/sdc-os-chef/sdc-backend/startup.sh
+++ b/sdc-os-chef/sdc-backend/startup.sh
@@ -38,3 +38,4 @@
 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 61a5109..2bfee32 100644
--- a/sdc-os-chef/sdc-cassandra/startup.sh
+++ b/sdc-os-chef/sdc-cassandra/startup.sh
@@ -25,3 +25,4 @@
 
 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 b9e5fd6..0a602ad 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_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 2a3d4d4..ee6e7f5 100644
--- a/sdc-os-chef/sdc-frontend/startup.sh
+++ b/sdc-os-chef/sdc-frontend/startup.sh
@@ -10,3 +10,4 @@
 
 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 b16aa87..0efa850 100644
--- a/sdc-os-chef/sdc-kibana/startup.sh
+++ b/sdc-os-chef/sdc-kibana/startup.sh
@@ -5,3 +5,4 @@
 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 c9faae6..31a5d49 100644
--- a/sdc-os-chef/sdc-sanity/startup.sh
+++ b/sdc-os-chef/sdc-sanity/startup.sh
@@ -15,3 +15,4 @@
 fi
 
 #/docker-entrypoint.sh 
+