[ONOS-7995] upgrade roadm custom view from GUI to GUI2
1. [Finished] Optical-related device view
2. [Finished] Port view
3. [Finished] Power config on Port view (Private implementation)
4. [Finished] Protocol view for TAPI device
Change-Id: Ie9b81cfa9991a7af2dd485a5df3fe582df830d27
Signed-off-by: Boyuan Yan <boyuan@opennetworking.org>
diff --git a/web/gui2/BUILD b/web/gui2/BUILD
index a6b5b0d..ec71d3b 100644
--- a/web/gui2/BUILD
+++ b/web/gui2/BUILD
@@ -124,6 +124,7 @@
"//apps/faultmanagement/fm-gui2-lib:fm-gui2-lib-build",
":_root_level_files",
":_web_app_all",
+ "//apps/roadm/web/roadm-gui:roadm-gui-lib-build",
],
outs = [
"onos-gui2-ng-build-prod.log",
@@ -147,6 +148,9 @@
" FM_GUI2_LIB_FILES=($(locations //apps/faultmanagement/fm-gui2-lib:fm-gui2-lib-build)) &&" + # An array of filenames - sorted by time created
" tar xf $$ROOT/$${FM_GUI2_LIB_FILES[0]} &&" +
" mv package/ node_modules/fm-gui2-lib/ &&" +
+ " ROADM_GUI_LIB_FILES=($(locations //apps/roadm/web/roadm-gui:roadm-gui-lib-build)) &&" + # An array of filenames - sorted by time created
+ " tar xf $$ROOT/$${ROADM_GUI_LIB_FILES[0]} &&" +
+ " mv package/ node_modules/roadm-gui-lib/ &&" +
# End of add in modules from external packages
" mkdir -p src/main/webapp/app/fw &&" +
" (cd src/main/webapp/app/fw &&" +