vatesfr / terraform-provider-xenorchestra

Xen Orchestra provider for Terraform
MIT License
150 stars 33 forks source link

Improve Xenorchestra xo.getAllObjects to use server side filtering #143

Open ddelnano opened 3 years ago

ddelnano commented 3 years ago

Right now the xo.getAllObjects rpc calls filter based on the object's type and then do the remaining filtering on the client side. There was some work done in https://github.com/terra-farm/terraform-provider-xenorchestra/pull/126/files to push more logic to the server side but it only was implemented for a single object type (Host).

We should continue this work but ensure that it is generic and that all object types benefit from the same filtering