From 575c9820dffbfee3311e19a5f64e64b98c2ed5f8 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Fri, 19 Oct 2018 11:13:05 -0500 Subject: Fix GUI Buttons Issue-ID: AAF-435 Change-Id: I8b5e83609176a22b5aa54cac6fd0911488bd707b Signed-off-by: Instrumental --- .../src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'auth/auth-gui') diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java index 48164227..2e7e5e59 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java @@ -86,7 +86,6 @@ import org.onap.aaf.misc.env.APIException; import org.onap.aaf.misc.env.Env; import org.onap.aaf.misc.env.Slot; import org.onap.aaf.misc.env.StaticSlot; -import org.onap.aaf.misc.env.util.Split; import org.onap.aaf.misc.rosetta.env.RosettaDF; import org.onap.aaf.misc.xgen.html.HTMLGen; import org.onap.aaf.misc.xgen.html.State; @@ -113,22 +112,20 @@ public class AAF_GUI extends AbsService implements State1) { - deployedVersion =component[1]; - } else { - deployedVersion = "2.x"; - } + deployedVersion = access.getProperty(Config.AAF_RELEASE, "N/A:2.x"); // Certificate Manager cmCon = new AAFConHttp(env.access(),Config.CM_URL); @@ -206,7 +203,7 @@ public class AAF_GUI extends AbsService implements State(env)); + route(env,GET,"/"+env.get(sThemeWebPath)+"/:key", new CachingFileAccess(env)); /////////////////////// aafCon = aafCon(); lur = aafCon.newLur(); -- cgit 1.2.3-korg