Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
9deb937
Jedis 5.2.0 is released; bump snapshot version to 5.3.0 (#3975)
sazzad16 Oct 2, 2024
801ec93
DOC-4317 fixed flaky tests (#3984)
andy-stark-redis Oct 7, 2024
91fa284
Bump jackson.version from 2.17.2 to 2.18.0 (#3977)
dependabot[bot] Oct 7, 2024
9b3116a
Bump com.kohlschutter.junixsocket:junixsocket-core from 2.10.0 to 2.1…
dependabot[bot] Oct 7, 2024
0617074
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.6 to 3.2.7 (#…
dependabot[bot] Oct 7, 2024
d51969e
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5…
dependabot[bot] Oct 7, 2024
8598275
Fix JavaDoc warnings (#3990)
sazzad16 Oct 7, 2024
bea79a9
Add javadoc to clear up implicit behavior (#3991)
joshrotenberg Oct 13, 2024
f4b367d
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.1…
dependabot[bot] Oct 14, 2024
498fee3
Fix flaky tests with 'await' (#3972)
atakavci Oct 17, 2024
f1750fa
Codecove has released beta version of Test Analytics feature (#3996)
ggivo Oct 21, 2024
e30dc29
Update links in README (#3974)
thachlp Oct 21, 2024
846fa0a
Mkdocs unify docs (#3999)
uglide Oct 28, 2024
64ecbef
Bump jackson.version from 2.18.0 to 2.18.1 (#4006)
dependabot[bot] Nov 4, 2024
ac5d051
Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4 to…
dependabot[bot] Nov 4, 2024
9b88636
DOC-4345 added JSON search examples for home page (#4010)
andy-stark-redis Nov 8, 2024
2fdf928
COMMAND INFO reply contains subcommand detail (#4022)
sazzad16 Nov 11, 2024
04eac1e
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5…
dependabot[bot] Nov 17, 2024
f498513
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.1…
dependabot[bot] Nov 18, 2024
fcdc0d5
Add examples and tutorials page (#4024)
joshrotenberg Nov 19, 2024
eb6cc47
Implement command (no arg) (#4026)
ggivo Nov 20, 2024
74795cb
Make reply of ACL LOG compatible with older Redis versions (#4030)
sazzad16 Nov 27, 2024
d34b36e
Make reply of COMMAND INFO compatible with older Redis versions (#4031)
sazzad16 Nov 27, 2024
ad593ba
Bump jackson.version from 2.18.1 to 2.18.2 (#4034)
dependabot[bot] Dec 2, 2024
03ce340
DOC-4560 pipe/transaction examples for docs (#4038)
andy-stark-redis Dec 7, 2024
90583d0
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.1…
dependabot[bot] Dec 11, 2024
d4a569c
Token based authentication integration with core extension (#4011)
atakavci Dec 20, 2024
7697b6a
Minor fix with Token-Based-Authentication integration tests (#4044)
atakavci Dec 29, 2024
87d451c
Add SslOptions (#3980)
sazzad16 Jan 6, 2025
a55da99
DOC-4450 added hgetall and hvals command examples (#4050)
andy-stark-redis Jan 14, 2025
180d9aa
Remove List tests asserting timeouts (#4051)
sazzad16 Jan 14, 2025
f9977e4
Introduces test matrix based on Redis versions [8.0-M02, 7.4.1, 7.2.6…
ggivo Jan 14, 2025
27ecd6c
Fix sporadic test failing with OOM (#4053)
ggivo Jan 15, 2025
757fe60
DOC-4495 sadd and smembers examples (#4052)
andy-stark-redis Jan 15, 2025
2457b9b
DOC-4475 examples for llen, lpop, lpush, lrange, rpop, and rpush (#4054)
andy-stark-redis Jan 15, 2025
8b77437
Format DOC examples
sazzad16 Jan 15, 2025
b16cd05
Use v4 of upload artifact (#4061)
sazzad16 Jan 16, 2025
539dbae
Upgrade GitHub Python artifact for Publish Docs (#4062)
sazzad16 Jan 16, 2025
aee2ddf
Use v3 of GitHub upload-pages-artifact for Publish Docs (#4063)
sazzad16 Jan 16, 2025
2e06aea
Use v3 of GitHub deploy-pages for Publish Docs (#4064)
sazzad16 Jan 16, 2025
8f8fe1f
Revert failing GitHub artifacts for Publish Docs (#4065)
sazzad16 Jan 16, 2025
607025d
DOC-4440 added auth command examples using Jedis class (#4058)
andy-stark-redis Jan 19, 2025
c8132d3
DOC-4732 added geo index examples (#4059)
andy-stark-redis Jan 19, 2025
e1de59f
Update actions/checkout, actions/setup-java and codecov/codecov-actio…
ozennou Jan 19, 2025
e6a94d4
DOC-4445 server management command examples (#4056)
andy-stark-redis Jan 20, 2025
3e537f9
Fix TBA cluster integration tests (#4068)
atakavci Jan 21, 2025
4b10f2e
Test with 8.0-M04-pre (#4069)
ggivo Jan 30, 2025
5e1b5c8
Test modules ACL support (#4042)
sazzad16 Jan 30, 2025
34bbf00
Test modules CONFIG support (#4043)
sazzad16 Jan 30, 2025
a46700a
Remove SearchConfigTest (#4072)
sazzad16 Jan 30, 2025
80ba2d5
Support warning messages in search/aggregation query results (#3958)
sazzad16 Jan 30, 2025
8da5104
Remove Triggers and Functions feature (#3969)
sazzad16 Jan 30, 2025
cd9346a
Change FT.PROFILE to return generic object (#4067)
sazzad16 Jan 30, 2025
cbab71c
Remove Graph module support (#4073)
sazzad16 Jan 31, 2025
610c7c6
Bump to 6.0.0 snapshot
sazzad16 Jan 31, 2025
8d2a016
Use v2 of GitHub upload-pages-artifact for Publish Docs
sazzad16 Jan 31, 2025
848f02b
Use v3 of GitHub upload-pages-artifact for Publish Docs
sazzad16 Jan 31, 2025
3917ef9
Use v4 of GitHub deploy-pages for Publish Docs
sazzad16 Jan 31, 2025
a961d0c
Use v4 of few GitHub actions workflow artifacts (#4075)
sazzad16 Jan 31, 2025
07f3868
Running doctests on master branch
sazzad16 Jan 31, 2025
0d4b0db
Fix the Java example code for Lists using RPUSH (#4074)
sanaulla123 Jan 31, 2025
d561d9a
Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 (#4080)
dependabot[bot] Feb 3, 2025
97a450b
Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.1 …
dependabot[bot] Feb 3, 2025
23f21e6
Bump com.google.code.gson:gson from 2.11.0 to 2.12.1 (#4082)
dependabot[bot] Feb 3, 2025
6f35732
Bump org.json:json from 20240303 to 20250107 (#4049)
dependabot[bot] Feb 3, 2025
06ca054
Update redisjson.md (#4083)
tishun Feb 5, 2025
dca716e
Fix pubsub when cache enabled (#4086)
atakavci Feb 10, 2025
c09dae2
Make default client side search dialect to 2 (#4060)
sazzad16 Feb 13, 2025
74f3952
Extend EXECABORT with "previous errors" #4084 (#4090)
ggivo Feb 14, 2025
8e40c3c
[code cleanup] Jedis client to implement CommandCommands interface (#…
ggivo Feb 14, 2025
6fbe86e
Enforce code style format (#4087)
atakavci Feb 17, 2025
2618da5
Support INFO command in UnifiedJedis (simplified) (#4079)
sazzad16 Feb 18, 2025
29ced55
Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 (#4099)
dependabot[bot] Feb 26, 2025
aa56473
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.…
dependabot[bot] Feb 27, 2025
5d8f869
Basic documention for TBA support with some examples (#4102)
atakavci Feb 27, 2025
70123fc
Propagate cause for "Cluster retry deadline exceeded" exception (#4103)
ggivo Feb 28, 2025
e6ae151
Bump net.revelc.code.formatter:formatter-maven-plugin from 2.11.0 to …
dependabot[bot] Mar 3, 2025
d34c007
Update stale issue workflow (#4101)
ggivo Mar 4, 2025
c3f5304
Fix JedisURIHelper.getPassword throwing ArrayIndexOutOfBoundsExceptio…
smadasu Mar 9, 2025
6edf363
Update redis server test versions (#4114)
ggivo Mar 18, 2025
680cf7f
Test support for DefaultAzureCredential (#4113)
atakavci Mar 24, 2025
6ce5d72
Support for new HFE API, hgetdel hgetex hsetex commands (#4095)
atakavci Mar 24, 2025
f8e1be3
Fix failing network partition test (#4118)
atakavci Mar 25, 2025
a2a0601
Add tests for getSet() with Parameters (#4127)
ggivo Mar 28, 2025
5b0666d
Add tests for vector search INT8/UINT8 types (#4091)
ggivo Mar 28, 2025
9625673
Bump jackson.version from 2.18.2 to 2.18.3 (#4106)
dependabot[bot] Mar 28, 2025
ff313c5
Link Jedis 5 migration guide in mkdocs (#4076)
sazzad16 Mar 28, 2025
4ce4f24
Document pgp keys (#4125)
ggivo Apr 2, 2025
bcc8e5f
Update verifying content doc (#4133)
ggivo Apr 5, 2025
856a3b0
Fix failing ModuleTest & test against 8.0-RC1-pre (#4131)
ggivo Apr 7, 2025
582df92
Update "Pipelines and transactions" doc example to include pipeline.c…
ggivo Apr 7, 2025
8e78a93
Fix flaky test JedisPoolTest.testCloseConnectionOnMakeObject (#4138)
thachlp Apr 7, 2025
1d1b268
Migrate test to JUnit5 (#4139)
ggivo Apr 9, 2025
93dd26c
Fix for connectionAuthWithExpiredTokenTest (#4142)
atakavci Apr 11, 2025
2755b73
Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.2 …
dependabot[bot] Apr 29, 2025
3037f63
Speed up cluster tests (#4150)
ggivo Apr 29, 2025
faf1762
Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 (#4137)
dependabot[bot] Apr 29, 2025
38bd33f
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5…
dependabot[bot] Apr 29, 2025
34474d7
DOC-5110 added hash search examples (#4151)
andy-stark-redis Apr 29, 2025
fba0f97
Bump test infra to 8.0-RC2 (#4155)
ggivo Apr 29, 2025
eb34e05
Run pipeline in current thread if all the keys on same node (#4149)
xrayw May 7, 2025
f82f221
Bump version to 6.1.0-SNAPSHOT after 6.0.0 release (#4157)
ggivo May 8, 2025
b420f35
Bump com.google.code.gson:gson from 2.12.1 to 2.13.1 (#4161)
dependabot[bot] May 22, 2025
a80d8ee
Bump org.junit:junit-bom from 5.13.0-M1 to 5.13.0-RC1 (#4168)
dependabot[bot] May 27, 2025
3605bef
Bump jackson.version from 2.18.3 to 2.19.0 (#4160)
dependabot[bot] May 27, 2025
33dd489
Add binary stream support for XREAD and XREADGROUP (#3566) (#4152)
YoHanKi May 27, 2025
8ea3b6e
Update README.md (#4143)
jujn May 28, 2025
d8a8eef
Add retryable command execution example (#3780)
sazzad16 May 28, 2025
3e8f151
Fix flaky tests in DocumentTest (#3617)
219sansim May 29, 2025
8156fb4
Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.4 …
dependabot[bot] Jun 2, 2025
425a479
Bump org.json:json from 20250107 to 20250517 (#4171)
dependabot[bot] Jun 3, 2025
b6f11d4
Bump org.junit:junit-bom from 5.13.0-RC1 to 5.13.1 (#4174)
dependabot[bot] Jun 9, 2025
60c356b
Update test infra to use latest Redis (#4179)
ggivo Jun 12, 2025
1f64cfd
Bump jackson.version from 2.19.0 to 2.19.1 (#4180)
dependabot[bot] Jun 16, 2025
d52b3a2
Add a test to verify failover on DNS unresolvable host error (#4182)
ggivo Jun 26, 2025
f591a9e
Fix:JedisCluster throws NullPointerException when maxAttempts is set …
ggivo Jun 26, 2025
3e9e2bb
DOC-5227 added probabilistic data type examples (#4184)
andy-stark-redis Jun 26, 2025
ebe30f7
Bump org.junit:junit-bom from 5.13.1 to 5.13.2 (#4192)
dependabot[bot] Jun 30, 2025
4e26822
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 (#…
dependabot[bot] Jul 7, 2025
ea61a48
Migrate publishing to Maven Central Portal (#4199)
uglide Jul 8, 2025
3313f47
Add Support for New BITOP Operations in Redis 8.2 (#4188) (#4190)
ggivo Jul 11, 2025
8e60c1b
Bump org.junit:junit-bom from 5.13.2 to 5.13.3 (#4198)
dependabot[bot] Jul 11, 2025
a25d04d
Fix flaky test ClientCommandsTest.killSkipmeYesNo (#4206)
thachlp Jul 20, 2025
954c686
Fix memory leak in JedisClusterInfoCache - replica nodes not cleared …
thachlp Jul 20, 2025
edeb00f
Bump jackson.version from 2.19.1 to 2.19.2 (#4208)
dependabot[bot] Jul 22, 2025
201f57f
Add 8.2 to test matrix (#4195)
ggivo Jul 24, 2025
3a2c704
Check formatting only for new files (#4212)
uglide Jul 25, 2025
db8d397
Add support for new stream commands (#4211)
uglide Jul 25, 2025
37e8362
Fix test coverage generation (#4213)
uglide Jul 25, 2025
9427e02
Align codecov config with lettuce (#4214)
uglide Jul 25, 2025
1ecb037
DOC-5471 time series doc examples (#4210)
andy-stark-redis Jul 25, 2025
8cdc90f
Bump 8.2 test infra to 8.2-rc1 (#4215)
ggivo Jul 25, 2025
c33483b
Clarify why new stream entries aren't deleted with XDELEX (#4218)
uglide Jul 29, 2025
3be29f5
verify against redis 8.2-rc2-pre (#4221)
ggivo Aug 1, 2025
a61a59d
Add support for SVS-VAMANA vector indexing (#4222)
uglide Aug 4, 2025
84ab6fd
Restore binary compatibility of SetParams (#4225)
ggivo Aug 5, 2025
61ba85f
Bump test infra to Redis 8.2 GA (#4232)
ggivo Aug 13, 2025
854b24a
Update snapshot version to 6.2.0 (#4234)
ggivo Aug 14, 2025
9312acc
docs: Improve Javadoc for HostAndPortMapper (#4112) (#4227)
JuneYub Aug 14, 2025
f1a12f3
Bump org.junit:junit-bom from 5.13.3 to 5.13.4 (#4216)
dependabot[bot] Aug 14, 2025
9187e24
Fix JedisBroadcastException in functionLoadReplace for Redis Cluster …
Kguswo Aug 14, 2025
affb536
Support Redis 8 vector sets #4169 (#4203)
ggivo Aug 14, 2025
1528e65
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.1…
dependabot[bot] Aug 18, 2025
6e0d430
[vector sets] Support for VSIM WITHATTRIBS (CAE-1421) (#4260)
ggivo Aug 28, 2025
56eef41
Bump snapshot version to 7.0.0 (#4261) (#4262)
ggivo Aug 28, 2025
b04e64b
[automatic failover] Automatic failover client improvements (part 1) …
atakavci Sep 1, 2025
5c0cf87
Separate unit and integration tests (#4280)
uglide Sep 12, 2025
e3e9b34
Cleanup build after splitting the tests (#4282)
uglide Sep 15, 2025
d599c5e
DOC-5076 vector set doc examples (#4281)
andy-stark-redis Sep 15, 2025
bc9f0ce
Bump jackson.version from 2.19.2 to 2.20.0 (#4265)
dependabot[bot] Sep 15, 2025
d0ef6c2
Bump ch.qos.logback:logback-classic from 1.2.12 to 1.2.13 (#4266)
dependabot[bot] Sep 15, 2025
b11e060
Fix docs on how to consume snapshots (#4283)
uglide Sep 15, 2025
f69b881
Add a fresh coat of paint to the README (#4284)
uglide Sep 16, 2025
d6baa75
Bump maven.surefire.version from 3.5.3 to 3.5.4 (#4289)
dependabot[bot] Sep 23, 2025
e838e48
Fix #4147: Broken links at https://redis.github.io/jedis/ (#4285)
SwapnaliY16 Sep 29, 2025
b899f3f
[automatic failover] Automatic failover client improvements (part 2)…
atakavci Sep 30, 2025
f8de2fe
Add builders for classes based on UnifiedJedis (#4263)
uglide Oct 2, 2025
303ed10
[automatic failover] Automatic failover client improvements (part 3) …
atakavci Oct 6, 2025
14356c4
[automatic failover] Refactor: Rename Multi-Cluster Classes to Multi-…
ggivo Oct 7, 2025
6a4a94b
[automatic failover] Refactor MultiDb API: Rename endpoint methods to…
ggivo Oct 8, 2025
5db1a39
Remove spellcheck (#4309)
uglide Oct 9, 2025
158e726
Remove deprecated constructors, classes and JedisSharding (#4311)
uglide Oct 9, 2025
07bf3b0
[automatic failover] Update failover docs (#4314)
uglide Oct 9, 2025
3645601
Dedicated profile for running Scenario tests (#4312)
ggivo Oct 9, 2025
297279e
Add v6 and v7 migration guides (#4315)
uglide Oct 9, 2025
840eb9e
[automatic failover] Automatic failover client improvements (part 4) …
atakavci Oct 9, 2025
aa7fee1
[automatic failover] Fix misleading timing information for AA scenari…
atakavci Oct 9, 2025
5f4997a
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.…
dependabot[bot] Oct 10, 2025
392ae4f
Bump com.google.code.gson:gson from 2.13.1 to 2.13.2 (#4290)
dependabot[bot] Oct 10, 2025
47d46af
Bump eu.rekawek.toxiproxy:toxiproxy-java from 2.1.7 to 2.1.11 (#4288)
dependabot[bot] Oct 10, 2025
5e19833
Enable code highlighting in the docs (#4319)
uglide Oct 10, 2025
9a129e7
Bump version to 7.0.1-SNAPSHOT (#4320)
ggivo Oct 10, 2025
eea01d2
docs: document required optional dependency `resilience4j-all` (#4321)
ggivo Oct 10, 2025
d10c85e
docs: Correct builder to use hostAndPort method (#4322)
ChrisMcD1 Oct 13, 2025
20e7081
churn : Bump 8.2 test infra to 8.2.2 (#4329)
ggivo Oct 14, 2025
1d8d075
Increase timeout for countDownLatch await (#4333)
uglide Oct 20, 2025
4ddd7f4
Fix connection leak in scanIteration with JedisSentineled #4323 (#4328)
ggivo Oct 21, 2025
e7bf717
Reduce log level to warn on reconnect in JedisSentinelPool (#4336)
uglide Oct 24, 2025
0bcac5c
Add Redis 8.4 to test matrix (#4337) (#4338)
ggivo Nov 3, 2025
b02eb1f
[churn] Attempt to fix flaky JedisPubSubBaseTest (#4346)
ggivo Nov 5, 2025
9e0632c
[churn] Attempt to fix flaky StatusTrackerTest (#4347)
ggivo Nov 5, 2025
4776709
Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.5 to…
dependabot[bot] Nov 5, 2025
dea46c5
Add commands flags based on static map (#4332)
uglide Nov 5, 2025
97dc9b1
Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 (#4327)
dependabot[bot] Nov 5, 2025
c18881e
Bump integration branch to next release (7.1.x) (#4349)
ggivo Nov 6, 2025
d5e98ab
Bump 8.4 test image (#4362)
a-TODO-rov Nov 19, 2025
0582c3b
Add msetex command (#4361)
a-TODO-rov Nov 19, 2025
c8135e2
Add support for CLAIM arg in XREADGROUP (#4344)
a-TODO-rov Nov 19, 2025
fa52d66
Mark StaticCommandFlagsRegistry as internal (#4365)
ggivo Nov 20, 2025
2c7b717
Add support cas cad v2 (#4363)
a-TODO-rov Nov 20, 2025
978011a
Fix jedis dependency version in README.md
ggivo Nov 20, 2025
764bd77
Merge remote-tracking branch 'origin/v7.1.0-upstream' into v7.1.0
venkata-kishore Dec 1, 2025
3721408
Replace `GenericObjectPoolConfig` with `SimpleObjectPoolConfig` and r…
venkata-kishore Dec 9, 2025
7b5a23e
test: Re-enable and update `JedisPoolTest` to verify resource destruc…
venkata-kishore Dec 9, 2025
491fdb2
Merge remote-tracking branch 'origin/prime' into v7.1.0
venkata-kishore Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 27 additions & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>today.bonfire.oss</groupId>
<artifactId>bonfire-oss-parent</artifactId>
<version>1.1.8</version>
<version>1.1.12</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -39,13 +39,13 @@
<properties>
<github.global.server>github</github.global.server>
<jedis.module.name>bonfire.oss.jedis</jedis.module.name>
<slf4j.version>1.7.36</slf4j.version>
<slf4j.version>2.0.17</slf4j.version>
<resilience4j.version>1.7.1</resilience4j.version>
<jackson.version>2.20.0</jackson.version>
<maven.surefire.version>3.5.4</maven.surefire.version>
<junit.version>5.13.4</junit.version>
<!-- Default JVM options for tests -->
<JVM_OPTS></JVM_OPTS>
<JVM_OPTS>--add-opens java.base/java.time=ALL-UNNAMED</JVM_OPTS>
<!-- Default excluded groups for tests - can be overridden from command line -->
<excludedGroupsForUnitTests>integration,scenario</excludedGroupsForUnitTests>
<skipUnitTests>false</skipUnitTests>
Expand Down Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>today.bonfire.oss</groupId>
<artifactId>simple-object-pool</artifactId>
<version>2.3.3</version>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down Expand Up @@ -143,7 +143,6 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.13</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -317,6 +316,13 @@
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<argLine>@{argLine} ${JVM_OPTS}</argLine>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.surefire.version}</version>
Expand Down Expand Up @@ -403,39 +409,21 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.3</version>
<configuration>
<source>8</source><!-- Until JDK 11+ -->
<detectJavaApiLink>false</detectJavaApiLink><!-- Until JDK 11+ -->
<!--<doclint>none</doclint>-->
<!--<doclint>all,-missing</doclint>-->
</configuration>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <artifactId>maven-source-plugin</artifactId>-->
<!-- <version>3.3.1</version>-->
<!-- <configuration>-->
<!-- <attach>true</attach>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>attach-sources</id>-->
<!-- <goals>-->
<!-- <goal>jar</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
Expand Down Expand Up @@ -549,9 +537,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<parameters>true</parameters>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/redis/clients/jedis/ConnectionFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import redis.clients.jedis.csc.Cache;
import redis.clients.jedis.csc.CacheConnection;
import redis.clients.jedis.exceptions.JedisException;
import today.bonfire.oss.sop.PooledObject;
import today.bonfire.oss.sop.PooledObjectFactory;

/**
Expand Down Expand Up @@ -157,7 +158,6 @@ public void activateObject(Connection obj) {
// no-op
}

@Override
public void activateObject(PooledObject<Connection> pooledConnection) throws Exception {
// what to do ??
}
Expand Down Expand Up @@ -186,7 +186,7 @@ public Connection createObject() {
@Override
public void passivateObject(Connection obj) {
// TODO maybe should select db 0? Not sure right now.
reAuthenticate(jedis);
reAuthenticate(obj);
}

@Override
Expand Down Expand Up @@ -216,7 +216,7 @@ public boolean isObjectValid(Connection obj) {
}
}

private void reAuthenticate(Connection jedis) throws Exception {
private void reAuthenticate(Connection jedis) {
try {
String result = jedis.reAuthenticate();
if (result != null && !result.equals("OK")) {
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/redis/clients/jedis/JedisCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import java.util.Map;
import java.util.Set;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

import redis.clients.jedis.annots.Experimental;
import redis.clients.jedis.builders.ClusterClientBuilder;
import redis.clients.jedis.executors.ClusterCommandExecutor;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/redis/clients/jedis/JedisPooled.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLSocketFactory;

import org.apache.commons.pool2.PooledObjectFactory;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import redis.clients.jedis.annots.Experimental;
import redis.clients.jedis.builders.StandaloneClientBuilder;
import redis.clients.jedis.csc.Cache;
Expand Down
15 changes: 7 additions & 8 deletions src/main/java/redis/clients/jedis/MultiDbConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import java.util.Arrays;
import java.util.List;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import redis.clients.jedis.annots.Experimental;
import redis.clients.jedis.exceptions.JedisConnectionException;
import redis.clients.jedis.exceptions.JedisValidationException;
import redis.clients.jedis.mcf.ConnectionFailoverException;
import redis.clients.jedis.mcf.PingStrategy;
import redis.clients.jedis.mcf.HealthCheckStrategy;
import today.bonfire.oss.sop.SimpleObjectPoolConfig;

/**
* Configuration class for multi-database Redis deployments with automatic failover and failback
Expand Down Expand Up @@ -829,7 +829,7 @@ public static class DatabaseConfig {
private final JedisClientConfig jedisClientConfig;

/** Optional connection pool configuration for managing connections to this database. */
private GenericObjectPoolConfig<Connection> connectionPoolConfig;
private SimpleObjectPoolConfig connectionPoolConfig;

/**
* Weight value for database selection priority. Higher weights indicate higher priority.
Expand Down Expand Up @@ -871,7 +871,7 @@ public DatabaseConfig(Endpoint endpoint, JedisClientConfig clientConfig) {
* @throws IllegalArgumentException if endpoint or clientConfig is null
*/
public DatabaseConfig(Endpoint endpoint, JedisClientConfig clientConfig,
GenericObjectPoolConfig<Connection> connectionPoolConfig) {
SimpleObjectPoolConfig connectionPoolConfig) {
this.endpoint = endpoint;
this.jedisClientConfig = clientConfig;
this.connectionPoolConfig = connectionPoolConfig;
Expand Down Expand Up @@ -921,7 +921,7 @@ public JedisClientConfig getJedisClientConfig() {
* Returns the connection pool configuration for this database.
* @return the connection pool configuration, may be null if not specified
*/
public GenericObjectPoolConfig<Connection> getConnectionPoolConfig() {
public SimpleObjectPoolConfig getConnectionPoolConfig() {
return connectionPoolConfig;
}

Expand Down Expand Up @@ -975,7 +975,7 @@ public static class Builder {
private JedisClientConfig jedisClientConfig;

/** Optional connection pool configuration. */
private GenericObjectPoolConfig<Connection> connectionPoolConfig;
private SimpleObjectPoolConfig connectionPoolConfig;

/** Weight for database selection priority. Default: 1.0f */
private float weight = 1.0f;
Expand Down Expand Up @@ -1003,8 +1003,7 @@ public Builder(Endpoint endpoint, JedisClientConfig clientConfig) {
* @param connectionPoolConfig the connection pool configuration
* @return this builder instance for method chaining
*/
public Builder connectionPoolConfig(
GenericObjectPoolConfig<Connection> connectionPoolConfig) {
public Builder connectionPoolConfig(SimpleObjectPoolConfig connectionPoolConfig) {
this.connectionPoolConfig = connectionPoolConfig;
return this;
}
Expand Down Expand Up @@ -1467,4 +1466,4 @@ public MultiDbConfig build() {

}

}
}
18 changes: 1 addition & 17 deletions src/main/java/redis/clients/jedis/UnifiedJedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@
import org.json.JSONArray;
import redis.clients.jedis.annots.Experimental;
import redis.clients.jedis.annots.VisibleForTesting;
import redis.clients.jedis.args.BitCountOption;
import redis.clients.jedis.args.BitOP;
import redis.clients.jedis.args.ExpiryOption;
import redis.clients.jedis.args.FlushMode;
import redis.clients.jedis.args.FunctionRestorePolicy;
import redis.clients.jedis.args.GeoUnit;
import redis.clients.jedis.args.ListDirection;
import redis.clients.jedis.args.ListPosition;
import redis.clients.jedis.args.SortedSetOption;
import redis.clients.jedis.args.*;
import redis.clients.jedis.bloom.BFInsertParams;
import redis.clients.jedis.bloom.BFReserveParams;
import redis.clients.jedis.bloom.CFInsertParams;
Expand Down Expand Up @@ -49,9 +41,7 @@
import redis.clients.jedis.params.*;
import redis.clients.jedis.providers.ClusterConnectionProvider;
import redis.clients.jedis.providers.ConnectionProvider;
import redis.clients.jedis.providers.MultiClusterPooledConnectionProvider;
import redis.clients.jedis.providers.PooledConnectionProvider;
import redis.clients.jedis.providers.ShardedConnectionProvider;
import redis.clients.jedis.resps.*;
import redis.clients.jedis.search.*;
import redis.clients.jedis.search.aggr.AggregationBuilder;
Expand All @@ -63,12 +53,6 @@
import redis.clients.jedis.util.JedisURIHelper;
import redis.clients.jedis.util.KeyValue;

import java.net.URI;
import java.time.Duration;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;

public class UnifiedJedis implements JedisCommands, JedisBinaryCommands, SampleKeyedCommands,
SampleBinaryKeyedCommands, RedisModuleCommands, AutoCloseable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ public RedisCredentials get() {
return new TokenCredentials(this.currentToken);
}

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package redis.clients.jedis.builders;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import redis.clients.jedis.*;
import redis.clients.jedis.csc.Cache;
import redis.clients.jedis.csc.CacheConfig;
Expand All @@ -10,6 +9,7 @@
import redis.clients.jedis.json.JsonObjectMapper;
import redis.clients.jedis.providers.ConnectionProvider;
import redis.clients.jedis.search.SearchProtocol;
import today.bonfire.oss.sop.SimpleObjectPoolConfig;

/**
* Abstract base class for Redis client builders that provides common configuration options.
Expand All @@ -33,7 +33,7 @@
public abstract class AbstractClientBuilder<T extends AbstractClientBuilder<T, C>, C> {

// Common configuration fields
protected GenericObjectPoolConfig<Connection> poolConfig = new ConnectionPoolConfig();
protected SimpleObjectPoolConfig poolConfig = new ConnectionPoolConfig();
protected Cache cache = null;
protected CacheConfig cacheConfig = null;
protected CommandExecutor commandExecutor = null;
Expand Down Expand Up @@ -172,7 +172,7 @@ public C build() {
* @param poolConfig the pool configuration
* @return this builder
*/
public T poolConfig(GenericObjectPoolConfig<Connection> poolConfig) {
public T poolConfig(SimpleObjectPoolConfig poolConfig) {
this.poolConfig = poolConfig;
return self();
}
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/redis/clients/jedis/mcf/PingStrategy.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
package redis.clients.jedis.mcf;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

import redis.clients.jedis.Connection;
import redis.clients.jedis.Endpoint;
import redis.clients.jedis.HostAndPort;
import redis.clients.jedis.JedisClientConfig;
import redis.clients.jedis.JedisPooled;
import redis.clients.jedis.UnifiedJedis;
import redis.clients.jedis.*;
import redis.clients.jedis.MultiDbConfig.StrategySupplier;

public class PingStrategy implements HealthCheckStrategy {
Expand All @@ -22,9 +15,9 @@ public PingStrategy(HostAndPort hostAndPort, JedisClientConfig jedisClientConfig

public PingStrategy(HostAndPort hostAndPort, JedisClientConfig jedisClientConfig,
HealthCheckStrategy.Config config) {
GenericObjectPoolConfig<Connection> poolConfig = new GenericObjectPoolConfig<>();
poolConfig.setMaxTotal(MAX_HEALTH_CHECK_POOL_SIZE);
this.jedis = new JedisPooled(hostAndPort, jedisClientConfig, poolConfig);
var poolConfig = JedisPoolConfig.builder();
poolConfig.maxPoolSize(MAX_HEALTH_CHECK_POOL_SIZE);
this.jedis = new JedisPooled(hostAndPort, jedisClientConfig, poolConfig.build());
this.config = config;
}

Expand Down
Loading