Skip to content
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

rgw: Adding 'iam' namespace for Role and User Policy related REST APIs. #27178

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

pritha-srivastava
Copy link
Contributor

Signed-off-by: Pritha Srivastava prsrivas@redhat.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>

if (post_body.find("Action") != string::npos) {
boost::char_separator<char> sep("&");
boost::tokenizer<boost::char_separator<char>> tokens(post_body, sep);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc boost::tokenizer isn't thought to be very efficient--maybe not a concern for now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamemerson thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattbenjamin @adamemerson @cbodley : I have the exact same method for parsing sts_input also, with a few differences. I could have made this into a common method that parses output for both. But later when we decide to have STS, IAM served at a different hostname:portname, then these methods will already be separate. Is this ok for now?

@mattbenjamin
Copy link
Contributor

fine with me

Copy link
Contributor

@mattbenjamin mattbenjamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, needs-qa :)

@pritha-srivastava
Copy link
Contributor Author

pritha-srivastava commented Apr 15, 2019

The teuthology run is here: http://pulpito.ceph.com/prsrivas-2019-04-12_08:57:26-rgw-wip-rgw-iam-distro-basic-smithi/
There aren't any failures coming from this branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants