From bd6a6482f87626b4f1e49aa12e36e41a2e140168 Mon Sep 17 00:00:00 2001 From: Lasse Kaihlavirta Date: Tue, 20 Oct 2020 18:12:07 +0300 Subject: Update AAI endpoints to /aai/v21 - Update all /aai/v14 references to /aai/v21 to resolve certificate problems in CDS when trying to resolve attribute values with aai-data source Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta Change-Id: I6b150348b66e93b3d08ceaa49fa997d531ddb0e4 --- .../resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json | 2 +- .../model-catalog/resource-dictionary/starter-dictionary/pnf-id.json | 2 +- .../resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json | 2 +- .../resource-dictionary/starter-dictionary/vdns_vf_module_id.json | 2 +- .../resource-dictionary/starter-dictionary/vf-module-assign.json | 2 +- .../resource-dictionary/starter-dictionary/vnf_assign_aai.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'components/model-catalog/resource-dictionary') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json b/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json index 6f9890b21..cd8707c69 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json @@ -38,7 +38,7 @@ "properties": { "verb": "PATCH", "type": "JSON", - "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name", + "url-path": "/aai/v21/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name", "payload": "{\"nm-profile-name\":\"$vf-module-id\"}", "path": "", "input-key-mapping": { diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json index cfca6a7da..70aa5dac5 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json @@ -17,7 +17,7 @@ "properties": { "verb": "GET", "type": "JSON", - "url-path": "/aai/v14/network/pnfs/pnf/$pnf-id", + "url-path": "/aai/v21/network/pnfs/pnf/$pnf-id", "path": "/pnf-name", "headers" : { "Accept": "application/json", diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json index 9ac0a9c10..c33b6d701 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json @@ -13,7 +13,7 @@ "properties": { "type": "JSON", "verb": "GET", - "url-path": "/aai/v14/network/pnfs/pnf/$pnf-id", + "url-path": "/aai/v21/network/pnfs/pnf/$pnf-id", "path": "/ipaddress-v4-oam", "input-key-mapping": { "pnf-id": "pnf-id" diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json index e093a77d9..303ebb3bd 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json @@ -37,7 +37,7 @@ "properties": { "verb": "GET", "type": "JSON", - "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id", + "url-path": "/aai/v21/network/generic-vnfs/generic-vnf/$vnf-id", "path": "", "input-key-mapping": { "vnf-id": "vnf-id" diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json index 6c8e226fb..c67296937 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json @@ -16,7 +16,7 @@ "headers": { "Content-Type": "application/merge-patch+json" }, - "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/vf-modules/vf-module/$vf-module-id", + "url-path": "/aai/v21/network/generic-vnfs/generic-vnf/$vnf-id/vf-modules/vf-module/$vf-module-id", "payload": "{\r\n\"vf-module-name\":\"${vf-module-name}\", \r\n\"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/${service-instance-id}/service-data/vnfs/vnf/${vnf-id}/vnf-data/vf-modules/vf-module/${vf-module-id}/vf-module-data/vf-module-topology/\"\r\n \r\n}", "path": "", "input-key-mapping": { diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json index 9408d2902..729786905 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json @@ -16,7 +16,7 @@ "headers": { "Content-Type": "application/merge-patch+json" }, - "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id", + "url-path": "/aai/v21/network/generic-vnfs/generic-vnf/$vnf-id", "payload": "{\r\n\"vnf-name\":\"${vnf_name}\", \r\n \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/${service-instance-id}/service-data/vnfs/vnf/${vnf-id}/vnf-data/vnf-topology/\"\r\n}", "path": "", "input-key-mapping": { -- cgit 1.2.3-korg