Closed chetanmeh closed 6 years ago
@chetanmeh thanks for the PR. As there are breaking changes in the PR, our team is discussing the way forward with the breaking changes. We will get back to you.
@moderakh I understand change is bigger here. So take your time and let me know if any aspect needs to be improved
I've changed the base branch to dev instead of master. There seem to be some merge conflicts. Once you resolve them, I'll merge this PR
Thanks @srinathnarayanan for all the review feedback.
I have rebased this branch to dev (via git rebase --onto origin/dev origin/master
) and also swithed to Jackson API for some of the newly added classes like UniqueKey
etc
Thanks @chetanmeh and @srinathnarayanan for completing this 👍
This PR is an initial attempt to fix #29 as thats the only issue blocking CosmosDB support in OpenWhisk
As changes are across multiple files this PR only touches those parts which are required for the switch. To keep the changes at minimum certain possible optimizations (due to Jackson features) have yet not been implemented and can be done in a later PR
JsonSerializable#getObjectByPath
JsonSerializable
serializes existing json instance to string and then construct the pojo instance. Possibly this can be replaced with deepCopyBehavior change
JsonSerializable
now usesObjectNode
instead ofJSONObject
fromorg.json
Test Results
On my fork the test mostly pass. Seeing intermittent failure in (such failures also seen on master)
BackPressureCrossPartitionTest.query
ChangeFeedTest.changesFromParitionKeyRangeId_FromBeginning
@moderakh Please have a look