diff options
author | 2019-09-17 18:44:22 -0400 | |
---|---|---|
committer | 2019-09-17 18:44:22 -0400 | |
commit | 6d6508031238b16d153d76b0f68ad7f27d90012c (patch) | |
tree | e86d299a83c667f96d579f732179374bd8d76e57 /ecomp-portal-BE-common/src/main/java | |
parent | 99a220e3fccdabca5c5d1f63582a77a0379ac057 (diff) |
HealthCheck & Namespace Check
Issue-ID: PORTAL-723
Change-Id: I97ac3c592ae1f7a6142384d70ac6038ccee1d8fb
Signed-off-by: statta <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-BE-common/src/main/java')
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AppsController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AppsController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AppsController.java index 9feecec1..0be0d357 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AppsController.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AppsController.java @@ -789,7 +789,8 @@ public class AppsController extends EPRestrictedBaseController { EcompPortalUtils.setBadPermissions(user, response, "postOnboardingApps"); } else { newOnboardingApp.normalize(); - checkIfNameSpaceIsValid(newOnboardingApp, fieldsValidator, response); + if(newOnboardingApp.isCentralAuth != null && newOnboardingApp.isCentralAuth) + checkIfNameSpaceIsValid(newOnboardingApp, fieldsValidator, response); fieldsValidator = appService.addOnboardingApp(newOnboardingApp, user); response.setStatus(fieldsValidator.httpStatusCode.intValue()); } |