diff options
author | Rob Daugherty <rd472p@att.com> | 2018-10-17 13:14:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-17 13:14:04 +0000 |
commit | dae0218b5134920ddbbc76be657aebcb3314e1bd (patch) | |
tree | 4f1630a0f38221663d7b05b530cfabd2df7a8403 /common | |
parent | 15af810c48631a9dfe24ec6b39186e3797c0143b (diff) | |
parent | 3d32d2b9df968ac7a39440226065ab76d7326eef (diff) |
Merge "correlationId is now read from userParams"
Diffstat (limited to 'common')
-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(); } } |