From d350d5ac25c8df2846e4f0d9082cb4d364a17a83 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Mon, 6 Aug 2018 16:14:59 +0300 Subject: UI Feature flagging support Change-Id: Ic2151dab6306c42364483e9064c01bab3dd7378b Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) --- .../webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp | 2 +- .../src/main/webapp/WEB-INF/jsp/serviceModels.jsp | 11 +++++-- .../src/main/webapp/WEB-INF/jsp/welcome.jsp | 34 +++++++++++++++++++++- 3 files changed, 43 insertions(+), 4 deletions(-) (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF') diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp index 2248fd491..44fe53a88 100644 --- a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp @@ -44,7 +44,7 @@ - + <%----%> diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp index 57aa16ef4..fb55c1168 100755 --- a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp @@ -25,6 +25,9 @@ + + + @@ -42,6 +45,7 @@ + @@ -56,6 +60,7 @@ + @@ -81,6 +86,7 @@ + @@ -96,9 +102,10 @@ + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}"; %> -
-
+
+
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp index e52484e2a..479459f09 100755 --- a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp @@ -1,5 +1,11 @@ + + + +<%@ page import="org.onap.vid.properties.Features"%> +<%@ page import="org.onap.vid.properties.VidProperties" %> +<%@ page import="org.onap.portalsdk.core.util.SystemProperties" %>

ONAP


@@ -19,7 +25,33 @@

Contact Us

Please click here to contact us. - + <% + if (Features.FLAG_ADD_MSO_TESTAPI_FIELD.isActive()) { + + String displayTestApi = SystemProperties.getProperty(VidProperties.MSO_DISPLAY_TEST_API_ON_SCREEN); + String defaultTestApiValue = SystemProperties.getProperty(VidProperties.MSO_DEFAULT_TEST_API); + + String selectionVisibility = Boolean.parseBoolean(displayTestApi) ? "inherit" : "hidden"; + %> +
+


+ + +
+ + <% + } + %>

-- cgit 1.2.3-korg