summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main/java/org
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-11-27 20:51:05 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 20:51:05 +0000
commit36f1cf5f916d97dfb8c1b345771e58951fea8849 (patch)
treeeef2a6f7a9f83dc585623d2a0ac71c1a651b8636 /bpmn/so-bpmn-tasks/src/main/java/org
parent3fa5bd58e24606ed4cb7d388446125e8ce0f52ec (diff)
parent6dbb06382d06dd06e77e5aea5a58583415e6734a (diff)
Merge "Add service role"
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main/java/org')
-rw-r--r--bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/SniroHomingV2.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/SniroHomingV2.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/SniroHomingV2.java
index 7d0927e498..6b89387a82 100644
--- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/SniroHomingV2.java
+++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/SniroHomingV2.java
@@ -247,6 +247,9 @@ public class SniroHomingV2 {
if(modelInfo.getServiceType() != null && modelInfo.getServiceType().length() > 0){ //temp solution
info.put("serviceName", modelInfo.getServiceType());
}
+ if(modelInfo.getServiceRole() != null){
+ info.put("serviceRole", modelInfo.getServiceRole());
+ }
info.put("modelInfo", buildModelInfo(serviceInstance.getModelInfoServiceInstance()));
}else{
throw new BpmnError(UNPROCESSABLE, SERVICE_MISSING_DATA + MODEL_VERSION_ID + ", " + MODEL_INVARIANT_ID);