Expected behavior
As a cf-java-client user
- in order to trigger the equivalent of
cf update-service --upgrade CF CLI calls using CloudFoundryOperations
- I need to be able to provide a maintenance_info in a new
org.cloudfoundry.operations.services._UpgradeServiceInstanceRequest request accepted from a new CloudFoundryOperations.services().upgrade()method
Current behavior
CloudFoundryOperations.services().update() does not accept a maintenance_info
Workaround
Use low-level cf-java-client api contributed by @twoseat in 9fb5485 as a resolution for #1048