summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-music/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-music/src/main')
-rw-r--r--ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
index ff1edb74..d7de16bd 100644
--- a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
+++ b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
@@ -144,7 +144,11 @@ public class MusicUtil {
public static boolean isExcludedApi(String api){
Set<String> excludedApiSet = getMusicExcludedAPI();
- return excludedApiSet.contains(api);
+ for(String str: excludedApiSet){
+ if(api.matches(str))
+ return true;
+ }
+ return false;
}
public static boolean isMusicSerializeCompress(){