Skip to content

DATACMNS-1255, DATACMNS-1233 - Add CDI support for repository fragments (mixins). #272

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

Closed
wants to merge 5 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Feb 7, 2018

We now support repository fragments for repositories exported through CDI.

This pull request picks up changes from DATACMNS-1255 via #271 as changes in CdiRepositoryBean are somewhat related.


Related tickets: DATACMNS-1255, DATACMNS-1233.

mp911de and others added 5 commits February 6, 2018 16:07
Add default QueryLookupStrategy key lookup method to CdiRepositoryConfiguration to not break existing modules by forcing these to implement a new method.
We now extended CDI repository configuration to allow configuration of EvaluationContextProvider, NamedQueries, QueryLookupStrategy keys and the repository base class. CdiRepositoryConfiguration is now an interface with default-methods only providing default configuration values.
… number of implementation classes.

We now support repository fragments for repositories exported through CDI.
odrotbohm pushed a commit that referenced this pull request Feb 16, 2018
odrotbohm pushed a commit that referenced this pull request Feb 16, 2018
Add default QueryLookupStrategy key lookup method to CdiRepositoryConfiguration to not break existing modules by forcing these to implement a new method.

Original pull request: #272.
odrotbohm pushed a commit that referenced this pull request Feb 16, 2018
We now extended CDI repository configuration to allow configuration of EvaluationContextProvider, NamedQueries, QueryLookupStrategy keys and the repository base class. CdiRepositoryConfiguration is now an interface with default-methods only providing default configuration values.

Original pull request: #272.
odrotbohm pushed a commit that referenced this pull request Feb 16, 2018
… number of implementation classes.

We now support repository fragments for repositories exported through CDI.

Original pull request: #272.
@odrotbohm odrotbohm closed this Feb 16, 2018
@odrotbohm odrotbohm deleted the issue/DATACMNS-1255 branch February 16, 2018 17:37
mp911de added a commit that referenced this pull request Mar 12, 2018
Introduce create(…) method as utility that centralizes code that would live in the modules otherwise. This method is a shortcut that creates the repository factory using Supplier, configures the factory with CdiRepositoryConfiguration settings, collects repository fragments and creates the actual repository implementation.

Related pull request: #272.
Aloren pushed a commit to Aloren/spring-data-commons that referenced this pull request Jun 20, 2019
…ojects#272)

* add response and uri field to RetryableStatusCodeException

* fix the bug in RetryLoadBalancerInterceptor

* wrap throwable regardless
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