Skip to content

Service operation updateInstance should wait until operation is complete #929

@scottfrederick

Description

@scottfrederick

In the org.cloudfoundry.operations.services.Services operations implementation, the createInstance() and deleteInstance() methods poll for the completion of the requested operation using LastOperationUtils.waitForCompletion and return only after CC reports that the operation is complete with a succeeded or failed status. The updateInstance() method does not follow this pattern of returning on completion, but returns immediately after initiating the operation.

It would be better if updateInstance() were consistent with the other service instance lifecycle methods.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions