Commit Graph

3725 Commits

Author SHA1 Message Date
Christoph Strobl
785eabface Fix NPE when traversing map.
We now use regular iteration instead of the Stream API.

Closes: #4567
Original pull request: #4568
2023-12-11 13:57:38 +01:00
Mark Paluch
0491ec3ba5 Introduce property for Jenkins user and Artifactory server details.
Closes #4570
2023-11-28 14:45:25 +01:00
Mark Paluch
14e500f751 After release cleanups.
See #4531
2023-11-17 13:41:00 +01:00
Mark Paluch
919e2c713c Prepare next development iteration.
See #4531
2023-11-17 13:40:58 +01:00
Mark Paluch
8455869f62 Release version 4.1.6 (2023.0.6).
See #4531
2023-11-17 13:38:03 +01:00
Mark Paluch
1395bffca5 Prepare 4.1.6 (2023.0.6).
See #4531
2023-11-17 13:37:51 +01:00
Mark Paluch
83fb2f1070 Polishing.
Adjust grammar. Mention that we use proxies for PropertyValueConverter registration when using method handles.

Original pull request: #4553
See #4536
2023-11-13 15:26:43 +01:00
Christoph Strobl
415e4d528b Update documentation on version property handling.
Original pull request: #4553
Closes #4536
2023-11-13 15:26:31 +01:00
Mark Paluch
88d639d5f6 Switch to Flux.flatMapSequential(…) to prevent backpressure shaping.
We now use Flux.flatMapSequential(…) instead of concatMap as concatMap reduces the request size to 1. The change in backpressure/request size reduces parallelism and impacts the batch size by fetching 2 documents instead of considering the actual backpressure.

flatMapSequential doesn't tamper the requested amount while retaining the sequence order.

Closes: #4543
Original Pull Request: #4550
2023-11-07 10:53:04 +01:00
Mark Paluch
faccaf0c0f Polishing.
Consistent offending method name format.

Use String.format(…) instead of formatted(…).

Original pull request: #4547
See #4546
2023-11-06 14:15:34 +01:00
Christoph Strobl
512f81fa96 Validate aggregation query method on query method creation.
This commit makes sure to fail early if an annotated string based annotation does not contain a syntactically valid pipeline.

Original pull request: #4547
Closes #4546
2023-11-06 14:15:32 +01:00
Mark Paluch
bc18b5291d Polishing.
Reformat code. Suppress warnings in tests.

Original pull request: #4541
See #4495
2023-11-02 15:35:41 +01:00
Christoph Strobl
d46af5544d Pass on FullDocumentBeforeChange option to change stream iterable/publisher.
This commit ensures to pass on a potentially set FullDocumentBeforeChange option to the change stream iterable/publisher.
It also corrects false optional behavior within the change stream task which did some defaulting though the actual value is an optional one that must not be present.

Original pull request: #4541
Closes #4495
2023-11-02 15:32:27 +01:00
John Blum
17982059cc After release cleanups.
See #4506
2023-10-13 08:09:34 -07:00
John Blum
48fdd81e73 Prepare next development iteration.
See #4506
2023-10-13 08:09:32 -07:00
John Blum
5851c60865 Release version 4.1.5 (2023.0.5).
See #4506
2023-10-13 08:01:14 -07:00
John Blum
9c90e44192 Prepare 4.1.5 (2023.0.5).
See #4506
2023-10-13 08:00:47 -07:00
Christoph Strobl
8ece8579e9 Fix id value conversion when projecting result types.
Contextual information required for converting values are now passed on correctly when projecting id properties.

Closes: #4524
Original pull request: #4525
2023-10-11 15:39:57 +02:00
John Blum
ac68ea41f7 Upgrade to Maven Wrapper 3.9.5.
See #4521
2023-10-04 18:22:30 -07:00
John Blum
0e05c5dcd9 Update CI properties.
See #4506
2023-10-04 17:46:53 -07:00
Mark Paluch
c1bea81c91 After release cleanups.
See #4478
2023-09-15 10:55:35 +02:00
Mark Paluch
f9be701c83 Prepare next development iteration.
See #4478
2023-09-15 10:55:33 +02:00
Mark Paluch
6976f39707 Release version 4.1.4 (2023.0.4).
See #4478
2023-09-15 10:52:26 +02:00
Mark Paluch
c371a6b22c Prepare 4.1.4 (2023.0.4).
See #4478
2023-09-15 10:52:11 +02:00
Mark Paluch
029e6e7ded Remove changelog shipped with the binaries.
Closes #3737
2023-09-14 11:18:44 +02:00
Christoph Strobl
a693d3fde9 Test unwrapped.empty instantiation when used as ctor argument.
Original Pull Request: #4492
2023-09-11 12:55:59 +02:00
Mark Paluch
53760b07bc Polishing.
Remove sysout from tests.

