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.metadata.xml
450 450
		<description> </description>
451 451
		<helpFile> </helpFile>
452 452
	</config>
453
	<config>
454
	    <key>D1Client.resourcesDir</key>
455
	    <label>Configurable DataONE Resources Directory</label>
456
	    <group>6</group>
457
	    <index>12</index>                
458
		<fieldType>hidden</fieldType>
459
		<description> </description>
460
		<helpFile> </helpFile>
461
	</config>
453 462
	
454 463
	
464
	
465
	
455 466
</metadataConfig>

Also available in: Unified diff