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) --- .../src/main/webapp/WEB-INF/jsp/welcome.jsp | 34 +++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp') 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 e52484e2..479459f0 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