summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks
diff options
context:
space:
mode:
authorsreeja gattagouni <sg00744975@techmahindra.com>2022-04-21 15:24:22 +0530
committersreeja gattagouni <sg00744975@techmahindra.com>2022-04-21 15:24:45 +0530
commitfb7e0b5f8b13a0cd8b01011445c27cf47a415954 (patch)
tree0c080ae5925fa894777701fbfeb08c200d50e548 /bpmn/so-bpmn-tasks
parent71f82aa2d92c235e8efa2cbaa26188afd3f1bb29 (diff)
Processing Priority for Nested Services
- Processing Priority For Nested Services. - Prioritising services by mentioning priority number while triggering requests will allow the Services to be instantiated as per the priority in a Nested-Services having Parent-Child Services Relationships. Issue-ID: SO-3855 Change-Id: I66d83f324c122d842f52f0b808dab5640b8c9abf Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
Diffstat (limited to 'bpmn/so-bpmn-tasks')
-rw-r--r--bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ebb/loader/UserParamsServiceTraversal.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ebb/loader/UserParamsServiceTraversal.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ebb/loader/UserParamsServiceTraversal.java
index 074aa9e5a1..b8b9c458fa 100644
--- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ebb/loader/UserParamsServiceTraversal.java
+++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ebb/loader/UserParamsServiceTraversal.java
@@ -115,6 +115,7 @@ public class UserParamsServiceTraversal {
for (Service childService : validate.getResources().getServices()) {
Resource childServiceResource = new Resource(WorkflowType.SERVICE,
childService.getModelInfo().getModelVersionId(), false, serviceResource);
+ childServiceResource.setProcessingPriority(childService.getProcessingPriority());
childServiceResource.setInstanceName(childService.getInstanceName());
resourceList.add(childServiceResource);
}