aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorbiniek <lukasz.biniek@nokia.com>2018-10-09 15:05:08 +0200
committerbiniek <lukasz.biniek@nokia.com>2018-10-15 10:24:37 +0200
commit3d32d2b9df968ac7a39440226065ab76d7326eef (patch)
tree6997ff299c5d65aec29c5bd6d4a4bd26cff9e42c /common
parent16e9937d0b30deb16210cbeec88f4bbd4642d11e (diff)
correlationId is now read from userParams
Change-Id: I92c6caad1370fde7daf067addbf39e45469e08aa Issue-ID: SO-1116 Signed-off-by: biniek <lukasz.biniek@nokia.com>
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java
index e89c5c7e6a..87cb481dec 100644
--- a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java
+++ b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java
@@ -120,7 +120,7 @@ public class RequestParameters implements Serializable {
public String getUserParamValue(String name){
if(userParams!=null){
for(Map<String, Object> param:userParams){
- if(param.get("name").equals(name)){
+ if(param.containsKey("name") && param.get("name").equals(name) && param.containsKey("value")){
return param.get("value").toString();
}
}