You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The basic recipe for testing the import/export utility and import/export verification tool follows:

  1. Start up an empty Fedora
  2. Load or /fcr:restore a dataset
  3. Export the all or some of the dataset with the import/export utility
  4. Verify the export with the verification tool
  5. Start up a new Fedora (same or different port and context)
  6. Import the exported resources with the import/export utility
  7. Verify the import with the verification tool

Variations

The above recipe can be varied in the following ways:

  1. For #2: In addition to custom, scripted ingest datasets, the "additional_datasets" are available for /fcr:restore
  2. For #3: All of the configuration options should be tested
    1. With and without binaries (-b)
    2. Using default and aptrust bagit profiles
    3. Using inbound references (-i)
    4. Using membership predicates (-p)
    5. Overwriting tombstones (-t)
    6. With authorization (-u)
    7. Exporting external content (-x)
  3. For #5: Start up the destination Fedora on a different port and with a different context, example
  4. For #6: Use both the command line options and the auto-generated config file

Tests

TesterFedora
Version
Import/Export
Version
Verify
Version
Dataset
(detail below if custom)
Export
Options
Export Verify
Options
Source Fedora
port & context
Destination Fedora
port & context
Import
Options
Import Verify
Options
Success?Notes
Jim Coble4.7.2

0.1.1-SNAPSHOT-d4780ca2

master branch at
839cb8b
Small portion of production-like data loaded locally via Hydra framework

-c (config file contains -m export, -b, -p ldp#contains, -r, -d, rdfLang text/turtle)

none except config file8984/rest8984/rest-c (same config file as used for export except for -m import)none except config filemixed – no errors on export or import - export verify successful, import verify mismatches (expected due to server-managed triples)Exported entire repo; wiped repo; imported entire repo

































































  • No labels