Skip to content

Commit

Permalink
add configuration with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas loubrieu committed Jan 2, 2021
1 parent 35199f7 commit fb6ba16
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<groupId>gov.nasa.pds</groupId>
<artifactId>harvest</artifactId>
<version>3.3.2</version>
<version>3.3.3</version>
<packaging>jar</packaging>

<name>Harvest Tool</name>
Expand Down
27 changes: 14 additions & 13 deletions src/main/resources/conf/examples/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
<harvest>
<directories>
<!-- Path to a folder with some PDS4 product labels -->
<path>/path/to/pds4/archive/</path>
<!-- UPDATE HERE -->
<path>/path/to/archive</path>

<!-- Only process XML files -->
<!-- DO NOT UPDATE FOR OPERATIONAL REGISTRY -->
<fileFilter>
<include>*.xml</include>
</fileFilter>

<!-- Only include collections and context products. -->
<!-- DO NOT COMMENT OUT FOR OPERATIONAL REGISTRY-->
<!--
<productFilter>
<include>Product_Collection</include>
Expand All @@ -21,22 +24,20 @@
-->
</directories>

<!--
NOTE: By default only lid, vid, lidvid, title and product class are exported.
If you want more metadata to be exported, provide additional configuration
elements, such as xpathMaps, internalRefs, autogenFields, fileInfo, fileRef.
-->

<fileInfo processDataFiles="true" storeLabels="true">
<!-- UPDATE HERE with you own local path and base url where pds4 archive are published -->
<fileRef replacePrefix="/path/to/archive"
with="https://url/to/archive/" />
</fileInfo>

<!-- Include file info (name, type, size, md5). -->
<fileInfo processDataFiles="false" storeLabels="false"/>

<!--
<fileInfo processDataFiles="true" storeLabels="true">
<fileRef replacePrefix="/Users/loubrieu/Documents/pds/registry/pds-smallbodies.astro.umd.edu/"
with="https://pds-smallbodies.astro.umd.edu/" />
</fileInfo>
<!--
NOTE: By default only lid, vid, lidvid, title and product class are exported.
If you want more metadata to be exported, provide additional configuration
elements, such as xpathMaps, internalRefs, autogenFields, fileInfo, fileRef.
-->


<!-- Include internal references. -->
<!-- Convert lidvids to lids. Do not keep lidvids. -->
Expand Down

0 comments on commit fb6ba16

Please sign in to comment.