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
Ilford updates #1533
Ilford updates #1533
Conversation
I can take this over.. I'll probably rebase etc. thanks for the start @spencergibb ! |
Thanks! It compiles. Welcome back! |
0d7136b
to
aedfa0c
Compare
Zuul, ribbon and hystrix
Zuul, ribbon and hystrix
In ribbon version, In a separate PR, I think probably To make cc @OlgaMaciaszek for commentary/advise as I'm not sure intent vs behavior here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but have added a few comments/ questions.
&& ((ClientException) e.getCause()) | ||
.getErrorType() == ClientException.ErrorType.GENERAL) { | ||
if (e instanceof IOException/* | ||
* || e.getCause() != null && e.getCause() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we commenting this out?
@@ -27,7 +27,7 @@ | |||
import brave.Tracer; | |||
import brave.propagation.TraceContext; | |||
import brave.sampler.Sampler; | |||
import org.apache.commons.lang3.StringUtils; | |||
import org.apache.commons.lang.StringUtils; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why go back to an older version of the lib?
@@ -29,7 +29,7 @@ | |||
import brave.propagation.ThreadLocalCurrentTraceContext; | |||
import brave.sampler.Sampler; | |||
import brave.spring.web.TracingClientHttpRequestInterceptor; | |||
import org.apache.commons.lang3.StringUtils; | |||
import org.apache.commons.lang.StringUtils; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change from lang3
to lang
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was a transitive dependency. I don't think we should be using commons lang at all.
@@ -91,7 +84,7 @@ public void should_reuse_custom_feign_client() { | |||
@Test | |||
public void my_client_called() { | |||
this.myNameRemote.get(); | |||
then(this.myClient.wasCalled()).isTrue(); | |||
// then(this.myClient.wasCalled()).isTrue(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add TODOs to add a client verification?
@@ -89,10 +82,10 @@ public void open() { | |||
public void should_reuse_custom_feign_client() { | |||
String response = this.myNameRemote.get(); | |||
|
|||
then(this.myClient.wasCalled()).isTrue(); | |||
// then(this.myClient.wasCalled()).isTrue(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add TODOs to add client verification?
taking self off while I focus on reactor. I don't want to block others in case they want to chip in. we are pro non-blocking |
I'm taking this over |
Done via 3813cf9 |
Bumps versions to 3.0.0 and removes ribbon, zuul, hystrix and s-c-aws.
Not sure if tests pass (probably don't), but I'd want someone else to finish the work.