-
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
fix(web): invoke pipeline config exception handling #1831
fix(web): invoke pipeline config exception handling #1831
Commits on Sep 26, 2024
-
feat(web): introduce new configuration property services.front50.appl…
…icationRefreshInitialDelayMs which provides an initial delay in milliseconds for the thread that refreshes the applications cache in ApplicationService It's primarily to facilitate testing, but it seems reasonable someone might want use it production to keep things quiet at startup.
Configuration menu - View commit details
-
Copy full SHA for 17adfe5 - Browse repository at this point
Copy the full SHA 17adfe5View commit details -
test(web): demonstrate current behavior of PipelineController.invokeP…
…ipelineConfig as determined by wiremock responses from front50 and orca (InvokePipelineConfigTest) and when PipelineService.trigger throws an exception (PipelineControllerTest)
Configuration menu - View commit details
-
Copy full SHA for cee5106 - Browse repository at this point
Copy the full SHA cee5106View commit details -
fix(web): let exceptions during PipelineController.invokePipelineConf…
…ig bubble up so gate's http response code more closely reflects what happened
Configuration menu - View commit details
-
Copy full SHA for 57459e6 - Browse repository at this point
Copy the full SHA 57459e6View commit details -
refactor(web): change PipelineController to use constructor autowiring
to prepare for changes to the constructor logic
Configuration menu - View commit details
-
Copy full SHA for 2384d72 - Browse repository at this point
Copy the full SHA 2384d72View commit details -
fix(web): include information from downstream services in error respo…
…nses from PipelineController.invokePipelineConfig by handling RetrofitErrors with SpinnakerRetrofitErrorHandler As part of this PipelineController.invokePipelineConfig no longer logs its own message for RetrofitErrors. There's some loss of information with this, as the initiator of the downstream communication is from no longer clear. A subsequent commit restores this.
Configuration menu - View commit details
-
Copy full SHA for bf98028 - Browse repository at this point
Copy the full SHA bf98028View commit details -
fix(web): chain Spinnaker*Exceptions in PipelineController.invokePipe…
…lineConfig so it's clear which operation is failing. This improves both logging and gate's http response. As part of this, remove the no-op catch and throw for NotFoundException. With no other more general catch block, this code isn't necessary.
Configuration menu - View commit details
-
Copy full SHA for 2cc5df4 - Browse repository at this point
Copy the full SHA 2cc5df4View commit details -
refactor(web): updating custom exception message creation
Uses new kork methods to clean up some error handling and custom exception message creation.
Configuration menu - View commit details
-
Copy full SHA for 2d60d0d - Browse repository at this point
Copy the full SHA 2d60d0dView commit details