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

Verification tool should handle mapping to different location/port

    Details

      Description

      The verification tool should deal with import mapping to a different location. In the current import-export tool, it is possible to export and re-import with a different path or port. The verifcation tool should be able to handle this. The relevant configuration options are 'resource', 'source', and 'map' (see below).
      ```
      $ fcrepo-verify importexport.yml
      2017-05-26 16:42:52,556 INFO Loading configuration options from importexport.yml
      2017-05-26 16:42:52,556 INFO Loaded the following configuration options:
      2017-05-26 16:42:52,557 INFO --> mode : import
      2017-05-26 16:42:52,557 INFO --> predicates : http://www.w3.org/ns/ldp#contains
      2017-05-26 16:42:52,557 INFO --> resource : http://localhost:8686/f4/rest
      2017-05-26 16:42:52,557 INFO --> source : http://localhost:8080/fcrepo/rest
      2017-05-26 16:42:52,557 INFO --> map : http://localhost:8080/fcrepo/rest,http://localhost:8686/f4/rest
      2017-05-26 16:42:52,557 INFO --> dir : /Users/lsitu/Documents/Fedora_Import_Export/data_1bbb_v48
      2017-05-26 16:42:52,557 INFO --> binaries : True
      2017-05-26 16:42:52,557 INFO --> inbound : False
      2017-05-26 16:42:52,557 INFO --> rdfLang : text/turtle
      2017-05-26 16:42:52,557 INFO Testing connection to http://localhost:8686...
      2017-05-26 16:42:52,575 INFO Connection successful.
      2017-05-26 16:42:52,575 INFO Starting verification...
      2017-05-26 16:42:52,575 INFO Running verification on Fedora 4 import
      2017-05-26 16:42:52,576 INFO Commencing resource verification...
      2017-05-26 16:43:00,149 INFO Verified 1008 resources: successes = 0, failures = 1008
      2017-05-26 16:43:00,149 INFO Verification complete
      ```

        Attachments

          Activity

            People

            • Assignee:
              dbernstein Danny Bernstein
              Reporter:
              westgard Joshua Westgard
              Reviewer:
              Joshua Westgard
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: