This repository was archived by the owner on Apr 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Building a Plugin
Cliff Landis edited this page Feb 5, 2024
·
2 revisions
- Upload plugin XML or generate a plugin in Conspectus.
- Configure a collection that uses the plugin. (If performed by central staff, be sure to consult with the member on collection properties, especially the name–avoid changing collection names.)
- Do not include a trailing slash in the Base URL
- Use the same plugin prefix as listed on the Content Provider list
- Create AUs in the collection. (The members should complete this step.)
- Upload the plugin XML to the admin server (
/home/metaarchive/admin/lockss-plugin-xml/test) and run the update script (/home/metaarchive/admin/lockss_test/plugins/update) to sign and compile the XML into a JAR file. The plugin XML compiled must exactly match the plugin XML in Conspectus.- Run
ls -ls | head -10in the plugin directory to verify that the first file is the new plugin JAR and that the file name matches the plugin name in the XML. - Run the verify script to validate the plugin. (This may take a while as it checks every plugin.)
- Run
- Update AU status to Test. The test network title database is automatically generated every fifteen minutes starting on the hour.
- Log into a test cache.
- Force a re-crawl of the MetaArchive plugin repository AU on the test cache to be sure LOCKSS will see the new plugin.
- Force an update on the title database on the test cache by going to the Debug Panel and clicking "Reload Config".
- Add the test AU(s) to the test cache and monitor crawling for issues.
- Copy the plugin XML from
/home/metaarchive/admin/lockss-plugin-xml/testto/home/metaarchive/admin/lockss-plugin-xml/production(using the appropriate subdirectories). - Run the update script (
/home/metaarchive/admin/lockss/plugins/update) to sign and compile the XML into a JAR file. The plugin XML compiled must exactly match the plugin XML in Conspectus.- Run
ls -ls | head -10(orls -ltr) in the plugin directory to verify that the first file is the new plugin JAR and that the file name matches the plugin name in the XML.
- Run
- Run the verify script to validate the plugin. (This may take a while as it checks every plugin.)
- Update the AU status to Preserved.
- Manually update the production title database by running the update script (
/home/metaarchive/admin/lockss/config/update). - At this point, the AU(s) should be available and the call for ingest message can be sent.
Any changes to plugin XML on the admin server should include an increment to the plugin version number.