Project

General

Profile

« Previous | Next » 

Revision d95c7d68

IDd95c7d6886fbbe9e9e4545b524b6ac8b7ff5dc56
Parent 77153958
Child 38cfa4d6

Added by Chris Jones over 11 years ago

Add the ContentMigrator class, which provides the migrate() method to move content from the CN to a target MN. The query() method uses CNode.query() to send a Solr search string and return a list if Identifiers that will subsequently be migrated. For each identifier, we call CN.getSystemMetadata() and CN.get(), followed by MN.create() with the same content. The main() method will report out a list of completed and failed identifiers from the total desired list. Needs testing. Certificate location setup doesn't see be set correctly yet.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

Add picture from clipboard (Maximum size: 14.8 MB)