Change-Id: Ia8834d5f30fac7f6e14735e9828c7541ae7af66c
Issue-ID: HOLMES-146
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
<fileSets>
<fileSet>
<directory>dist</directory>
- <outputDirectory>/holmes</outputDirectory>
+ <outputDirectory>/iui/holmes</outputDirectory>
</fileSet>
</fileSets>
</assembly>
"ng": "ng",
"start": "ng serve",
"build": "ng build --dev",
- "prod": "ng build --prod --base-href /holmes/",
+ "prod": "ng build --prod --base-href /iui/holmes/",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
./bin/initDB.sh $JDBC_USERNAME $JDBC_PASSWORD $DB_NAME $DB_PORT "${URL_JDBC%:*}"
-#Register the frontend to MSB
+#Register the fronten to MSB
+body='{"serviceName": "holmes", "version": "v1", "url": "/iui/holmes","protocol": "UI", "enable_ssl":"true", "visualRange":"0|1", "nodes": [ {"ip": "host_ip","port": "9104"}]}'
+curl -X POST -H "Content-Type: application/json" -d ${body/host_ip/"${HOSTNAME%:*}"} http://${MSB_ADDR}:10081/api/microservices/v1/services
nginx -c /usr/local/openresty/nginx/conf/nginx.conf