Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-127

Enable developers to add additional metadata standards

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Neutral
    • 1.0
    • 1.0
    • None

    Description

      In the current implementation the metadata-standards are hard coded. It must be possible to add and change the available metadata standards. For example a registry of metadata standards.

      Here is for example some code that must go:
      InternalAssetMetadataBuilder

      if (SupportedMetaDataType.MAGNOLIA.name().equals(metadataType))

      { return createMagnoliaMetadata(source); }

      else if (SupportedMetaDataType.DUBLIN_CORE.name().equals(metadataType))

      { return createDublinCoreMetadata(source); }

      else {
      log.warn("Unsuported Metadata type '{}'", metadataType);
      throw new AssetMetadataTypeNotSupportedException(metadataType + " is Not a supported Metadata Type.");
      }

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD