-
Notifications
You must be signed in to change notification settings - Fork 79
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
[YUNIKORN-2969] fix inconsistent layout in REST documentation #510
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.
Change for user and group quota headings:
UsersTracker
should becomeUser quota and usage
(level ##)Get users usage tracking information
should becomeAll users
level ###)Get specific user usage tracking information
should becomeSingle user
(level ###)GroupsTracker
should beGroup quota and usage
(level ##)Get groups usage tracking information
should becomeAll groups
level ###)Get specific group usage tracking information
should becomeSingle group
(level ###)
docs/api/scheduler.md
Outdated
|
||
**Code** : `500 Internal Server Error` | ||
|
||
## UserTracker | ||
### Get specific user usage tracking information | ||
Fetch specific user usage given a Partition and displays general information about the users managed by YuniKorn. In case the username contains any special characters, it needs to be url escaped to avoid issues. |
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.
Replace text with:
Fetch the specified user given a Partition and displays usage and quota information for the user. All queues in the hierarchy tracking the user will be included.
Same kind of change for all users, replace text with:
Fetch all user given a Partition and displays usage and quota information for the users. All queues in the hierarchy tracked for the specific user will be included.
Similar text change for group, based on the user change.
Similar text change for groups, based on the users change.
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.
done.
@@ -1086,7 +1086,7 @@ Fetch all groups usage given a Partition and displays general information about | |||
] | |||
``` | |||
|
|||
### Error response | |||
#### Error response | |||
|
|||
**Code** : `500 Internal Server Error` | |||
|
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.
Group tracker (next line 1093) should be updated the same way as the user tracker is updated
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.
done.
@wilfred-s Thanks for your review. It looks a lot cleaner now! |
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.
+1 LGTM
What is this PR for?
The REST scheduler page is really inconsistent when you look at the side bar that is generated by the system.
What type of PR is it?
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2969
How should this be tested?
Screenshots (if appropriate)
Questions: