diff options
author | Rob Daugherty <rd472p@att.com> | 2018-11-09 09:31:55 -0500 |
---|---|---|
committer | Rob Daugherty <rd472p@att.com> | 2018-11-09 09:47:41 -0500 |
commit | 47ef22e3f9c0261835f1b07a4768e87a3d0fe71b (patch) | |
tree | 44df6b801279f9be67c918ec20479f4aa05c7353 /bpmn/so-bpmn-infrastructure-common/src/main | |
parent | 45fa4b5827f60f15c5ceddecd95922a72c227c93 (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')
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) |