\r
package org.oran.otf.camunda.delegate.otf.common;\r
\r
+import com.mongodb.client.result.UpdateResult;\r
import org.oran.otf.camunda.exception.TestExecutionException;\r
import org.oran.otf.camunda.model.ExecutionConstants;\r
import org.oran.otf.camunda.workflow.utility.WorkflowUtility;\r
import org.oran.otf.common.model.TestExecution;\r
import org.oran.otf.common.repository.TestExecutionRepository;\r
import org.oran.otf.common.utility.Utility;\r
-import com.mongodb.client.result.UpdateResult;\r
\r
import java.util.Arrays;\r
import java.util.Date;\r
// processBusinessKey from the delegate execution because it is saved to the database before the\r
// user can modify the value.\r
Query query = new Query();\r
+ //TODO: Update query needs to be changed for Azure\r
+ query.addCriteria((Criteria.where("groupId").is(testExecution.getGroupId())));\r
query.addCriteria(Criteria.where("businessKey").is(execution.getProcessBusinessKey()));\r
Update update = new Update();\r
update.set("testResult", testExecution.getTestResult());\r