Hi, My MetadataBasedFileVersioner can't see the met produced by my custom metExtractor
I've read OODT-72. That issue describes using the Versioner's calculated Reference to assign Metadata (ver -> met). My issue is the opposite direction, using extracted Metadata in the Versioner's Reference calculation. For example, suppose my metExtractor assigns a value to the "MRN" element. Then I want my versioner to create a datastore reference at "/[MRN]/[Filename]". My product-types.xml (abbreviated): <type name="CustomProdType"/> <versioner class="CustomMetBasedFileVersioner"/> <extractor class="CoreMetExtractor"/> <extractor class="MimeTypeExtractor"/> <extractor class="MRNExtractor"/> <extractor class="FinalFileLocationExtractor"/> </type> After I ingest the file, I dump the met (using MetadataDumper) and the product (using ProductDumper). The met looks fine: <key>FileLocation</key> <val>%2FUsers%2Frnguyen%2Fvpicu%2Fdata%2Farchive%2FMRN_1010209</val> But the product reference doesn't: <reference dataStore="file:/Users/rnguyen/vpicu/data/archive/MRN_null/null" orig="file:///Users/rnguyen/vpicu/components/filemgr/policy/cerner/vps_demog.csv" size="1114427"/> Is this an issue? Or am I not using the components correctly? Is there a better way to achieve what I want? Thanks, Ricky --------------------------------------------------------------------- CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or legally privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of this original message. ---------------------------------------------------------------------
