[
https://issues.apache.org/jira/browse/OODT-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347732#comment-14347732
]
Tyler Palsulich commented on OODT-826:
--------------------------------------
Hi Val. Awesome! Can you upload a patch? You can do that by running {{svn
status}}, looking at the files with {{?}} by them which you need for this issue
(like the new class), running {{svn add \[file\]}} for each of those, then run
{{svn diff > OODT-826.lasname.patch}}. Then upload that file to this issue
(More > Attache Files) or on reviews.apache.org.
If there are any files you've changed that aren't relevant to this issue, you
can run {{svn revert \[file\]}} to _revert_ all changes to that file (make sure
you really don't want those changes! You might want to copy the file somewhere,
first (or create a backup with another {{svn diff > backup.file}})).
I'm happy to help if you run into any issues.
> Add the capability to check external preconditions before ingesting a file.
> ----------------------------------------------------------------------------
>
> Key: OODT-826
> URL: https://issues.apache.org/jira/browse/OODT-826
> Project: OODT
> Issue Type: New Feature
> Components: crawler, metadata container, radix
> Affects Versions: 0.8.1
> Reporter: Valerie Mallder
> Assignee: Valerie Mallder
> Priority: Minor
> Labels: features
> Fix For: 0.9
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I created an ExternPreconditionComparator class. I needed one and it seemed
> like a logical thing to do since there are already several 'Extern'-type
> classes in the OODT. Here are the details:
> New ExternPreconditionComparator class in:
> oodt/trunk
> /metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/ExternPreconditionComparator.java
>
> New example external script in:
> oodt/trunk
> /crawler/src/main/resources/extern-scripts/check-data-file-complete.pl
> Modify precondition-beans.xml in oodt/trunk /crawler/src/main/resources/ and
> oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/cra
> wler/src/main/resources/policy/ to add example precondition beans for the
> ExternPreconditionComparator class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)