diff options
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc')
3 files changed, 90 insertions, 90 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-create-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-create-schema-casablanca-moco.json index c248bdcc..b40eac67 100644 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-create-schema-casablanca-moco.json @@ -1,42 +1,42 @@ -[ {
- "request" : {
- "method" : "put",
- "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
- "headers" : {
- "Authorization" : "Basic QUFJOkFBSQ==",
- "X-FromAppId" : "ONAP CLI",
- "Accept" : "application/json",
- "X-TransactionId" : "req-fa5795ef-76b9-4a4a-8a9c-e12781025b40",
- "Content-Type" : "application/json"
- },
- "json" : {
- "thirdparty-sdnc-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
- "location" : "core",
- "product-name" : "SDWAN",
- "esr-system-info-list" : {
- "esr-system-info" : [ {
- "esr-system-info-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
- "system-name" : "SDWANDomain63",
- "type" : "SDWAN",
- "vendor" : "huawei",
- "version" : "V3R1",
- "service-url" : "",
- "user-name" : "test",
- "password" : "password",
- "system-type" : "sdnc",
- "protocal" : "RESTCONF",
- "ssl-cacert" : "",
- "ssl-insecure" : "",
- "ip-address" : "172.60.50.63",
- "port" : "18008",
- "cloud-domain" : "",
- "default-tenant" : ""
- } ]
- }
- }
- },
- "response" : {
- "status" : 201,
- "json" : null
- }
+[ { + "request" : { + "method" : "put", + "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-fa5795ef-76b9-4a4a-8a9c-e12781025b40", + "Content-Type" : "application/json" + }, + "json" : { + "thirdparty-sdnc-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe", + "location" : "core", + "product-name" : "SDWAN", + "esr-system-info-list" : { + "esr-system-info" : [ { + "esr-system-info-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe", + "system-name" : "SDWANDomain63", + "type" : "SDWAN", + "vendor" : "huawei", + "version" : "V3R1", + "service-url" : "", + "user-name" : "test", + "password" : "password", + "system-type" : "sdnc", + "protocal" : "RESTCONF", + "ssl-cacert" : "", + "ssl-insecure" : "", + "ip-address" : "172.60.50.63", + "port" : "18008", + "cloud-domain" : "", + "default-tenant" : "" + } ] + } + } + }, + "response" : { + "status" : 201, + "json" : null + } } ]
\ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json index 87d76b12..f4f6ee86 100644 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json @@ -1,26 +1,26 @@ -[ {
- "request" : {
- "method" : "delete",
- "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
- "headers" : {
- "Authorization" : "Basic QUFJOkFBSQ==",
- "X-FromAppId" : "ONAP CLI",
- "Accept" : "application/json",
- "X-TransactionId" : "req-7b427aa1-1d6d-4a4f-90a3-264cc42f1ab8",
- "Content-Type" : "application/json"
- },
- "json" : null
- },
- "response" : {
- "status" : 404,
- "json" : {
- "requestError" : {
- "serviceException" : {
- "messageId" : "SVC3001",
- "text" : "Resource not found for %1 using id %2 (msg=%3) (ec=%4)",
- "variables" : [ "DELETE", "external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "Node Not Found:No Node of type esr-thirdparty-sdnc found at: external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "ERR.5.4.6114" ]
- }
- }
- }
- }
+[ { + "request" : { + "method" : "delete", + "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-7b427aa1-1d6d-4a4f-90a3-264cc42f1ab8", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 404, + "json" : { + "requestError" : { + "serviceException" : { + "messageId" : "SVC3001", + "text" : "Resource not found for %1 using id %2 (msg=%3) (ec=%4)", + "variables" : [ "DELETE", "external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "Node Not Found:No Node of type esr-thirdparty-sdnc found at: external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "ERR.5.4.6114" ] + } + } + } + } } ]
\ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-list-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-list-schema-casablanca-moco.json index e85e123e..1fbf06d5 100644 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-list-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-list-schema-casablanca-moco.json @@ -1,25 +1,25 @@ -[ {
- "request" : {
- "method" : "get",
- "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list",
- "headers" : {
- "Authorization" : "Basic QUFJOkFBSQ==",
- "X-FromAppId" : "ONAP CLI",
- "Accept" : "application/json",
- "X-TransactionId" : "req-4b666ab3-b1a9-4c4d-b150-f9db9e0b053d",
- "Content-Type" : "application/json"
- },
- "json" : null
- },
- "response" : {
- "status" : 200,
- "json" : {
- "esr-thirdparty-sdnc" : [ {
- "thirdparty-sdnc-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
- "location" : "core",
- "product-name" : "SDWAN",
- "resource-version" : "1538648650726"
- } ]
- }
- }
+[ { + "request" : { + "method" : "get", + "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-4b666ab3-b1a9-4c4d-b150-f9db9e0b053d", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : { + "esr-thirdparty-sdnc" : [ { + "thirdparty-sdnc-id" : "6fbb4251-2eb1-4c41-b01f-4e5b128afabe", + "location" : "core", + "product-name" : "SDWAN", + "resource-version" : "1538648650726" + } ] + } + } } ]
\ No newline at end of file |