Skip to content
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

Java: Rename RedisClient, RedisClusterClient to GlideClient, GlideClusterClient #1671

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

shohamazon
Copy link
Collaborator

@shohamazon shohamazon commented Jun 26, 2024

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shohamazon shohamazon force-pushed the java/glideClient branch 6 times, most recently from f080190 to bd9ff88 Compare June 26, 2024 14:50
@Yury-Fridlyand Yury-Fridlyand added the java issues and fixes related to the java client label Jun 26, 2024
@shohamazon shohamazon force-pushed the java/glideClient branch 4 times, most recently from 0b70645 to 0dbe3c8 Compare June 27, 2024 11:04
@shohamazon shohamazon changed the title [WIP] Java: Rename RedisClient, RedisClusterClient to GlideClient, GlideClu… Java: Rename RedisClient, RedisClusterClient to GlideClient, GlideClusterClient Jun 27, 2024
@shohamazon shohamazon marked this pull request as ready for review June 27, 2024 11:13
@shohamazon shohamazon requested a review from a team as a code owner June 27, 2024 11:13
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

@@ -33,14 +33,14 @@ public void connectToRedis(ConnectionSettings connectionSettings) {
.useTLS(connectionSettings.useSsl)
.build();
try {
redisClient = RedisClusterClient.CreateClient(config).get(10, SECONDS);
redisClient = GlideClusterClient.CreateClient(config).get(10, SECONDS);
Copy link
Collaborator

Choose a reason for hiding this comment

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

rename the variable (line 20)

// RedisClient.

// TODO: consider making connection manager static, and moving the
// ChannelHandler to the
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove the linebreak please

@@ -119,8 +119,8 @@ public void connection_request_protobuf_generation_default_cluster_configuration
@Test
public void connection_request_protobuf_generation_with_all_fields_set() {
// setup
RedisClientConfiguration redisClientConfiguration =
RedisClientConfiguration.builder()
GlideClientConfiguration redisClientConfiguration =
Copy link
Collaborator

Choose a reason for hiding this comment

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

Rename the variable

@@ -180,7 +180,7 @@ public void connection_request_protobuf_generation_with_all_fields_set() {
@Test
public void response_validation_on_constant_response_returns_successfully() {
// setup
RedisClientConfiguration redisClientConfiguration = RedisClientConfiguration.builder().build();
GlideClientConfiguration redisClientConfiguration = GlideClientConfiguration.builder().build();
Copy link
Collaborator

Choose a reason for hiding this comment

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

And here

@@ -197,7 +197,7 @@ public void response_validation_on_constant_response_returns_successfully() {
@Test
public void connection_on_empty_response_throws_ClosingException() {
// setup
RedisClientConfiguration redisClientConfiguration = RedisClientConfiguration.builder().build();
GlideClientConfiguration redisClientConfiguration = GlideClientConfiguration.builder().build();
Copy link
Collaborator

Choose a reason for hiding this comment

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

and here

@shohamazon shohamazon force-pushed the java/glideClient branch 4 times, most recently from b660d14 to b2ff58d Compare July 7, 2024 10:09
@shohamazon shohamazon merged commit 2eb51e2 into valkey-io:main Jul 7, 2024
17 checks passed
@shohamazon shohamazon deleted the java/glideClient branch July 7, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants