Catalog and Archive Service Generic Multi-valued Metadata Container

RAT (Release Audit Tool) results

The following document contains the results of RAT (Release Audit Tool).

*****************************************************
Summary
-------
Notes: 0
Binaries: 3
Archives: 0
Standards: 85

Apache Licensed: 76
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

9 Unknown Licenses

*******************************

Archives (+ indicates readable, $ unreadable): 

 
*****************************************************
  Files with AL headers will be marked L
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/pom.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/conf/cas.metadata.dtd
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/conf/cas.metadata.xsd
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/data/sample.met.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/Makefile
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/Metadata.cpp
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/Metadata.h
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/testMetadata.cpp
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/cpp/XStr.h
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/AbstractMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/exceptions/MetExtractionException.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/exceptions/MetExtractorConfigReaderException.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/exceptions/NamingConventionException.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/exceptions/PreconditionComparatorException.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/CmdLineMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/CopyAndRewriteConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/CopyAndRewriteConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/CopyAndRewriteExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/DataSourceMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/DataSourceMetExtractorConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/DataSourceMetExtractorConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/ExternalMetExtractorConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/ExternConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/ExternConfigReaderMetKeys.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/ExternMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/ExternMetExtractorMetKeys.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/FilenameTokenConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/FilenameTokenConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/FilenameTokenExtractorMetKeys.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/FilenameTokenMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/MetReaderConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/MetReaderConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/MetReaderExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/extractors/TikaCmdLineMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/filenaming/NamingConvention.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/filenaming/PathUtilsNamingConvention.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/Metadata.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/MetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/MetExtractorConfig.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/MetExtractorConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/EndsWithComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/ExistanceCheckComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/FileSizeComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/MimeTypeComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/PreCondEvalUtils.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/PreConditionComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/PreConditionOperatorMetKeys.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/SubProductExistenceCheckComparator.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/SerializableMetadata.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/util/GenericMetadataObjectFactory.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/util/MimeTypeUtils.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/util/PathUtils.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/java/org/apache/oodt/cas/metadata/util/PropertiesUtils.java
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/copyandrewrite.example.conf
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/datasource_metextractor_example.properties
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/extern-config.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/filename.extractor.config.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/met_extr_preconditions.xml
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/samplemet.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/logging.properties
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/tika-mimetypes.xml
  B     /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/resources/images/cas-metadata.jpg
  B     /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/resources/images/cas-metadata.psd
  B     /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/resources/images/metadata.jpg
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/site.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/xdoc/user/advanced.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/site/xdoc/user/basic.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/extractors/TestCopyAndRewriteExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/extractors/TestDataSourceMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/extractors/TestExternMetExtractor.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/extractors/TestExternMetExtractorConfigReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/extractors/TestMetReader.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/filenaming/TestPathUtilsNamingConvention.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/MetadataTestCase.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/preconditions/TestPreCondEvalUtils.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/TestMetadata.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/TestSerializableMetadata.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/util/TestMimeTypeUtils.java
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/test/org/apache/oodt/cas/metadata/util/TestPathUtils.java
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/copyandrewrite.test.conf
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/extern-config.xml
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/met_extr_preconditions.xml
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/samplemet.xml
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testExtractor
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile.txt
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile2.txt
 !????? /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile2.txt.met
  AL    /Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/tika-mimetypes.xml
 
 *****************************************************
 Printing headers for files without AL header...
 
 
 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/copyandrewrite.example.conf
 =======================================================================
 numRewriteFields=2
rewriteField1=ProductType
rewriteField2=FileLocation
orig.met.file.path=./src/resources/examples/samplemet.xml
ProductType.pattern=NewProductType[ProductType]
FileLocation.pattern=/new/loc/[FileLocation]

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/datasource_metextractor_example.properties
 =======================================================================
 org.apache.oodt.cas.metadata.extractors.datasource.query=select ProductName,FileSize from Products where ProductId = '%s'
org.apache.oodt.cas.metadata.extractors.datasource.db.url=http://db.url
org.apache.oodt.cas.metadata.extractors.datasource.driver=some.driver.class
org.apache.oodt.cas.metadata.extractors.datasource.username=user
org.apache.oodt.cas.metadata.extractors.datasource.password=pass

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/main/resources/examples/samplemet.xml
 =======================================================================
 <?xml version="1.0" encoding="UTF-8"?>
<!-- FIXME: change namespace URI? -->
<cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
 <keyval>
   <key>Filename</key>
   <val>blah.txt</val>
 </keyval>
 <keyval>
   <key>FileLocation</key>
   <val>/tmp</val>
 </keyval>
 <keyval>
   <key>ProductType</key>
   <val>GenericFile</val>
 </keyval>
</cas:metadata>

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/copyandrewrite.test.conf
 =======================================================================
 numRewriteFields=2
rewriteField1=ProductType
rewriteField2=FileLocation
ProductType.pattern=NewProductType[ProductType]
FileLocation.pattern=/new/loc/[FileLocation]

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/samplemet.xml
 =======================================================================
 <?xml version="1.0" encoding="UTF-8"?>
<!-- FIXME: change namespace URI? -->
<cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
 <keyval>
   <key>Filename</key>
   <val>testfile.txt</val>
 </keyval>
 <keyval>
   <key>FileLocation</key>
   <val>[EXTRACT_FILE_LOC]</val>
 </keyval>
 <keyval>
   <key>ProductType</key>
   <val>GenericFile</val>
 </keyval>
</cas:metadata>

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testExtractor
 =======================================================================
 #!/bin/sh

export PROD_FILE=$1
export MET_FILE=$2

set PROD_FILE
set MET_FILE

#echo "PWD IS $PWD and CWD is $CWD"
#echo "product file: $PROD_FILE, met file: $MET_FILE"

export PROD_DIR=`dirname $PROD_FILE`
set PROD_DIR
export MET_DIR=`dirname $MET_FILE`
set PROD_DIR


if [ $PROD_DIR = $MET_DIR ]; then
	# just copy the sample metadata
	cp <TEST_SAMPLE_MET_PATH> $MET_FILE
fi

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile.txt
 =======================================================================
 This is a test file.

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile2.txt
 =======================================================================
 This is a test file.

 =======================================================================
 ==/Users/mattmann/tmp/build-oodt-site/oodt/metadata/src/testdata/testfile2.txt.met
 =======================================================================
 <?xml version="1.0" encoding="UTF-8"?>
<!-- FIXME: change namespace URI? -->
<cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
 <keyval>
   <key>Filename</key>
   <val>testfile.txt</val>
 </keyval>
 <keyval>
   <key>FileLocation</key>
   <val>[EXTRACT_FILE_LOC]</val>
 </keyval>
 <keyval>
   <key>ProductType</key>
   <val>GenericFile</val>
 </keyval>
</cas:metadata>