-
Bug
-
Resolution: Done
-
Highest
-
El Alto Release
-
None
-
None
When a VSP is created via REST with the license information specified, the VSP is created but the license information is not added and VSP submit eventually fails. On checking the GUI, it doesn't show that the license agreement and feature group data were added, even if they were specified;
A post command is done to he following url for the creation;
URL: https://10.12.5.110:30207/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products
Method: post
Request Queries: {}
Request Body: { "category": "resourceNewCategory.generic", "vendorId": "8c97aece07bf43ab859700328e0b336b", "subCategory": "resourceNewCategory.generic.network elements", "description": "hpa-vsp-desc", "licensingVersion": "ac9ff5fe4a2e4939a9c6b29e21e65c96", "licensingData": {"featureGroups": ["9a113c17158747fb821f2d8626f6e94a"], "licenseAgreement": "c1afa5207e104431aca3b72001dbf6c1"}, "icon": "icon", "onboardingMethod": "NetworkPackage", "vendorName": "hpa-test", "name": "hpa-vsp-test-8" }
Request Headers: {Authorization=Basic Y3MwMDA4OmRlbW8xMjM0NTYh, X-FromAppId=ONAP CLI, Accept=application/json, USER_ID=cs0008, X-TransactionId=req-7a1db53f-924a-4cf0-b8df-8c84e0b405f9, Content-Type=application/json}
Request Cookies: {}
binaryData=false
Context={}HTTP Status: 200
Response Body: {"itemId":"6c141fef0821455dbbaf9b3612a0f444","version":{"id":"0dfcb6f548ea476294f259b6cb463416","name":"1.0","description":"Initial version","status":"Draft"}}
Response Headers: {Server=Jetty(9.4.12.v20180830), Set-Cookie=JSESSIONID=node03xg9yyliiwrvwy1plgfk3wc5142.node0;Path=/sdc1;Secure, Expires=Thu, 01 Jan 1970 00:00:00 GMT, Content-Length=159, Date=Mon, 30 Sep 2019 17:16:28 GMT, Content-Type=application/json}
Response Cookies: {Authorization=Basic Y3MwMDA4OmRlbW8xMjM0NTYh, X-FromAppId=ONAP CLI, JSESSIONID=node03xg9yyliiwrvwy1plgfk3wc5142.node0, X-TransactionId=req-7a1db53f-924a-4cf0-b8df-8c84e0b405f9}