-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
#8970 Minion tab in Pinot UI #8978
Conversation
Thanks @satishwaghela ! Just played around with this and it's pretty neat! Here's some suggestions:
|
|
@joshigaurava @shahsank3t please help review from code perspective. Thanks! |
Thanks @satishwaghela . I have last couple of comments
|
pinot-controller/src/main/resources/app/utils/PinotMethodUtils.ts
Outdated
Show resolved
Hide resolved
pinot-controller/src/main/resources/app/pages/InstanceListingPage.tsx
Outdated
Show resolved
Hide resolved
pinot-controller/src/main/resources/app/pages/InstanceListingPage.tsx
Outdated
Show resolved
Hide resolved
pinot-controller/src/main/resources/app/pages/InstanceDetails.tsx
Outdated
Show resolved
Hide resolved
@@ -68,9 +68,16 @@ type Props = { | |||
const InstanceDetails = ({ match }: RouteComponentProps<Props>) => { | |||
const classes = useStyles(); | |||
const {instanceName} = match.params; | |||
let instanceType; | |||
if (instanceName.toLowerCase().startsWith('broker')) { | |||
instanceType = 'BROKER'; |
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.
Is it feasible to declare these as enums/constants?
also, please take a look at why the Pinot Integration Test fails in the Github Actions. Seems to be throwing some exceptions from ui code |
Seeing this : https://github.com/apache/pinot/runs/7293911715?check_suite_focus=true
|
Codecov Report
@@ Coverage Diff @@
## master #8978 +/- ##
============================================
+ Coverage 69.78% 69.99% +0.20%
- Complexity 4679 4736 +57
============================================
Files 1808 1831 +23
Lines 94235 96239 +2004
Branches 14052 14381 +329
============================================
+ Hits 65765 67362 +1597
- Misses 23908 24225 +317
- Partials 4562 4652 +90
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Looks good! |
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 functionally!
@klsince i'll merge this for now. if you do have any feedback after you play with it, we can address those separately |
Closes: #8970
Release notes:
Minion UI tab