Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
IgniteServices should support possibility of deploying batch of services at once to speed up deployment.
It implies the following API changes:
- introduce ServiceDeploymentException, indicating that some problems were encountered during deployment process and containing a list of failed services;
- add deployAll(Collection<ServiceConfiguration>, boolean) and deployAllAsync(Collection<ServiceConfiguration>, boolean) methods to IgniteServices interface. Boolean flag shows whether we should follow "all-or-none" failing policy, or allow partial deployments.
Also all async methods in IgniteServices should not throw any exceptions, but return a future, whose get method should throw an exception if any errors occur during deployment.