DataONEorg / slinky

Slinky, the DataONE Graph Store
Apache License 2.0
4 stars 4 forks source link

Add support for EML 2.0.0 and up #69

Closed ThomasThelen closed 2 years ago

ThomasThelen commented 2 years ago

This PR adds support for triplifying EML documents version 2.0.0 and up, fixing issue #63. Because of the backwards compatibilities of EML, new processing logic wasn't needed. Instead, new classes for each processor were set up and added to the format map. The unit tests make up the bulk of this PR.

Changes

  1. The base EMLProcessor class is the 2.0.0 processor
  2. Added EML 2.0.1 and 2.1.0 processors, each use the base processor
  3. Unit tests for each of the processors
  4. EML URI change here

Testing

To test, make sure that the unit tests are passing. This is deployed on the dev environment, so you can optionally query it to look into the data further.

amoeba commented 2 years ago

Thanks @ThomasThelen.