Closed ProTip closed 5 years ago
I have added a configuration option to set the max results per AWS request. Successfully smoked test this locally with the default and a page size of 5 and all nodes showing up.
Rundeck manages caching and loading the nodes in separate threads within an executor already. This plugin has a toggle for "asynch" loading, which is disabled by default now due to this new-ish behavior in Rundeck. So i'd suggest that if the asynch==false, it should avoid using another thread
@gschueler I believe the latest changes should address your feedback.
Pages through the AWS request to ensure all instances are fetched. The query workflow has been collapsed into a single method to simplify the paging, and is run in background thread via the executor service.