Query State Preview API implementation.#697
Conversation
bf938df to
4ba1945
Compare
Signed-off-by: Mukundan Sundararajan <[email protected]>
4ba1945 to
6be47a8
Compare
Signed-off-by: Mukundan Sundararajan <[email protected]>
Signed-off-by: Mukundan Sundararajan <[email protected]>
| String[] methodSegments = method.split("/"); | ||
|
|
||
| List<String> pathSegments = new ArrayList<>(Arrays.asList(DaprHttp.API_VERSION, "invoke", appId, "method")); | ||
| pathSegments.addAll(Arrays.asList(methodSegments)); |
There was a problem hiding this comment.
@artursouza This change is because of the change dapr/dapr#4008
The PubsubIT was failing because the method name was messages/ttlTopic which was encoded as messages%2FttlTopic which worked before the previous change was made.
Let me know if we can do it in a different way. Related to #702
Signed-off-by: Mukundan Sundararajan <[email protected]>
Signed-off-by: Mukundan Sundararajan <[email protected]>
mukundansundar
left a comment
There was a problem hiding this comment.
@artursouza Is there any concern on updating the protobuf and protoc versions to these values ?
artursouza
left a comment
There was a problem hiding this comment.
I will look into the expression building next. This is an awesome PR! Thanks.
| String[] methodSegments = method.split("/"); | ||
|
|
||
| List<String> pathSegments = new ArrayList<>(Arrays.asList(DaprHttp.API_VERSION, "invoke", appId, "method")); | ||
| pathSegments.addAll(Arrays.asList(methodSegments)); |
Signed-off-by: Mukundan Sundararajan <[email protected]>
Signed-off-by: Mukundan Sundararajan <[email protected]>
Signed-off-by: Mukundan Sundararajan <[email protected]>
|
Numeric value is not returned properly from MongoDB Based on that using ID as string for now. Will later change to Integer once the above issue is fixed. |
Codecov Report
@@ Coverage Diff @@
## master #697 +/- ##
============================================
- Coverage 80.72% 79.56% -1.17%
- Complexity 993 1092 +99
============================================
Files 81 92 +11
Lines 3020 3298 +278
Branches 340 376 +36
============================================
+ Hits 2438 2624 +186
- Misses 416 482 +66
- Partials 166 192 +26
Continue to review full report at Codecov.
|
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: zjx244729 <[email protected]>
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <[email protected]> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <[email protected]> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <[email protected]> * add more unit tests Signed-off-by: Mukundan Sundararajan <[email protected]> * Add query state API docs Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <[email protected]> * Fix example in docs Signed-off-by: Mukundan Sundararajan <[email protected]> * make pagination immutable Signed-off-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Artur Souza <[email protected]> Signed-off-by: Artur Souza <[email protected]>
Signed-off-by: Mukundan Sundararajan [email protected]
Description
changes made for query state API.
The dependency updates are needed for Java SDK to successfully compile using Rosetta.
Have used MongoDb for querying stored state.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #653
closes #685
closes #702
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: