Draft API for connection and template layers for Redis JSON commands - #3327
Draft API for connection and template layers for Redis JSON commands#3327Dgramada wants to merge 22 commits into
Conversation
|
If the interfaces are acceptable, I could close this issue and create a separate one that introduces them alongside their implementations and testing. Would you prefer this approach or would you like me to extend this PR? |
I would just rock this PR (continue on from this point). Thank you for the quick turnaround - I was on PTO - sorry for the delay. |
0680f61 to
275ca3e
Compare
…perations. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
275ca3e to
2f2f6d3
Compare
…s. Added connection layer logic for blocking layer. Removed redundant asserts in RedisJsonCommands default methods. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
…urn type in multiple RedisJsonCommands methods. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
…sonCommands overload to RedisConnectionUnitTests. Updated @SInCE to 4.1. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
…mmands. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
…t-for-connection-and-template-layer
…t-for-connection-and-template-layer
…Unmarked. Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
…rently Jedis has a very inconsistent API compared to Lettuce and changes the data type. Added safely encoded strings to JedisJsonCommands for value params Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
|
I think we're closing in on a first solid design here. I'd suggest drawing some inspiration from 28f5665 (on the Json branch in this repository), particularly around I'd propose finalizing the |
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
|
Both the branch and pull request have become quite bloated. I created a new clean branch with all the current code plus the template layer built on top of it. We can close this pull request and continue with the new clean pull request. |
e0163c7 to
5e76bfb
Compare
Provides a draft version of how the JSON template and connection layer API should look like. The purpose of this PR is to receive feedback and to get a better feeling of what should Spring Data Redis provide for users that would like to use Redis JSON.