-
Notifications
You must be signed in to change notification settings - Fork 658
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
refactor(StashClient,WerckerClient/test): make changes to StashClient, WerckerClient use customSpinnaker Exceptions using SpinnakerRetrofitErrorHandler #1128
Merged
mergify
merged 6 commits into
spinnaker:master
from
Luthan95:stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
Sep 19, 2023
Merged
refactor(StashClient,WerckerClient/test): make changes to StashClient, WerckerClient use customSpinnaker Exceptions using SpinnakerRetrofitErrorHandler #1128
mergify
merged 6 commits into
spinnaker:master
from
Luthan95:stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
Sep 19, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following commits need their title changed:
Please format your commit title into the form:
This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here. |
Luthan95
force-pushed
the
stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
branch
from
May 19, 2023 17:51
21947a8
to
fa40816
Compare
SheetalAtre
force-pushed
the
stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
branch
3 times, most recently
from
August 30, 2023 04:50
f587d21
to
be4749c
Compare
dbyron-sf
reviewed
Sep 10, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/CommitController.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 10, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/client/StashMaster.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 10, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/client/StashMaster.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 10, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
SheetalAtre
changed the title
refactor(igor):Replace StashClient,WerckerClient RetrofitError with custom exceptions
refactor(StashClient,WerckerClient/test): make changes to StashClient, WerckerClient use customSpinnaker Exceptions using SpinnakerRetrofitErrorHandler
Sep 11, 2023
SheetalAtre
force-pushed
the
stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
branch
from
September 11, 2023 16:33
be4749c
to
3cee198
Compare
dbyron-sf
reviewed
Sep 11, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/CommitController.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/client/StashMaster.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerService.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerService.groovy
Outdated
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 14, 2023
igor-web/src/test/groovy/com/netflix/spinnaker/igor/scm/stash/CommitControllerSpec.groovy
Outdated
Show resolved
Hide resolved
SheetalAtre
force-pushed
the
stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
branch
2 times, most recently
from
September 19, 2023 06:25
1aafe9f
to
ffc3548
Compare
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/CommitController.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/CommitController.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/scm/stash/client/StashMaster.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerService.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerService.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerService.groovy
Show resolved
Hide resolved
dbyron-sf
reviewed
Sep 19, 2023
igor-web/src/main/groovy/com/netflix/spinnaker/igor/wercker/WerckerBuildMonitor.groovy
Outdated
Show resolved
Hide resolved
…SpinnakerRetrofitErrorHandler for custom error handling in StashClient, WerckerClient
…kerNetworkException for readability
…WerckerBuildMonitor process pipeline runs
…eters throws SpinnakerServerException, err log shows exception err msg, because SpinnakerHttpException response body raw contents are not accessible
…kerService.getBuilds(pipeline), and add separate catch block for SpinnakerServerException as e.getCause() may be relevant for non-SpinnakerHttpException-eg cause for IOException could be SocketTimeoutException/ConnectException
SheetalAtre
force-pushed
the
stash_client_werker_client_replace_retrofiterror_with_custom_exceptions
branch
from
September 19, 2023 19:14
0861fa3
to
6a89998
Compare
…nd e.getCause(), since Spinnaker*Exception contains relevant info in the exception message, which is already handled in existing log message
dbyron-sf
approved these changes
Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
refactor(StashClient,WerckerClient/test): make changes to StashClient, WerckerClient use customSpinnaker Exceptions using SpinnakerRetrofitErrorHandler
make use of SpinnakerRetrofitErrorHandler to utilize custom spinnaker exception and replace RetrofitError