Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1492

Add migration support for fedora 3's "local.fedora.server" translation.

    Details

    • Sprint:
      Sprint 2015 - 6

      Description

      Certain URI's within Fedora 3 FOXML objects contain urls that have values like "http://local.fedora.server/". Migrating these into fedora 4 will require special handling.

      For this ticket:

      1. Those http://local.fedora.server/something" urls that would resolve to a resource in fedora 3 that is being migrated to fedora 4 should be migrated such that they resolve to the migrated resource in fedora 4. There are several URL patterns that resolve to resources "/fedora/objects/pid/...", "/fedora/objects/pid/datastreams/dsid/content" "/fedora/get/pid" "/fedora/get/pid/datastream/, etc.

      1. Any "http://local.fedora.server/" urls that resolve to something other than a fedora resource should result in an exception logged. I can't imagine why anyone would do such a thing in fedora 3... though we have an example of one in our example foxml for migration-utils.

      https://github.com/fcrepo3/fcrepo/blob/f10f6c1587fb0e074eca90c11bb9b9a4b3d88d89/fcrepo-server/src/main/java/org/fcrepo/server/storage/translation/DOTranslationUtility.java#L91-L93

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdurbin Michael Durbin
                Reporter:
                mdurbin Michael Durbin
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: