-
Notifications
You must be signed in to change notification settings - Fork 1
Issue 53463: Add query-saveRows.api endpoint wrapper to Java client API #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| Delete | ||
| } | ||
|
|
||
| public static class Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Largely a duplicate of SaveRowsCommand, but for the CommandType. Even if we decide not to rebrand SaveRowsCommand, I think making that class a shell that derives from CommandBase that could then also be used here might be a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, not really overlap in behavior since this is not a command like a post command or a get command (in labkey-api-java parlance). Added comment above class explaining this.
labkey-susanh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Rationale
This addresses Issue 53463 by adding an endpoint wrapper
SaveRowsApiCommandfor thequery-saveRows.apiendpoint. Integration test coverage added in related PR.Related Pull Requests
Changes
SaveRowsApiCommandto prepare and execute requests againstquery-saveRows.apiendpoint.SaveRowsApiResponsethat wraps endpoint response.includeEmptyPermGroupsto GetGroupPermsCommand