← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1469517] Re: Federation get_mapping_from_idp_and_protocol should return object

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => liberty-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1469517

Title:
  Federation get_mapping_from_idp_and_protocol should return object

Status in Keystone:
  Fix Released

Bug description:
  
  The Federation manager's get_mapping_from_idp_and_protocol method is returning a dict where the 'rules' value is a JSON string. That 'rules' is stored as a JSON string is an implementation detail that shouldn't be exposed to callers.

  The 'rules' value of the dict returned by
  get_mapping_from_idp_and_protocol should be JSON-parsed before it's
  returned so that callers don't have to know that it's a JSON string.
  This way all callers don't have to parse the string themselves.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1469517/+subscriptions


References