Revision d95c7d68
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