diff options
author | 2018-05-29 17:00:44 -0400 | |
---|---|---|
committer | 2018-05-29 21:01:54 +0000 | |
commit | 57fb6c21839434a6a8e7fe26e5774061c6fe6014 (patch) | |
tree | c1f7233226446ff407aa430d1862b4c9cf80d6b1 /ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter | |
parent | 4f1afd26403c688b29c8329be66dcaded951bd54 (diff) |
Music ver upgrade
Issue-ID: PORTAL-293
Music toggle enable
Change-Id: I72986134afaf533a086307f82d9f925db793423c
Signed-off-by: Lo, WEI-TING(wl849v) <wl849v@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter')
-rw-r--r-- | ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java index aa9e2e3e..694e80cd 100644 --- a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java +++ b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/filter/MusicSessionRepositoryFilter.java @@ -59,7 +59,7 @@ public class MusicSessionRepositoryFilter extends DelegatingFilterProxy{ try{ if (request instanceof HttpServletRequest) { String path = ((HttpServletRequest)request).getRequestURI().substring(((HttpServletRequest) request).getContextPath().length()); - if(MusicUtil.isExcludedApi(path)) + if(MusicUtil.isExcludedApi(path) || !MusicUtil.isMusicEnable()) request.setAttribute("org.springframework.session.web.http.SessionRepositoryFilter.FILTERED", Boolean.TRUE); } }catch(Exception e){ |