Project

General

Profile

Revision 7412

use ObjectFormatInfo libclient utility to look up mimeType and filename extension during get() calls. Configurable mapping file is deployed by default to /var/metacat/dataone where it can then be augmented as needed. This location is controlled in the metacat.properties file (which is injected into the DataONE Settings values during weapp intitialization).
https://redmine.dataone.org/issues/3309

View differences:

metacat.properties
503 503
D1Client.CN_URL=https://cn.dataone.org/cn
504 504
# Configure the Member Node client certificate location
505 505
D1Client.certificate.file=/var/metacat/certs/METACAT1.pem
506
# Client resources
507
D1Client.resourcesDir=/var/metacat/dataone
506 508
# Member Node configuration
507 509
dataone.nodeId=
508 510
dataone.subject=CN=METACAT1, DC=dataone, DC=org

Also available in: Unified diff