oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nguyen, Ricky" <rngu...@chla.usc.edu>
Subject Re: Problem with Auto Filled Metadata Field
Date Tue, 14 Aug 2012 17:55:06 GMT
Chris is right, you need FinalFileLocationExtractor in your product type definition in product-types.xml.
For new types, I typically copy/paste the GenericFile type and change the name.

But after copy/paste, I often forget to assign the elements to my new type in product-type-element-map.xml.
You can either assign the elements explicitly or by inheritance.

Explicitly:
<type id="urn:my:new:custom:ProductType">
     <element id="urn:oodt:ProductReceivedTime"/>
     <element id="urn:oodt:ProductId"/>

Inheritance:
<type id="urn:my:new:custom:ProductTypea" parent="urn:oodt:GenericFile">

hope that helps,
ricky
 

On Aug 14, 2012, at 9:26 AM, Mattmann, Chris A (388J) wrote:

> Hey Tim,
> 
> For #1, you just need to use the FinalFileExtractor, see here for an example:
> 
> http://s.apache.org/rh
> 
> Then they should get populated fine.
> 
> Cheers,
> Chris
> 
> On Aug 14, 2012, at 9:11 AM, Stough, Timothy M (388F) wrote:
> 
>> 1) Yes.  It is 0.3.  I don't think that I'm using final file extractor.
>> 
>> 2) I am not extracting them from the client side
>> 
>> 3) They were being properly filled for my old products, but they are not being filled
now...
>> 
>> 4) I'm looking into the inheritance issue...
>> 
>> Any more thoughts?
>> 
>> Thanks!
>> 
>> On Aug 13, 2012, at 7:19 PM, "Mattmann, Chris A (388J)" <chris.a.mattmann@jpl.nasa.gov>
wrote:
>>> 2 questions:
>>> 1. Are you using Apache OODT 0.3 or later that has the FinalFileExtractor
>>> as one of the server side met extractors? 
>>> 
>>> 2. Are you providing ProductId and ProductReceivedTime as met fields
>>> in your client side met extraction? 
>>> 
>>> Cheers,
>>> Chris
>>> 
>>> On Aug 13, 2012, at 4:49 PM, Stough, Timothy M (388F) wrote:
>>> 
>>>> Hello All,
>>>> 
>>>> I just added a new product type to my catalog and, for whatever reason, the
ProductId and ProductReceivedTime aren't getting auto populated.  Any thoughts as to why this
would happen?  I may have messed something up.  :P
>>>> 
>>>> Thanks,
>>>> Tim.
>>>> 
>>>> -----------------------------------------------------------------
>>>> Tim Stough
>>>> NASA/Caltech Jet Propulsion Lab
>>>> Senior System Architect
>>>> Data Understanding Group (Section 388)
>>>> 818-393-5347 (office)
>>>> 626-644-6574 (cell)
>>>> -----------------------------------------------------------------
>>>> 
>>> 
>>> 
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> Chris Mattmann, Ph.D.
>>> Senior Computer Scientist
>>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>>> Office: 171-266B, Mailstop: 171-246
>>> Email: chris.a.mattmann@nasa.gov
>>> WWW:   http://sunset.usc.edu/~mattmann/
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> Adjunct Assistant Professor, Computer Science Department
>>> University of Southern California, Los Angeles, CA 90089 USA
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> 
>> 
>> 
>> -----------------------------------------------------------------
>> Tim Stough
>> NASA/Caltech Jet Propulsion Lab
>> Senior System Architect
>> Data Understanding Group (Section 388)
>> 818-393-5347 (office)
>> 626-644-6574 (cell)
>> -----------------------------------------------------------------
>> 
> 
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: chris.a.mattmann@nasa.gov
> WWW:   http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 




---------------------------------------------------------------------
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.  

---------------------------------------------------------------------


Mime
View raw message