From 8e2ec1973570cde1b3166410643bb86bc37f3eff Mon Sep 17 00:00:00 2001 From: sa282w Date: Tue, 29 May 2018 17:00:44 -0400 Subject: API Versioning for ECOMP Components in SDK Issue-ID: PORTAL-263 Included the fix for the defect regarding profile self pages returning 404 error. Change-Id: Id6b1ed6ffde319ba41e9da445de8aa5f38249a8b Signed-off-by: sa282w --- .../org/onap/portalapp/controller/core/AngularAdminController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ecomp-sdk/epsdk-app-common') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/AngularAdminController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/AngularAdminController.java index 3aeb0147..138a805d 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/AngularAdminController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/AngularAdminController.java @@ -49,9 +49,8 @@ import org.springframework.web.servlet.ModelAndView; @Controller @RequestMapping("/") public class AngularAdminController extends RestrictedBaseController{ - public static final String API_VERSION = "/v3"; - @RequestMapping(value = {API_VERSION + "/userProfile" }, method = RequestMethod.GET) + @RequestMapping(value = {"/userProfile" }, method = RequestMethod.GET) public ModelAndView view() { Map model = new HashMap<>(); return new ModelAndView("user_profile_list","model", model); -- cgit 1.2.3-korg