Skip to content
Permalink
Browse files
Changed https to http. This may need to be made configurable when we …
…use https in deployment. I'm still figuring out how ribbon/eureka determine which protocol to use.
  • Loading branch information
mifosio-04-04-2018 committed Jun 1, 2017
1 parent b2ee0d3 commit aac6e4e1f0ea2afd1bc6dd3e3719c27b2138337b
Showing 1 changed file with 2 additions and 3 deletions.
@@ -28,7 +28,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.feign.support.SpringMvcContract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -48,7 +47,7 @@ public Logger logger() {

@Bean
public IdentityManager identityManager(
final @Nonnull Client feignClient,
@SuppressWarnings("SpringJavaAutowiringInspection") final @Nonnull Client feignClient,
final @Qualifier(LibraryConstants.LOGGER_NAME) @Nonnull Logger logger) {
return Feign.builder()
.contract(new SpringMvcContract())
@@ -58,6 +57,6 @@ public IdentityManager identityManager(
.requestInterceptor(new TokenedTargetInterceptor())
.decoder(new GsonDecoder())
.encoder(new GsonEncoder())
.target(IdentityManager.class, "https://identity-v1");
.target(IdentityManager.class, "http://identity-v1");
}
}

0 comments on commit aac6e4e

Please sign in to comment.