Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-234

Add an item ordering stage, refactor interfaces

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: SAML Metadata
    • Labels:
      None

      Description

      The current EntitiesDescriptorAssemblerStage allows the specification of an ordering strategy (defaulting to a no-op strategy) which is used to order the entities within the container. It has a nested interface for this operation.

      This is at present the only circumstance in which entities in a collection can be reordered. It would be better to:

      • Extract the strategy interface into the pipeline package
        • The interface should be made generic on item type¬†
        • It should be specified produce an unmodifiable collection
      • Add an ItemOrderingStage which performs reordering on the basis of such a strategy
      • Refactor the current functionality of EntitiesDescriptorAssemblerStage to use the new interface, OR, remove the ordering functionality entirely. The latter would be cleaner but would require deployers to add another stage to their deployments.

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: