aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/main/groovy
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-11-09 09:31:55 -0500
committerRob Daugherty <rd472p@att.com>2018-11-09 09:47:41 -0500
commit47ef22e3f9c0261835f1b07a4768e87a3d0fe71b (patch)
tree44df6b801279f9be67c918ec20479f4aa05c7353 /bpmn/so-bpmn-infrastructure-common/src/main/groovy
parent45fa4b5827f60f15c5ceddecd95922a72c227c93 (diff)
arUrl variable is null on vCPE PUT to AAI
Change-Id: Iee4641f098c519b7833a1f5038a2024b42a11198 Issue-ID: SO-1201 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common/src/main/groovy')
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceBRG.groovy5
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy5
2 files changed, 6 insertions, 4 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceBRG.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceBRG.groovy
index 1be4989490..723bfd54d7 100644
--- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceBRG.groovy
+++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceBRG.groovy
@@ -277,8 +277,9 @@ public class DoCreateAllottedResourceBRG extends AbstractServiceTaskProcessor{
AaiUtil aaiUriUtil = new AaiUtil(this)
AAIResourceUri siResourceLink= execution.getVariable("PSI_resourceLink")
AllottedResourceUtils arUtils = new AllottedResourceUtils(this)
- execution.setVariable("aaiARPath", arUtils.createARUrl(execution, siResourceLink, allottedResourceId))
- msoLogger.debug("GET AllottedResource AAI URL is:\n" + arUrl)
+ arUrl = arUtils.createARUrl(execution, siResourceLink, allottedResourceId)
+ execution.setVariable("aaiARPath", arUrl)
+ msoLogger.debug("PUT AllottedResource AAI URL is:\n" + arUrl)
String namespace = aaiUriUtil.getNamespaceFromUri(execution, arUrl)
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy
index 48eb1c85f9..ef5660c081 100644
--- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy
+++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy
@@ -205,8 +205,9 @@ public class DoCreateAllottedResourceTXC extends AbstractServiceTaskProcessor{
AaiUtil aaiUriUtil = new AaiUtil(this)
AAIResourceUri siResourceLink= execution.getVariable("PSI_resourceLink")
AllottedResourceUtils arUtils = new AllottedResourceUtils(this)
- execution.setVariable("aaiARPath", arUtils.createARUrl(execution, siResourceLink, allottedResourceId))
- msoLogger.debug("GET AllottedResource AAI URL is:\n" + arUrl)
+ arUrl = arUtils.createARUrl(execution, siResourceLink, allottedResourceId)
+ execution.setVariable("aaiARPath", arUrl)
+ msoLogger.debug("PUT AllottedResource AAI URL is:\n" + arUrl)
String namespace = aaiUriUtil.getNamespaceFromUri(execution, arUrl)