Commit Graph

985 Commits

Author SHA1 Message Date
Michael Reiche
bcbcd5cb73 Make withDurability() return WithScope type for all operations. (#1340)
Some of the operations were mistakenly declared to return a
WithCollection type, making it impossible to call the inScope()
method.

Closes #1329.
2022-02-16 10:55:47 -08:00
Michael Reiche
8eb7231965 Bump Couchbase SDK to 3_2_5 on 5_0_x. (#1345)
Closes #1337.
2022-02-16 10:54:42 -08:00
Michael Reiche
20b59b3772 Have tests remove the documents they insert. (#1336)
Closes #1335.
2022-02-16 10:41:46 -08:00
Michael Reiche
e3fed4c7d6 Make FindByAnalytics count the same as FindByQuery. (#1334)
Closes #1331.
2022-02-16 10:40:37 -08:00
Oliver Drotbohm
4feda42a59 Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-15 17:45:10 +01:00
Greg L. Turnquist
109bc6941a Update CI properties.
See #1302
2022-02-15 09:00:21 -06:00
Michael Reiche
5dc15e98fe Fix slice support. (#1324)
Fix slice support. Also discontinue use of deprecated class.

Closes #1323.
2022-02-08 10:54:30 -08:00
Michael Reiche
2804abe194 Restore projection of class. (#1319)
Restore projection of class in queries. This is necessary for abstract repositories.

Closes #1315.
2022-02-08 10:39:52 -08:00
Michael Reiche
1485ce4754 Fix CasMismatch documentation. (#1320)
Closes #1314.
2022-02-08 10:30:47 -08:00
Michael Reiche
416ce9e843 Expose template getScope(), getCollection() and potentiallyConvertRuntimeException. (#1317)
Closes #1310.
2022-02-08 10:27:17 -08:00
Michael Reiche
76cf013778 Fix regression in IN operator. (#1309)
The regression occurred in changes for https://issues.couchbase.com/browse/MB-26606.

Closes #1308.
2022-02-08 10:23:48 -08:00
Michael Reiche
d716bbcad3 Allow caching null objects. (#1303)
Closes #939.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2022-02-08 10:17:39 -08:00
Michael Reiche
5b959e7a3f Copy sort from pageable to query. (#1305)
Closes #1304.
2022-02-08 10:00:04 -08:00
Mark Paluch
82d022a7b6 Polishing.
Extract Docker and Artifactory credentials into properties file.

See #1313
2022-02-07 08:35:52 +01:00
Greg L. Turnquist
ab0ca0855a Externalize build properties.
See #1313.
2022-02-07 08:35:33 +01:00
Mark Paluch
cff515beb7 After release cleanups.
See #1289
2022-01-14 14:43:24 +01:00
Mark Paluch
96011e6b57 Prepare next development iteration.
See #1289
2022-01-14 14:43:20 +01:00
Mark Paluch
03295f1f8f Release version 5.0 M1 (2022.0.0).
See #1289
2022-01-14 14:35:11 +01:00
Mark Paluch
c8327647e6 Prepare 5.0 M1 (2022.0.0).
See #1289
2022-01-14 14:34:48 +01:00
Michael Reiche
f1575d0ae5 Add Collections to Reference Documentation. (#1296)
Closes #1295.
2022-01-12 17:37:35 -08:00
Michael Reiche
04732913e6 Fix javadoc reference to Field. (#1294)
Closes #1293.
2022-01-11 09:38:25 -08:00
Michael Reiche
ef31af0f69 Fix remaining javadoc in 5.0.x (#1292)
Closes #1291.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2022-01-10 10:44:48 -08:00
Michael Reiche
6197d43aea Bump Couchase SDK to 324 on 50x. (#1290)
Also incorporates minor changes from main.

Closes #1284.
2022-01-10 10:21:36 -08:00
Michael Reiche
197012688e Bump Couchase SDK to 324 on 50x. (#1285)
Also incorporates minor changes from main.

Closes #1284.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2022-01-06 15:00:30 -08:00
Michael Reiche
7d0deb44d6 Fix javadoc. (#1283)
Closes #1282.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2021-12-10 14:26:43 -08:00
Michael Reiche
495ac13c6d Fix for 5_0_x branch. (#1281)
Closes #1280.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2021-12-10 10:52:13 -08:00
Mark Paluch
73eb49d851 Update Jenkinsfile for Java 17 build.
See #1278
2021-12-10 09:07:03 +01:00
Michael Reiche
49e7de06d8 Port to jdk17 and spring 3.0.0 (#1279)
This also allows support of repository methods that return a simple type.
i.e.
@ScanConsistency(query = QueryScanConsistency.REQUEST_PLUS)
@Query("SELECT iata, \"\" as __id, 0 as __cas from #{#n1ql.bucket} WHERE #{#n1ql.filter}")
List<String> getStrings();

Closes #1278.
2021-12-09 15:50:52 -08:00
Michael Reiche
9f2d7ee6b5 Field named id treated as document id. (#1261)
Closes #1258.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2021-10-26 10:52:50 -07:00
Michael Reiche
e1b0ea98d9 Reinstate the getDefaultConsistency() method in the Configuration. (#1249)
Closes #1243.
2021-10-22 11:42:55 -07:00
Mark Paluch
f0221812e2 After release cleanups.
See #1236
2021-10-18 13:55:43 +02:00
Mark Paluch
986194e2f0 Prepare next development iteration.
See #1236
2021-10-18 13:55:39 +02:00
Mark Paluch
36348779f1 Release version 4.3 RC1 (2021.1.0).
See #1236
2021-10-18 13:48:15 +02:00
Mark Paluch
17e6d8525f Prepare 4.3 RC1 (2021.1.0).
See #1236
2021-10-18 13:47:48 +02:00
Mark Paluch
db2eb1a37c Upgrade to Maven Wrapper 3.8.3.
See #1250
2021-10-11 14:30:33 +02:00
Michael Reiche
37648c80d0 Unbean couchbaseObjectMapper(). (#1240)
Closes #1209.
2021-09-23 09:20:04 -07:00
Mark Paluch
4f4ee5bdf8 After release cleanups.
See #1183
2021-09-17 09:52:23 +02:00
Mark Paluch
590f24906b Prepare next development iteration.
See #1183
2021-09-17 09:52:19 +02:00
Mark Paluch
544d84ff88 Release version 4.3 M3 (2021.1.0).
See #1183
2021-09-17 09:44:58 +02:00
Mark Paluch
0d3fb83030 Prepare 4.3 M3 (2021.1.0).
See #1183
2021-09-17 09:44:35 +02:00
Michael Reiche
a472e2a1a5 Expose TemplateSupport from Template. (#1233)
Closes #1210.
2021-09-16 12:05:50 -07:00
Michael Reiche
66cc1b5491 Changes for PR 1223 that I had missed. (#1230)
Closes #1229.
2021-09-14 16:38:11 -07:00
Michael Reiche
b9fa1c76ab Fix test failure against mocked. (#1227)
Closes #1226.
2021-09-14 11:10:16 -07:00
Michael Reiche
1e774d460b Test case for exceptions thrown from events - validation. (#1225)
Closes #1224.
2021-09-14 10:09:51 -07:00
Michael Reiche
a879d0b4e3 Use expiry(duration) with duration. (#1223)
Also adds test for exceptions thrown during events - with validator.

Closes #1204.
2021-09-14 09:49:12 -07:00
Michael Reiche
7c1167f302 Specifying withExpiry(Duration) on findById() uses getTouchAndRead(). (#1196)
Closes #982.
2021-09-13 11:21:23 -07:00
Michael Reiche
345af53930 Pass source as parent when reading subobject. (#1222)
Closes #1221.

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2021-09-13 11:11:05 -07:00
Michael Reiche
da3e8e0e36 Support N1QL Join Annotations. (#1211)
* Support N1QL Join Annotations.

Closes #1198.
2021-09-12 18:38:01 -07:00
Michael Reiche
4bd82ea23c Add project(fields) to findByQuery similar to same method on findById. (#1212)
Closes #1208, #1213.
2021-09-12 17:17:47 -07:00
Michael Reiche
b3c2f005ed Update Couchbase Java SDK to 3.2.1. (#1218)
Closes #1216.
2021-09-10 13:08:54 -07:00