X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=otf-camunda%2Fsrc%2Fmain%2Fjava%2Forg%2Foran%2Fotf%2Fcamunda%2Fdelegate%2Fotf%2Fcommon%2FCallTestHeadDelegate.java;h=b47dd13d7e020a4d933fc229f47efc560afa6727;hb=cf067bb8bd9b45e79a85e9612a0f4c5abeb727b8;hp=45511b0344fa4e141757477f0b28fb04449788d1;hpb=596b1d89c5f63170ed40abb6f7b9395178c5e44e;p=it%2Fotf.git diff --git a/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/CallTestHeadDelegate.java b/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/CallTestHeadDelegate.java index 45511b0..b47dd13 100644 --- a/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/CallTestHeadDelegate.java +++ b/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/CallTestHeadDelegate.java @@ -224,8 +224,10 @@ public class CallTestHeadDelegate implements JavaDelegate { // WorkflowTask.printWorkflowTaskResources(); } - private void saveTestHeadResults(String businessKey) { + private void saveTestHeadResults(String businessKey, String groupId) { Query query = new Query(); + //TODO: Update needs to be changed to work with Azure + query.addCriteria(Criteria.where("groupId").is(groupId)); query.addCriteria(Criteria.where("businessKey").is(businessKey)); Update update = new Update(); update.set("testHeadResults", testHeadResults);