Skip to content

JAVA-3022 implementation of private link address translator#1597

Merged
absurdfarce merged 1 commit into
apache:4.xfrom
smiklosovic:privatelink
Jul 14, 2022
Merged

JAVA-3022 implementation of private link address translator#1597
absurdfarce merged 1 commit into
apache:4.xfrom
smiklosovic:privatelink

Conversation

@smiklosovic

@smiklosovic smiklosovic commented May 25, 2022

Copy link
Copy Markdown
Contributor

We are open to rename this translator to match more generic use case. See JAVA-3022.

@adutra adutra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR!

If this lands in the driver I'd also like to see reference.conf amended. Please modify the advanced.address-translator section and:

  • Mention the new translator there;
  • Add the new advertised-hostname option there (it should be commented out by default).

@smiklosovic

Copy link
Copy Markdown
Contributor Author

@adutra I fixed what I could, thanks for the review. This build will fail anyway on MapBasedDriverConfigLoaderTest.should_fill_default_profile_like_reference_file:74 because I commented that property in reference config but it expects it is not commented? I am a little bit confused here. Would you please help me here?

adutra
adutra previously approved these changes May 25, 2022

@adutra adutra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I fixed your build issues, hope you don't mind. I will let @absurdfarce have a look and merge since he's the real boss ™️ now :-)

@adutra

adutra commented May 25, 2022

Copy link
Copy Markdown
Contributor

This build will fail anyway on MapBasedDriverConfigLoaderTest.should_fill_default_profile_like_reference_file:74 because I commented that property in reference config but it expects it is not commented? I am a little bit confused here. Would you please help me here?

This test is a special one that verifies that the programmatic configuration API would produce the exact same configuration as the file-based configuration API.

Since the option in reference.conf is commented out, it should not appear either in OptionsMap.driverDefaults().

@adutra adutra dismissed their stale review May 27, 2022 11:13

Branch was force-pushed

@smiklosovic

Copy link
Copy Markdown
Contributor Author

Hi @adutra , would you mind to fix the build once again? I am not sure what's wrong but "mvn clean install" fails again. I think I just force pushed something by accident and your changes are not there anymore.

@smiklosovic

Copy link
Copy Markdown
Contributor Author

Ok it seems I managed to build it.

@absurdfarce absurdfarce merged commit 65d2c19 into apache:4.x Jul 14, 2022
tedyu added a commit to tedyu/cassandra-java-driver that referenced this pull request Aug 10, 2022
tedyu added a commit to yugabyte/cassandra-java-driver that referenced this pull request Aug 17, 2022
JAVA-3022: Implementation of address translator for fixed hostname (apache#1597)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants