Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

[Conjure Java Runtime] Part 16: Revising Project Paths, Fix FastFailoverProxy #4360

Merged
merged 8 commits into from
Oct 30, 2019

Conversation

jeremyk-91
Copy link
Contributor

@jeremyk-91 jeremyk-91 commented Oct 29, 2019

IMPORTANT NOTE TO REVIEWERS: Unlike in many other PRs, in this PR the movement of files is a considerable part of the PR. Please read carefully and check that those movements make sense. Thanks!

a.k.a. Fix FastFailoverProxy from fogging fanciness and fragment Feign folder for favorable future functioning.

Goals (and why):

  • Structure dependencies in a clear, unambiguous way. This also avoids some conceptual problems later on, where atlasdb-conjure code expects a shaded feign.RetryableException but receives an unshaded one.

Implementation Description (bullets):

  • Implement two new projects atlasdb-remoting-api and atlasdb-conjure.

Testing (What was existing testing like? What have you done to improve it?):

  • The tests still work in the new projects, and integration tests should check the visibility of everything.

Concerns (what feedback would you like?):

  • I shoved PollingRefreshable into atlasdb-remoting-api, which is a bit sad because it requires a dependency on commons-executors. Not a perfect fit but I felt making another atlasdb-remoting-impl-shared project was a bit overkill.

Where should we start reviewing?:

  • build.gradles of the two projects.

Priority (whenever / two weeks / yesterday): today or tomorrow?

@changelog-app
Copy link

changelog-app bot commented Oct 29, 2019

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

FastFailoverProxy now correctly identifies retryable exceptions and deals with them. Previously, the proxy would expect a shaded retryable exception, when the exceptions it received would have been unshaded as they would have originated from TimeLock and thus external to the atlasdb-feign client project.

Check the box to generate changelog(s)

  • Generate changelog entry

@jeremyk-91 jeremyk-91 changed the title [Conjure Java Runtime] Part 16: Revising Project Paths [Conjure Java Runtime] Part 16: Remoting API Projects Oct 30, 2019
@jeremyk-91 jeremyk-91 changed the title [Conjure Java Runtime] Part 16: Remoting API Projects [Conjure Java Runtime] Part 16: Revising Project Paths Oct 30, 2019
@jeremyk-91 jeremyk-91 force-pushed the jkong/cjr-projections branch from e04f06f to 8bdf0e2 Compare October 30, 2019 00:12
@jeremyk-91 jeremyk-91 changed the title [Conjure Java Runtime] Part 16: Revising Project Paths [Conjure Java Runtime] Part 16: Revising Project Paths, Fix FastFailoverProxy Oct 30, 2019
Copy link
Contributor

@gmaretic gmaretic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadness is sad

versions.props Outdated
@@ -73,6 +73,7 @@ org.hdrhistogram:HdrHistogram = 2.1.10
org.hibernate:hibernate-validator = 5.1.3.Final
org.immutables:* = 2.7.3
org.javassist:javassist = 3.18.2-GA
org.jmock:jmock = 2.8.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove from gradle/versions.gradle and update timestamp-impl?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

@jeremyk-91 jeremyk-91 merged commit 16494c8 into develop Oct 30, 2019
@delete-merged-branch delete-merged-branch bot deleted the jkong/cjr-projections branch October 30, 2019 13:34
@svc-autorelease
Copy link
Collaborator

Released 0.169.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants