NCEAS / metadig-checks

MetaDIG suites and checks for data and metadata improvement and guidance.
Apache License 2.0
8 stars 9 forks source link

Enhance resource.projectTitle.controlled-1.0.0 to use the new ESS-DIVE Mule service #438

Closed vchendrix closed 1 year ago

vchendrix commented 2 years ago

Description

Enhance the ESS-DIVE suite check for projects names (resource.projectTitle.controlled-1.0.0) to get the project names from the new Mule service. The test api can be found at https://mule.ess-dive.lbl.gov/project/. This service should be up be COB 3/8/2022. In the meantime you can test against https://mule-stage.ess-dive.lbl.gov/project/.

Priority

Choose a priority for the FAIR suite (Required or Optional)

jeanetteclark commented 1 year ago

copied from #420:

As discussed in #440, it might be best to pull from an external source as opposed to metadig/data so that the file can more easily be updated.

@vchendrix or @mburrus can you point me to a stable location of that file hosted somewhere? Is https://data.ess-dive.lbl.gov/js/themes/ess-dive/data/projects.json best? (Note: that URL doesn't actually resolve for me)

mbjones commented 1 year ago

The API endpoint listed in #440 seems to work for me (and changed from the one initially posted in this issue):

https://mule.ess-dive.lbl.gov/api/project/

jeanetteclark commented 1 year ago

Turns out, this was actually already implemented but the issue was not closed. Currently, metadig grabs a copy of the file from the API endpoint above every 30 minutes to use for checks. I will update #440 with relevant next steps and close this one