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
mgr/dashboard: Add RGW user and bucket management features #21351
Conversation
votdev
commented
Apr 11, 2018
•
edited
edited
d75bc5d
to
47559a7
Compare
b1c2691
to
57ff0d0
Compare
@@ -53,6 +49,36 @@ def decorate(cls): | |||
return decorate | |||
|
|||
|
|||
def DetailErrorResponse(func, default_status=500): | |||
""" | |||
This decorator ensures that all exceptions are catched and a |
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.
caught
instead of catched
b7b9ad3
to
6e26b33
Compare
093ff2c
to
c0913ad
Compare
QA tests results: http://pulpito.ceph.com/rdias-2018-04-26_15:40:43-rados:mgr-wip-rdias-testing-distro-basic-smithi/ There is one failure but I think it's unrelated with this PR. |
jenkins retest this please |
QA tests all successful: http://pulpito.ceph.com/rdias-2018-04-27_08:08:19-rados:mgr-wip-rdias-testing-distro-basic-mira/ |
minor: On RBD form, we decided to disable the submission on "Enter key pressed". If we want consistency, we should disable it here too. |
@Directive({ | ||
selector: '[cdCopy2ClipboardButton]' | ||
}) | ||
export class Copy2ClipboardButtonDirective implements OnInit { |
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.
Adding a reusable component on shared module deserves a separate commit.
This helps the review, and also future maintenance.
(something to take into account in the future...)
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
c0913ad
to
1e666f2
Compare
@ricardoasmarques Your comments has been addressed. |
@rjfd I'm now catching exceptions more selective. |
29805d7
to
f577ded
Compare
@ricardoasmarques A separate commit has been created for the Copy2ClipboardButtonDirective. |
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
- Do some minor improvements in the RGW client - Do not catch ALL exceptions to do not block the current exception handler that prints the stack trace in the log file - Throw RequestException istead of Exception when user does not have the required keys Signed-off-by: Volker Theile <vtheile@suse.com>
f577ded
to
87ff98c
Compare
retest this please |