Rather then doing an expensive CLI call for each jboss_resource and each resource in each jboss_batch resource one /:read-resource(recursive=true) call should be done and then parse the output to use for prefetching all of the configured jboss_resource resources and jboss_batch resources.
Rather then doing an expensive CLI call for each jboss_resource and each resource in each jboss_batch resource one /:read-resource(recursive=true) call should be done and then parse the output to use for prefetching all of the configured jboss_resource resources and jboss_batch resources.