Uploaded image for project: 'Repose'
  1. REP-5592

Add YAML support to Attribute Mapping Policy Validation filter

    Details

    • Type: Story
    • Status: Resolved (View workflow)
    • Priority: High
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 8.6.2.0
    • Components: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 147
    • Story Points:
      3
    • Capitalizable:
      True

      Description

      Attribute mapping is currently JSON/XML only (only JSON is currently used). There's talk with product to support YAML rather than JSON. They are product managers (Goody) as JSON doesn't do comments that are allowed to be set by UIs.

      Validation should continue still work obviously.

      • Repose SAML Policy Translation filter changes to support media type as YAML text/yaml.
      • Filter calls new Attribute Mapping library method.

      Note: We can begin work on this but do need a mapper release to release these together.

      Acceptance Criteria:

      • The original body of the policy should be passed to the origin service.
        • It is important to preserve the comments (which is part of the reason for the move from JSON to YAML).
      • The content-type of text/yaml needs to be supported.
        • Fail with a 415 for all other content-type values. This is confirmed with Jorge (question, answer).

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                adrian.george Adrian George
                Reporter:
                jorgew Jorge Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: