Nullpointer fixes in AAF jar 11/49411/3 release-2.3.0 v2.3.1
authorKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
Tue, 29 May 2018 20:27:56 +0000 (16:27 -0400)
committerKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
Thu, 31 May 2018 19:32:11 +0000 (15:32 -0400)
Issue-ID: PORTAL-281

AAF module fix

Change-Id: I7b06bd8b7879df23ada141df38ec17a2a4833687
Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/service/UserApiServiceImpl.java
ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/conf/MusicSessionRepository.java
ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java

index 32a7421..38abcac 100644 (file)
@@ -71,7 +71,6 @@ import org.springframework.http.HttpHeaders;
 import org.springframework.http.HttpMethod;
 import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.client.RestTemplate;
 
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -104,7 +103,6 @@ public class UserApiServiceImpl implements UserApiService {
        private AppService appService;
 
        @Override
-       @Transactional
        public User getUser(String orgUserId, HttpServletRequest request)
                        throws UserNotFoundException {
                User user = null;
index 4bebfc2..f2f8fee 100644 (file)
@@ -38,8 +38,8 @@
 package org.onap.portalapp.music.conf;
 
 import java.time.Duration;
-import java.util.Map;
 
+import org.springframework.session.MapSession;
 import org.springframework.session.Session;
 import org.springframework.session.SessionRepository;
 import org.springframework.session.events.SessionDeletedEvent;
index 7959405..15ae349 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START==========================================
  * ONAP Portal SDK
  * ===================================================================
- * Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
  * ===================================================================
  *
  * Unless otherwise specified, all software contained herein is licensed