-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(retrofit): make changes needed to use SpinnakerRetrofitErrorHandler in kork's RetrofitServiceFactory #1842
Conversation
kirangodishala
commented
Oct 29, 2024
- replace RetrofitError references in catch blocks with SpinnakerServerException and its subclasses.
- Update the tests accordingly.
- This PR needs kork to use SpinnakerRetrofitErrorHandler first in RetrofitServiceFactory
UpstreamBadRequest still uses RetrofitError, but I don't think any of those methods are called anymore. |
There are also uses of RetrofitError in gate-web/src/main that I think can disappear too. |
Looks like I missed some occurrences which are not in the pattern of catch blocks. Will address them as well. |
Will remove. |
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy
Outdated
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/ApplicationService.groovy
Show resolved
Hide resolved
gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/ApplicationService.groovy
Outdated
Show resolved
Hide resolved
6352fe3
to
02f132a
Compare
gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/ApplicationService.groovy
Outdated
Show resolved
Hide resolved
…Exception and its subclasses. Update the tests accordingly.
…nakerServerException and its subclasses
02f132a
to
b5e0911
Compare
included in #1843 |