-
Notifications
You must be signed in to change notification settings - Fork 86
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
[admin-tool] Enable venice-admin-tool to parse JSON map arguments from command line #737
Conversation
…valid and invalid JSON arguments
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.
Thanks for the contribution
internal/venice-common/src/main/java/com/linkedin/venice/utils/Utils.java
Show resolved
Hide resolved
internal/venice-common/src/main/java/com/linkedin/venice/utils/Utils.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/main/java/com/linkedin/venice/utils/Utils.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/main/java/com/linkedin/venice/utils/Utils.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/test/java/com/linkedin/venice/utils/UtilsTest.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/main/java/com/linkedin/venice/utils/Utils.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/test/java/com/linkedin/venice/utils/UtilsTest.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/test/java/com/linkedin/venice/utils/UtilsTest.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/test/java/com/linkedin/venice/utils/UtilsTest.java
Outdated
Show resolved
Hide resolved
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.
Can you please take a look at the following tests:
com.linkedin.venice.TestAdminTool > testAdminUpdateStoreArg
com.linkedin.venice.TestAdminTool > testAdminConfigureView
internal/venice-common/src/test/java/com/linkedin/venice/utils/UtilsTest.java
Outdated
Show resolved
Hide resolved
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.
LGTM
Thanks a lot for the contribution @elijahgrimaldi. Great job.
I have a suggestion for future PRs. Can you please try to keep the pull request template? For this PR, I have updated the PR description to demonstrate the format that we expect the PR description to follow.
Enable venice-admin-tool to parse JSON map arguments from command line
Added correct JSON parsing for command line inputs to admin-tool to read maps as JSON
Resolves #647
How was this PR tested?
CI
Does this PR introduce any user-facing changes?