Handle 170001 StagingError from CC when fetching application instance #799
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
information #798
#798
The current implementation of getApplicationInstances handles errors
like CF_BUILDPACK_COMPILED_FAILED and CF_INSTANCES_ERROR that can be
returned from CC if the staging previously failed. However, the general
StagingError (error code 170001) is not handled and will throw an
exception when fetching application instances.
I was able to confirm and verify that this resolves deployment issues (
CF-StagerError(170011) ) when making the following API call.
API Request
API Response
There is a related issue with the Bamboo Cloud Foundry Plugin
(https://gaptap.atlassian.net/browse/CFBAMBOO-236) that is dependent on
this change.
The cf-java-client:2.17.0 doesn't have a target release date, would it
be possible to cut a patch-level release of cf-java-client:2.16.1?