Skip to content

Commit

Permalink
chore(dependencies): Autobump orcaVersion (#1036)
Browse files Browse the repository at this point in the history
* chore(dependencies): Autobump orcaVersion

* refactor(retrofit): Replace the RetrofitExceptionHandler with SpinnakerServerExceptionHandler

As RetrofitExceptionHandler have been dismantled from [orca](spinnaker/orca#4716), now replacing it with SpinnakerServerExceptionHandler.

---------

Co-authored-by: root <root@14a8a8a397ad>
Co-authored-by: j-sandy <[email protected]>
  • Loading branch information
3 people authored May 15, 2024
1 parent 41c01eb commit 6154e74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
orcaVersion=8.51.0
orcaVersion=8.52.0
org.gradle.parallel=true
spinnakerGradleVersion=8.32.1
targetJava11=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.netflix.kayenta.atlas.config.KayentaSerializationConfigurationProperties;
import com.netflix.kayenta.config.KayentaConfiguration;
import com.netflix.spinnaker.config.OkHttpClientConfiguration;
import com.netflix.spinnaker.orca.retrofit.exceptions.RetrofitExceptionHandler;
import com.netflix.spinnaker.orca.retrofit.exceptions.SpinnakerServerExceptionHandler;
import com.squareup.okhttp.ConnectionPool;
import com.squareup.okhttp.OkHttpClient;
Expand Down Expand Up @@ -52,12 +51,6 @@ OkHttpClient okHttpClient(OkHttpClientConfiguration okHttpClientConfig) {
return okHttpClient;
}

@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
RetrofitExceptionHandler retrofitExceptionHandler() {
return new RetrofitExceptionHandler();
}

@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
SpinnakerServerExceptionHandler spinnakerServerExceptionHandler() {
Expand Down

0 comments on commit 6154e74

Please sign in to comment.