-
Notifications
You must be signed in to change notification settings - Fork 917
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
Update API Specs for dev console #2226
Conversation
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.
Nice, this seems like a big win. Only one note about future enhancements to the generation script.
"osd", | ||
"kb", |
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.
This 💯 looked like a regression to me, and then I took a second look at what this array is... 😂
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.
Yeah it was ha.
@@ -15,6 +15,8 @@ | |||
"p", | |||
"pb" | |||
], | |||
"master_timeout": "", |
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.
Out of scope for this PR, but as a note, we may want to update the generation script to ignore deprecated properties, as a more subtle way of guiding folks to the new usage. 🤔
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.
Yeah maybe for our side we can just move this out. We can set up some mechanism but good catch @joshuarrrr!. @kristenTian can we delete line 18 due to it not being inclusive?
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.
Will delete all master_timeout
under src/plugins/console/server/lib/spec_definitions/json/generated
path
Can you also update the commit message to be more explanatory about how this changeset was generated? It's just a helpful breadcrumb for the next dev that needs to do this. |
"indices.add_block": { | ||
"url_params": { | ||
"timeout": "", | ||
"master_timeout": "", |
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.
same for this can we just remove this master_timeout
?
"indices.delete_index_template": { | ||
"url_params": { | ||
"timeout": "", | ||
"master_timeout": "", |
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.
same remove master_timeout
"indices.exists_index_template": { | ||
"url_params": { | ||
"flat_settings": "__flag__", | ||
"master_timeout": "", |
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.
same remove master_timeout
"indices.get_index_template": { | ||
"url_params": { | ||
"flat_settings": "__flag__", | ||
"master_timeout": "", |
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.
same remove master_timeout
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.
For the sake of being inclusive, lets just remove the master_timeout
"url_params": { | ||
"create": "__flag__", | ||
"cause": "", | ||
"master_timeout": "", |
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.
same remove master_timeout
"url_params": { | ||
"create": "__flag__", | ||
"cause": "", | ||
"master_timeout": "", |
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.
same remove master_timeout
"url_params": { | ||
"create": "__flag__", | ||
"cause": "", | ||
"master_timeout": "", |
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.
same remove master_timeout
{ | ||
"snapshot.clone": { | ||
"url_params": { | ||
"master_timeout": "", |
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.
same remove master_timeout
added the SOP/doc |
Codecov Report
@@ Coverage Diff @@
## main #2226 +/- ##
==========================================
- Coverage 67.21% 67.20% -0.02%
==========================================
Files 3100 3100
Lines 59579 59579
Branches 9064 9064
==========================================
- Hits 40049 40043 -6
- Misses 17344 17349 +5
- Partials 2186 2187 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Kristen Tian <[email protected]>
Signed-off-by: Kristen Tian <[email protected]>
90d0ddf
to
56a09fe
Compare
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!
Thank you! |
* Update API Specs for dev console * Remove deprecated field - master_timeout Signed-off-by: Kristen Tian <[email protected]> Signed-off-by: Sergey V. Osipov <[email protected]>
* Update API Specs for dev console * Remove deprecated field - master_timeout Signed-off-by: Kristen Tian <[email protected]> Signed-off-by: Sergey V. Osipov <[email protected]>
Signed-off-by: Kristen Tian [email protected]
Description
Update API Specs for dev console following SOP: https://cptnb.github.io/opensearch-dashboards-dev-docs/core-plugins/console/console/
Issues Resolved
#2219
Check List