Rahul, Here is the postman collection for bootstrap, enrich, save and deploy.
https://www.getpostman.com/collections/878061d291f9efe55463 CDS Bootstrap command for preloading the CDS Catalog Data for Data Dictionary, Node Types, and CBA: Step 1: Edit the blueprint processor HTTP service and change the ClusterIP to NodePort. This shall expose an http external node port need to execute the curl command in step 2. Step 2: Execute the Curl Command to preload the CDS Catalog Data for Data Dictionary, Node Types and CBA. Substitute k8s and cds_http_port with the right information. CDS CBA & DD Bootstrap curl --location --request POST 'http://{{k8s}}:{{cds_http_port}}/api/v1/blueprint-model/bootstrap' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ --data-raw '{ "loadModelType" : true, "loadResourceDictionary" : true, "loadCBA" : false }' Enrich curl --location --request POST '{{k8s}}:30471/api/v1/blueprint-model/enrich' \ --header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ --form 'file=@/C:/Users/Yura/Desktop/newpnf/newpnf.zip' Save CBA curl --location --request POST '{{k8s}}:32691/api/v1/blueprint-model' \ --header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ --form 'file=@/C:/Users/Yura/Desktop/test/test.zip' Deploy CBA curl --location --request POST '{{k8s}}:32691/api/v1/blueprint-model/publish' \ --header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ --form 'file=@/C:/Users/Yura/Desktop/test/test.zip' [cid:[email protected]] Yuriy Malakov ONAP/ECOMP SA/SE 732-420-3030, Q-Chat<qto://talk/ym9479> [email protected]<mailto:[email protected]> From: [email protected] <[email protected]> Sent: Monday, September 14, 2020 4:51 AM To: [email protected]; MALAKOV, YURIY <[email protected]>; [email protected] Subject: Re: [onap-discuss] CDS component of ONAP not supporting Ansible Script file type Hello Yuriy Malakov, As you mentioned that CDS UI is under construction and suggested to create our own CBA package manually. So, I did created the CBA files according to my use case and then packaged it to cba.zip file. But when I tried to import it in CDS UI, I saw that option "Import Package" is disabled. [cid:[email protected]] Can you please guide me how to integrate my package or deploy it in CDS environment or any other way around. Thank you and Regards, Rahul Negi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22121): https://lists.onap.org/g/onap-discuss/message/22121 Mute This Topic: https://lists.onap.org/mt/76755535/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
