ARC/NHMRC activity records are characterised by:
- not needing a handle
- not needing to be published via the OAI portal
since they link to ARC/NHMRC PURLs at the ANDS Registry.
I am interested in creating non-ARC/NHMRC activities which:
- create a handle
- need to be published via the OAI portal
- for the moment I would be happy with CSV columns identical to ARC/NHMRC
activities
I have done this in v1.0.1-SNAPSHOT & v1.1 without handles & without PIDs.
I presume the above is feasible. Please point me to doco if I've missed it.
I imagine I need to do something like:
- put some CSV data at /mint/home/data/Activities_Other_Projects.csv;
seems ok
- reuse template at /mint/home/templates/activities/rif.vm; seems ok
- reuse rules at /mint/home/harvest/Activities.py; seems ok
- reuse directory tree /mint/portal/Activities; seems ok
- Copy /mint/home/harvest/Activities_NHMRC_2010.json to
Activities_Other_Projects.json (new file) & make changes. Seems more
complicated. Perhaps:
* update fileLocation
* update recordIDPrefix
* set "curation": ["handle"],
* set "metadata": ["jsonVelocity"]
* set "neverPublish": false
* set "alreadyCurated": false
* add handle section (copied from Parties_People.json)
* update templatesPath (if not reusing template)
* update repository.name
Have I missed any files/dirs?
Have I missed anything within /mint/home/harvest/Activities_Other_Projects.json (eg. is a "ingest-relations" section needed)? Thanks.
Cheers, Grant
Oops! I meant to say "without handles & without curation".
Cheers, Grant
Ok thanks. I've attempted it now and the activity is not yet curated (but
looks close).
SUMMARY
- Mint Java exception during CSV file loading.
- Mint Java exception during publication of the associated dataset.
- Mint main.log for loading & publication; seems ok.
- Handle is assigned to the activity (& the dataset) ok.
- Activity preview screen shows the link back (via a handle) to the
dataset ok.
- Activity object history seems ok.
- But no activity appears in the Published Objects view (hence no activity
in OAI).
ADDITIONAL DETAILS
All Java exceptions (from transactionManager.log) are in the attached file.
Most recent object history for the activity is:
- com.googlecode.fascinator.messaging.EmailNotificationConsumer notify
- Curation Publication flag set
- Curation This object is ready for publication
- Curation Curation completed.
- Curation Object curation requested.
Any thoughts? Thank you.
Cheers, Grant
Oops. The java exception errors were fixed as you described. Thanks.
I copied /mint/home/harvest/Parties_People.py to Activities.py; did not
restart Mint; loaded a new activity; created/published a new dataset linked
to the activity. Symptom remains the same as previous SUMMARY (but without
java errors).
I also attempted an edit of the original Activities.py by adding the
following lines (at the same spot as Parties_People.py):
- self.utils.add(self.index, "known_ids", handle)
- the 4 publication lines as per your previous email
I couldn't decide what to do with the "self.utils.registerNamespace" lines
so I left them unchanged. Anyway, the symptom remained the same.