aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-07-31 16:41:53 -0400
committerDan Timoney <dtimoney@att.com>2020-08-03 09:46:44 -0400
commit4a2c8a2a33672c2c3570b934556874dd7feabfa4 (patch)
tree111f70dd8e190e40f382abdbf0aabc5dfe3fe149 /platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml
parent4d919cc9658419dfe07d8027576d2515027d3ff4 (diff)
Support cloud-owner input param
If cloud-owner is passed in input, it should override the value from properties file Change-Id: I67b0e7e0b4fe546dbdfcaa24785ebd1b3b96e7b5 Issue-ID: SDNC-1260 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 131845c1b3185b5efb8b5bd287747c7086eface8
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml')
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml
index 923303a0..081a4e3b 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.xml
@@ -7,6 +7,13 @@
<parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
<parameter name='contextPrefix' value='prop' />
</execute>
+ <switch test="`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner != ''`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.cloud-region.cloud-owner' value='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`' />
+ </set>
+ </outcome>
+ </switch>
<set>
<parameter name="so.ack-final-indicator" value="Y" />
<parameter name="so.response-code" value="500" />