Skip to content

Commit

Permalink
fix(test): update goldens
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Nov 14, 2022
1 parent a8886c2 commit 0b6d3bb
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@ package com.google.showcase.v1beta1.spring;
import com.google.api.gax.core.CredentialsProvider;
import com.google.api.gax.core.ExecutorProvider;
import com.google.api.gax.retrying.RetrySettings;
<<<<<<< HEAD
import com.google.api.gax.rpc.HeaderProvider;
=======
>>>>>>> c0b0937c (fix(Spring CodeGen): To only include options to set to rest transport when supported (#1078))
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.cloud.global.GLobalProperties;
import com.google.cloud.spring.core.Credentials;
import com.google.cloud.spring.core.DefaultCredentialsProvider;
import com.google.showcase.v1beta1.EchoClient;
import com.google.showcase.v1beta1.EchoSettings;
import java.io.IOException;
<<<<<<< HEAD
import java.util.Collections;
=======
>>>>>>> c0b0937c (fix(Spring CodeGen): To only include options to set to rest transport when supported (#1078))
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Qualifier;
Expand Down Expand Up @@ -104,11 +98,7 @@ public class EchoSpringAutoConfiguration {
EchoSettings.newBuilder()
.setCredentialsProvider(credentialsProvider)
.setTransportChannelProvider(defaultTransportChannelProvider)
<<<<<<< HEAD
.setHeaderProvider(this.userAgentHeaderProvider());
=======
.setHeaderProvider();
>>>>>>> c0b0937c (fix(Spring CodeGen): To only include options to set to rest transport when supported (#1078))
if (this.clientProperties.getQuotaProjectId() != null) {
clientSettingsBuilder.setQuotaProjectId(this.clientProperties.getQuotaProjectId());
LOGGER.info(
Expand Down Expand Up @@ -447,13 +437,10 @@ public class EchoSpringAutoConfiguration {
.setRetrySettings(collideNameRetrySettingBuilder.build());
return EchoClient.create(clientSettingsBuilder.build());
}
<<<<<<< HEAD

private HeaderProvider userAgentHeaderProvider() {
String springLibrary = "spring-autogen-echo";
String version = this.getClass().getPackage().getImplementationVersion();
return () -> Collections.singletonMap("user-agent", springLibrary + "/" + version);
}
=======
>>>>>>> c0b0937c (fix(Spring CodeGen): To only include options to set to rest transport when supported (#1078))
}

0 comments on commit 0b6d3bb

Please sign in to comment.