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

AttributeMappingPolicyValidationFilter Should Use JSON Policy Validation Call

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.6.1.1
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 144
    • Story Points:
      3
    • Capitalizable:
      True

      Description

      When the filter was initially written, an attribute mapping policy could only be validated as XML. As such, some conversion took place inside the filter itself to handle JSON. However, Jorge added the ability to validate JSON policies in the attribute mapping library. In doing so, he also fixed a bug that occurred when translating the normalized, validated policy from XML back into JSON. We should update the AttributeMappingPolicyValidationFilter to use the new JSON policy validation call which will also fix the bug.

      This is the PR for the Attribute Mapping library that adds JSON policy validation:
      https://github.com/rackerlabs/attributeMapping/pull/21

      Acceptance Criteria:

      • Bug that was excluding the name when using JSON is fixed.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                wdschei Bill Scheidegger
                Reporter:
                damien.johnson Damien Johnson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: