diff options
author | biniek <lukasz.biniek@nokia.com> | 2018-10-09 15:05:08 +0200 |
---|---|---|
committer | biniek <lukasz.biniek@nokia.com> | 2018-10-15 10:24:37 +0200 |
commit | 3d32d2b9df968ac7a39440226065ab76d7326eef (patch) | |
tree | 6997ff299c5d65aec29c5bd6d4a4bd26cff9e42c /common/src/main/java/org/onap | |
parent | 16e9937d0b30deb16210cbeec88f4bbd4642d11e (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/src/main/java/org/onap')
-rw-r--r-- | common/src/main/java/org/onap/so/serviceinstancebeans/RequestParameters.java | 2 |
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(); } } |