Thanks Daniel, This helped us greatly we reduced the time from 7 minutes to 1 minute. Is there a bulkdelete?
I already quickly looked into AAIWorkloadEventProcessor.java class did not see anything but wanted to check with you. Thanks Munir From: "ROSE, DANIEL V" <[email protected]> Date: Monday, January 22, 2018 at 3:39 PM To: "Ahmad, Munir" <[email protected]>, "[email protected]" <[email protected]> Subject: RE: [onap-discuss] [aai] PUT request that accepts a list of objects /aai/v11/bulkadd should be what you are looking for. Here is a sample { "transactions": [ { "put": [ { "body": { "image-os-distro": "ubuntu", "image-architecture": "x64", "image-name": "com.ubuntu", "image-os-version": "14.04", "image-id": "88b21539-70fe-4451-abfc-d55d58dd1e87", "image-selflink": "https://iad.servers.api.rackspacecloud.com/1031120/images/88b21539-70fe-4451-abfc-d55d58dd1e87" }, "uri": "/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/IAD/images/image/88b21539-70fe-4451-abfc-d55d58dd1e87" } ] }, { "put": [ { "body": { "image-os-distro": "ubuntu", "image-architecture": "x64", "image-name": "com.ubuntu", "image-os-version": "14.04", "image-id": "88b21539-70fe-4451-abfc-d55d58dd1e87", "image-selflink": "https://iad.servers.api.rackspacecloud.com/1031120/images/88b21539-70fe-4451-abfc-d55d58dd1e87" }, "uri": "/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/IAD/images/image/88b21539-70fe-4451-abfc-d55d58dd1e87" } ] } ] } Thanks, Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308 From: [email protected] [mailto:[email protected]] On Behalf Of Ahmad, Munir Sent: Monday, January 22, 2018 12:41 PM To: [email protected] Subject: Re: [onap-discuss] [aai] PUT request that accepts a list of objects Hi AAI team, Is a way to put a list of objects in AAI with a single call? For example: We are adding hundreds of l-interfaces and doing it one after the other is very slow (~7 minutes for 1500 l-interfaces). network/pnfs/pnf/PNF-NAME/lag-interfaces/lag-interface/Bundle-Ether11/l-interfaces If the operation described above exist for any other object can you please point us to the implementation. Thanks Munir
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
