diff options
author | ramu.n <ramu.n@huawei.com> | 2017-11-06 18:38:07 +0530 |
---|---|---|
committer | ramu.n <ramu.n@huawei.com> | 2017-11-06 18:38:07 +0530 |
commit | 2ae55c329e93572344727ef0f14e6eef4bd47976 (patch) | |
tree | 79ddd79603eaa35ea735ffa929d1e259d0e41e44 /platform-logic/generic-resource-api/src/main/xml | |
parent | 5d1d23812be71884b6d6c8d418d7ef326fdd87ab (diff) |
Fix underlay DG testing issues
*Fix service-type parameter name issue
*Fix SPTN controller JSON template path
*Remove configuration-type in relashionship-data
Change-Id: I8f11a734bd1ed6db1d302bcc12529ed28875b4a5
Issue-Id: AAI-451
Signed-off-by: Ramu N <ramu.n@huawei.com>
Former-commit-id: 4967a3857863b2a31a3c012bf51c2ba705b7c518
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml index 7b6df3e3..d7ee6d01 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml @@ -12,7 +12,7 @@ </set>
</outcome>
</switch>
- <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`">
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`">
<outcome value="true">
<set>
<parameter name="prop.l3vpn.service-type" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`" />
@@ -477,7 +477,7 @@ </outcome>
<outcome value="l3vpn-sptn">
<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
- <parameter name="templateFileName" value="$prop.sdncRestApi.templateDir +'/l3smsitetemplate.json'" />
+ <parameter name="templateFileName" value="$prop.restapi.templateDir +'/sptn-l3vpn-template.json'" />
<parameter name="restapiUrl" value="$prop.sdncRestApi.thirdpartySdnc.url" />
<parameter name="restapiUser" value="$prop.sdncRestApi.thirdpartySdnc.user" />
<parameter name="restapiPassword" value="$prop.sdncRestApi.thirdpartySdnc.password" />
@@ -526,8 +526,6 @@ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/configurations/configuration/' + $prop.l3vpn.network-id`" />
<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="configuration.configuration-id" />
<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.l3vpn.network-id`" />
- <parameter name="relationship-list.relationship[0].relationship-data[1].relationship-key" value="configuration.configuration-type" />
- <parameter name="relationship-list.relationship[0].relationship-data[1].relationship-value" value="underlay" />
</save>
<return status="success">
<parameter name="ack-final-indicator" value="Y" />
|