summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-08-01 17:16:07 -0400
committerst782s <statta@research.att.com>2018-08-01 17:38:44 -0400
commitcddbf4178c451ed6ff7a0eb3aaf0655176107221 (patch)
treeef113f03c3c00882600a996a8c38fcc40eabc03b /ecomp-sdk/epsdk-app-common
parent27666ce5feb0e073f0e7dc43b4f1aa267a6b0975 (diff)
Get Analytics call resulting in NPE3.0.1-ONAP2.4.0
Issue-ID: PORTAL-344,PORTAL-288 Includes POM changes to prepare for release Change-Id: Ia7980c27ae1859273bacac8b7569d9396d31fe0c Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-common')
-rw-r--r--ecomp-sdk/epsdk-app-common/README.md3
-rw-r--r--ecomp-sdk/epsdk-app-common/pom.xml2
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/service/OnBoardingApiServiceImpl.java5
3 files changed, 7 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-app-common/README.md b/ecomp-sdk/epsdk-app-common/README.md
index 2ba60d3b..e9a5be68 100644
--- a/ecomp-sdk/epsdk-app-common/README.md
+++ b/ecomp-sdk/epsdk-app-common/README.md
@@ -24,6 +24,9 @@ AngularJS version 1.5.0.
### ONAP Distributions
+Version 2.4.0
+- PORTAL 344 Get Analytics call resulting in NPE
+
Version 2.1.0
- PORTAL 161 Add the JUNIT plumbing for PortalSDK
- PORTAL 160 Prevent unauthorized access to SamplePages, Report Pages, Role
diff --git a/ecomp-sdk/epsdk-app-common/pom.xml b/ecomp-sdk/epsdk-app-common/pom.xml
index 2d38b6a5..d534dfa1 100644
--- a/ecomp-sdk/epsdk-app-common/pom.xml
+++ b/ecomp-sdk/epsdk-app-common/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.onap.portal.sdk</groupId>
<artifactId>epsdk-project</artifactId>
- <version>2.4.0-SNAPSHOT</version>
+ <version>2.4.0</version>
</parent>
<!-- GroupId is inherited from parent -->
diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/service/OnBoardingApiServiceImpl.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/service/OnBoardingApiServiceImpl.java
index 871a3750..f8c07a9b 100644
--- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/service/OnBoardingApiServiceImpl.java
+++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/service/OnBoardingApiServiceImpl.java
@@ -120,9 +120,10 @@ public class OnBoardingApiServiceImpl implements IPortalRestAPIService, IPortalR
// initialize the base class definition for Admin Auth Extension
adminAuthExtensionServiceImpl = appContext.getBean(IAdminAuthExtension.class);
userService = appContext.getBean(UserService.class);
- if(isCentralized.equals(isAccessCentralized)){
- restApiRequestBuilder = appContext.getBean(RestApiRequestBuilder.class);
appServiceImpl = appContext.getBean(AppService.class);
+
+ if(isCentralized.equals(isAccessCentralized)){
+ restApiRequestBuilder = appContext.getBean(RestApiRequestBuilder.class);
}
}