-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Composite key support o. Allow NoSqlEntity to have a class as primary key o. User can specify multiple primary keys in the composite key class o. User can specify whether a key is shard key and it's order o. Added new entity validation method which extends validation supported by Spring data BasicPersistentEntity p. Added new annotations @NoSqlKey and @NoSqlKeyClass Signed-off-by: Akshay Sundarraj <akshay.sundarraj@oracle.com> * o. Add derive query tests for composite primary key. o. Add javadoc for newly added classes o. Remove unused code Signed-off-by: Akshay Sundarraj <akshay.sundarraj@oracle.com> * Fix javadoc warning * Update composite key test * o. Fix an issue in table DDL generation for composite key * o. Added tests for table creation for composite primary key o. Added a public method getNosqlClient() in NosqlTemplate All unit tests are passed for both on-prem and cloud * composite key Ordering. o. Added support for ordering on composite key in Repository o. Added a new testcase to verify ordering on composite key member * Unit test improvements o. Added new set of tests for composite key without @NosqlKey o. Updated composite key tests to check the result of repo operations o. Added Pageable and Sort tests o. Fixed a query issue when composite key is not @NosqlKey * o. Fix an issue when findAll(sort) has composite key member o. Refactor composite key unit test to group by tests o. Add new unit tests for interface and DTO projection for composite key All unit tests are passed * o. Fix an issue in ReactiveRepo.save() which was not saving an entity with composite keys o Add new tests for reactive composite keys * Adding missed file * o. Fix an issue when projecting only primary keys o. Added tests for projecting only primary keys * Fix some of the review comments * NosqlKey ordering changes: o. Changes order of NosqlKeys in composite key as discussed in meeting o. Added Javadoc for the same o. Updated tests for ordering of fields o. Fixed some of the review comments * o. Fix review comments o. Move composite key validation to NosqlEntityInformation * o. Added a test to check for collision of keys when sorted o. Updated check for field collision * o. Update javadoc for NosqlKey o. Updated CHANGELOG.md o. Added new test for kv_json_ as composite key * Updated javadoc for NosqlKey and NosqlId classes. * Small update shardKey javadoc. * o. Updated CHANGELOG.md o. Update a unit test * o. Modified composite key ordering to be unique across both shard and non shard keys. o. Updated the javadoc for the same o. Updated the tests --------- Signed-off-by: Akshay Sundarraj <akshay.sundarraj@oracle.com> Co-authored-by: Cezar Andrei <cezar.andrei@oracle.com>
- Loading branch information
1 parent
80a92fd
commit 0c308ed
Showing
28 changed files
with
2,311 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.