From 3d32d2b9df968ac7a39440226065ab76d7326eef Mon Sep 17 00:00:00 2001 From: biniek Date: Tue, 9 Oct 2018 15:05:08 +0200 Subject: correlationId is now read from userParams Change-Id: I92c6caad1370fde7daf067addbf39e45469e08aa Issue-ID: SO-1116 Signed-off-by: biniek --- .../main/java/org/onap/so/serviceinstancebeans/RequestParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/src/main/java/org') 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 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(); } } -- cgit 1.2.3-korg