See #4491
2023-09-11 12:55:54 +02:00
Mark Paluch
69c9e0f482 Consistently use the same reading strategies to read associations.
Return the value to set instead of calling the accessor directly. Remove duplicate calls to resolve associations.

See #4491
2023-09-11 12:55:47 +02:00
Mark Paluch
b2809d691e Correctly read unwrapped properties during constructor creation.
Closes: #4491
Original Pull Request: #4492
2023-09-11 12:55:11 +02:00
Julia
f0858fba10 Fix #self @DocumentReference resolution when used in constructor.
This commit enables document reference lookup to use `DocumentReferenceSource` to properly instantiate an entity containig a @DocumentReference `#self` property.

Closes #4484
Original Pull Request: #4486
2023-08-31 09:21:36 +02:00
Mark Paluch
0b3d1b823f Polishing.
Refactor duplicate code into callback.

See #4481
2023-08-24 14:03:06 +02:00
Mark Paluch
0be1e52232 Guard command completion listener against unsupported observation context.
We now no longer attempt to complete the Observation if the context is not a MongoDB one. For commands that target the admin database and run within a parent observation, we still might have an Observation but that one points to the parent invocation and not the MongoDB one as we do not record commands for the admin database.

Closes #4481
2023-08-24 14:03:06 +02:00
Mark Paluch
31da8b11d2 After release cleanups.
See #4451
2023-08-18 14:07:35 +02:00
Mark Paluch
1a002e2159 Prepare next development iteration.
See #4451
2023-08-18 14:07:33 +02:00
Mark Paluch
c8432ef71a Release version 4.1.3 (2023.0.3).
See #4451
2023-08-18 14:04:04 +02:00
Mark Paluch
ad3cfda587 Prepare 4.1.3 (2023.0.3).
See #4451
2023-08-18 14:03:48 +02:00
Mark Paluch
9a68ee4e7f Polishing.
Update since tags. Add missing Override annotation.

See #4070
Original pull request: #4242
2023-08-17 14:18:07 +02:00
Christoph Strobl
7517527bda Introduce AggregationVariable type.
This commit introduces a new AggregationVariable type that is intended to better identify variables within a pipeline to avoid mapping failures caused by invalid field names.

Closes #4070
Original pull request: #4242
2023-08-17 14:18:07 +02:00
Christoph Strobl
0bfb32a109 Update documentation regarding java.time type conversion.
Closes #3482
Original pull request: #4460
2023-08-17 10:45:20 +02:00
Julia Lee
ca44302a9f Update CI properties.
See #4451
2023-08-14 11:25:43 -04:00
Julia Lee
9ebbbde47e Upgrade to Maven Wrapper 3.9.4.
See #4469
2023-08-14 07:55:26 -04:00
Julia
24b0119f10 Polishing for formatting
Original Pull Request: #4455
2023-08-07 11:29:44 -04:00
Julia
8a97ea5a5e Add integration test to ensure schema validation fails when domain type property values are not encrypted as expected.
Closes #4454
Original Pull Request: #4455
2023-08-07 11:23:51 -04:00
Christoph Strobl
d7a8206000 Fix schema generation for encrypted fields that are considered domain entities.
This commit makes sure to consider the encrypted annotation on fields that are considered domain type property values, encrypting the entire object if necessary.
2023-08-07 11:23:50 -04:00
Oliver Christen
5c99c20ee2 Correct misspellings in documentation
Closes: #4461
2023-07-31 14:15:35 -04:00
Christoph Strobl
7946e2b7c9 Polishing.
Use previous context instead of root for mapping objects within an Inheriting context. This avoids accidental mapping of fields against the root entity after eg. a projection stage.
Add missing tests for AggregationOperationRenderer to ensure intended context propagation.

Original Pull Request: #4459
2023-07-28 07:45:41 +02:00
Julia Lee
adea4ba0a9 Fix mapping custom field names in downstream stages in TypedAggregation pipelines.
Use the root AggregationOperationContext in nested ExposedFieldsAggregationOperationContext to properly apply mapping for domain properties that use @Field.

Closes #4443
Original Pull Request: #4459
2023-07-28 07:45:22 +02:00
Julia Lee
529a0c7b15 Fix test setup so that temporal conversions use symmetric timezone setting.
Closes: #4446
Original Pull Request: #4447
2023-07-17 04:25:57 -04:00
Mark Paluch
77a96229c8 After release cleanups.
See #4420
2023-07-14 13:57:59 +02:00
Mark Paluch
4077224a04 Prepare next development iteration.
See #4420
2023-07-14 13:57:57 +02:00