Hey, I've been working on an EZID integration for Nuxeo. If you want to test it out, please let me know -- this is some info on installing and usage.
pip install --upgrade https://github.com/ucldc/pynux/archive/master.tar.gz
This installs a fork of pynx that has a new nxid
command line tool.
usage: nxid [-h] [--mint] [--create] [--update] [--no-noop-report]
[--show-erc] [--ezid-username EZID_USERNAME]
[--ezid-password EZID_PASSWORD] [--shoulder SHOULDER]
[--owner OWNER] [--status STATUS] [--publisher PUBLISHER]
[--loglevel LOGLEVEL] [--rcfile RCFILE]
path
nxid finds top level objects in Nuxeo and syncs them up with EZID
positional arguments:
path nuxeo path (folder or object)
optional arguments:
-h, --help show this help message and exit
minting behaviour flags:
--mint, -m when an ARK is missing, mint and bind new ARK in EZID
--create, -c when an ARK is found in Nuxeo but not EZID, create
EZID
--update, -u when an ARK is found in Nuxeo and EZID, update EZID
--no-noop-report override default behaviour of reporting on noops
--show-erc show ANVL record that will be sent to EZID
EZID configuration and metadata:
--ezid-username EZID_USERNAME
username for EZID API (overrides rcfile)
--ezid-password EZID_PASSWORD
password for EZID API (overrides rc file)
--shoulder SHOULDER shoulder (overrides rcfile)
--owner OWNER set as _owner for EZID
--status STATUS set as _status for EZID (public|reserved|unavailable)
--publisher PUBLISHER
set as dc.publisher for EZID
common options for pynux commands:
--loglevel LOGLEVEL CRITICAL ERROR WARNING INFO DEBUG NOTSET, default is
ERROR
--rcfile RCFILE path to ConfigParser compatible ini file
it is designed for a work flow like this
nxid /asset-library/UCX/project_folder
review report of what needs to happen.
nxid /asset-library/UCX/project_folder --show-erc
look at the ERC metadata that will get entered to EZID.
nxid /asset-library/UCX/project_folder --mint --update --create
This will mint
, update
, and create
records needed for EZID.
mint
will add minted ARK to Nuxeo.