Skip to content

Spring5 #100

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

Merged
merged 18 commits into from
Nov 26, 2017
Merged

Spring5 #100

merged 18 commits into from
Nov 26, 2017

Conversation

derjust
Copy link
Owner

@derjust derjust commented Nov 21, 2017

Experimental branch to support Spring5

✅ Unit tests working
✅ Integration tests working
✅ Update AWS DynamoDB SDK

Feel free to pull & build locally to test it out: mvn install

This is a first slap at supporting Sprint 5 with Spring-Data Kay-SR1.
It mainly fixed the compile errors and made all tests run green again.

Also added some syntactical sugar here and there due to increased JDK8 support.

Note:
Methods might not yet fully support the Sprint5/Spring-Data 2 usage of `Optional` and such.
Spring-Data no longer passes in `null` if no sorting order is given by the caller but uses `Sort.unsorted()` which incorrectly causes an Exception.
This should also solve #99
`null` arguments passed into the `find`-methods should not cause a NPE down the road but should be actively rejected.

Solves #51
@codecov-io
Copy link

codecov-io commented Nov 21, 2017

Codecov Report

Merging #100 into master will increase coverage by 0.42%.
The diff coverage is 46.87%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #100      +/-   ##
============================================
+ Coverage     40.49%   40.92%   +0.42%     
- Complexity      337      338       +1     
============================================
  Files            64       64              
  Lines          1768     1757      -11     
  Branches        348      344       -4     
============================================
+ Hits            716      719       +3     
+ Misses          944      927      -17     
- Partials        108      111       +3
Impacted Files Coverage Δ Complexity Δ
...y/support/CompositeIdHashAndRangeKeyExtractor.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...port/DynamoDBIdIsHashKeyEntityInformationImpl.java 77.77% <ø> (ø) 9 <0> (ø) ⬇️
...a/dynamodb/repository/DynamoDBHashAndRangeKey.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...pository/config/DynamoDBRepositoriesRegistrar.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...repository/query/AbstractDynamoDBQueryCreator.java 46.8% <ø> (ø) 11 <0> (ø) ⬇️
...ynamodb/repository/query/DynamoDBQueryCreator.java 57.14% <ø> (-14.29%) 2 <0> (-1)
.../repository/query/DynamoDBQueryLookupStrategy.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...modb/query/MultipleEntityQueryExpressionQuery.java 100% <ø> (ø) 2 <0> (ø) ⬇️
...db/repository/cdi/DynamoDBRepositoryExtension.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...epository/support/HashKeyIsIdHashKeyExtractor.java 100% <ø> (ø) 2 <0> (ø) ⬇️
... and 37 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16aa4b6...c0945bd. Read the comment docs.

@derjust derjust mentioned this pull request Nov 21, 2017
@derjust derjust merged commit 0de29eb into master Nov 26, 2017
@derjust derjust deleted the Spring5 branch March 7, 2018 22:57
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.

2 participants