Rename methods and parameters for consistency across SDKs#410
Conversation
0f3094b to
ee9576a
Compare
mukundansundar
left a comment
There was a problem hiding this comment.
@arghya88 Thanks for your contribution. I have left some comments in the PR.
|
@arghya88 Thanks a lot for your contribution. The issue was not clear on every detail on the renaming, please see comments on the PR. We appreciate your help here. |
f85bc97 to
607be1b
Compare
|
@artursouza @mukundansundar thanks for the feedback. Have incorporated the changes.PTAL. |
|
@arghya88 Please remove all html changes. The docs will be updated during the release of the sdk. |
mukundansundar
left a comment
There was a problem hiding this comment.
Rename GetStatesRequestBuilder also to GetBulkStateRequestBuilder
@arghya88 left a few more comments.
c4181f5 to
2a4bfec
Compare
@mukundansundar Done |
mukundansundar
left a comment
There was a problem hiding this comment.
@arghya88 Just a few more changes. Please resolve conflicts.
Rename stateStoreName to storeName in GetStateRequest, GetStateRequestBuilder, SaveStateRequest, SaveStateRequestBuilder, GetBulkState and GetBulkStateRequestBuilder.
Also change secretStoreName to storeName in GetSecretRequest and GetSecretRequestBuilder`
@artursouza any thoughts on these changes?
| InvokeServiceRequestBuilder builder = new InvokeServiceRequestBuilder(appId, methodName); | ||
| InvokeServiceRequest req = builder | ||
| .withBody(request) | ||
| .withBody(data) |
There was a problem hiding this comment.
@artursouza Should body be renamed to data?
Also should InvokeServiceRequest and associated builder be renamed to InvokeMethodRequest since the API methods are being renamed?
There was a problem hiding this comment.
@artursouza On second thought why is invokeService being renamed to invokeMethod? I think invokeService makes sense since we are invoking a particular method in that service.
There was a problem hiding this comment.
Let's discuss this with the maintainers and see if we can change it. Let's not merge this PR for this milestone, so we have time to change it.
There was a problem hiding this comment.
I would say let's do this in a followup PR after discussing with maintainers.
There was a problem hiding this comment.
Well, we have cut the milestone already, so we can merge this PR soon and still have another PR to rename to invokeService again if maintainers agree to name it back.
2a4bfec to
a028a4e
Compare
|
@arghya88 Please, address comments from @mukundansundar. Your PR is appreciated. |
14780a0 to
ab917c8
Compare
ab917c8 to
4d7f645
Compare
@artursouza let me know if anything else is needed. |
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
338da40 to
0b649fa
Compare
Codecov Report
@@ Coverage Diff @@
## master #410 +/- ##
=========================================
Coverage 83.26% 83.27%
Complexity 835 835
=========================================
Files 72 72
Lines 2486 2487 +1
Branches 255 255
=========================================
+ Hits 2070 2071 +1
Misses 293 293
Partials 123 123
Continue to review full report at Codecov.
|
Signed-off-by: Arghya Sadhu arghya88@gmail.com
Description
Rename methods and parameters for consistency across SDKs
Issue reference
Fixes #409
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: