</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>
</executions>
</plugin>
-
+ -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
</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>
<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>
</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>
</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>
<id>ecomp-staging</id>
<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>
<outputDirectory>${basedir}/sdc-frontend</outputDirectory>
<resources>
<resource>
- <directory>${project.parent.basedir}/openecomp-ui/dist</directory>
+ <directory>${project.parent.basedir}/openecomp-ui/target</directory>
<includes>
- <include>onboarding*.war</include>
+ <include>onboarding-fe-${project.version}.war</include>
</includes>
</resource>
</resources>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.16.5</version>
+ <version>0.19.1</version>
<configuration>
<verbose>true</verbose>
<alias>sdc-backend</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>sdc-backend</dockerFileDir>
- <dockerFile>../../../sdc-backend/Dockerfile</dockerFile>
+ <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
</build>
</image>
<alias>sdc-frontend</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>sdc-frontend</dockerFileDir>
- <dockerFile>../../../sdc-frontend/Dockerfile</dockerFile>
+ <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
</build>
</image>
<alias>sdc-elasticsearch</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>sdc-elasticsearch</dockerFileDir>
- <dockerFile>../../../sdc-elasticsearch/Dockerfile</dockerFile>
+ <dockerFileDir>${project.basedir}/sdc-elasticsearch</dockerFileDir>
</build>
</image>
<alias>sdc-kibana</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>sdc-kibana</dockerFileDir>
- <dockerFile>../../../sdc-kibana/Dockerfile</dockerFile>
+ <dockerFileDir>${project.basedir}/sdc-kibana</dockerFileDir>
</build>
</image>
- <!-- Build cassandra image
+ <!-- Build cassandra image -->
<image>
<name>openecomp/sdc-cassandra:%l</name>
<alias>sdc-cassandra</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>sdc-cassandra</dockerFileDir>
- <dockerFile>../../../sdc-cassandra/Dockerfile</dockerFile>
+ <dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir>
</build>
</image>
- -->
</images>
</configuration>
do
docker rm -f ${X}
done
+
exit ${res}
fi
echo "check user existance: OK"
+
else
docker exec -it ${docker_ids} bash
fi
+
if [ $? -ne 0 ]; then
exit 1
fi
+
print $1" "d" "$3" "$8
next
}' > `echo ${FILE}|awk -F"." '{ print $1".csv"}'`
+
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
+
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
+
fi
while true; do sleep 2; done
+
while true; do sleep 2; done
+
chef-solo -c solo.rb -o recipe[sdc-elasticsearch::ES_6_create_kibana_dashboard_virtualization]
while true; do sleep 2; done
+
cd /var/lib/jetty
/docker-entrypoint.sh
+
chef-solo -c solo.rb -E ${CHEFNAME}
/docker-entrypoint.sh kibana
+
fi
#/docker-entrypoint.sh
+