From 442d0f81241f973d9235824d9579ab3f43b30602 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 9 Aug 2017 12:02:54 -0400 Subject: [PATCH] Add a batch inventory persister --- .../vmware/infra_manager/inventory/persister/batch.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/models/manageiq/providers/vmware/infra_manager/inventory/persister/batch.rb diff --git a/app/models/manageiq/providers/vmware/infra_manager/inventory/persister/batch.rb b/app/models/manageiq/providers/vmware/infra_manager/inventory/persister/batch.rb new file mode 100644 index 000000000..c245ef8de --- /dev/null +++ b/app/models/manageiq/providers/vmware/infra_manager/inventory/persister/batch.rb @@ -0,0 +1,8 @@ +class ManageIQ::Providers::Vmware::InfraManager::Inventory::Persister::Batch < ManageIQ::Providers::Vmware::InfraManager::Inventory::Persister + def inventory_collection_options + { + :complete => false, + :strategy => :local_db_find_missing_references, + } + end +end