You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by rl...@apache.org on 2013/07/25 18:50:00 UTC

svn commit: r1507062 [4/4] - in /oodt/trunk/webapp/fmprod: ./ src/main/java/org/apache/oodt/cas/product/data/ src/main/java/org/apache/oodt/cas/product/service/configurations/ src/main/java/org/apache/oodt/cas/product/service/exceptions/ src/main/java/...

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/etc/mime-types.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt Thu Jul 25 16:49:58 2013
@@ -0,0 +1,2 @@
+This is a test file for the CAS-Product web application.
+It is used by tests in the org.apache.oodt.cas.product.service package.

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt.met
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt.met?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt.met (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/location.txt.met Thu Jul 25 16:49:58 2013
@@ -0,0 +1,10 @@
+<cas:metadata xmlns:cas="http://oodt.apache.org/ns/cas">
+  <keyval>
+    <key>Latitude</key>
+    <val>10</val>
+  </keyval>
+  <keyval>
+    <key>Longitude</key>
+    <val>20</val>
+  </keyval>
+</cas:metadata>

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test Thu Jul 25 16:49:58 2013
@@ -0,0 +1,2 @@
+This is a test file for the CAS-Product web application.
+It is used by tests in the org.apache.oodt.cas.product.service package.

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt Thu Jul 25 16:49:58 2013
@@ -0,0 +1,2 @@
+This is a test file for the CAS-Product web application.
+It is used by tests in the org.apache.oodt.cas.product.service package.

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt.met
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt.met?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt.met (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/flat/test.txt.met Thu Jul 25 16:49:58 2013
@@ -0,0 +1 @@
+<cas:metadata xmlns:cas="http://oodt.apache.org/ns/cas"/>

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test.met
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test.met?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test.met (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test.met Thu Jul 25 16:49:58 2013
@@ -0,0 +1 @@
+<cas:metadata xmlns:cas="http://oodt.apache.org/ns/cas"/>

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/file.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/file.txt?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/file.txt (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/file.txt Thu Jul 25 16:49:58 2013
@@ -0,0 +1,2 @@
+This is a test file for the CAS-Product web application.
+It is used by tests in the org.apache.oodt.cas.product.service package.

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/file.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/subdirectory/sub-file.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/subdirectory/sub-file.txt?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/subdirectory/sub-file.txt (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/subdirectory/sub-file.txt Thu Jul 25 16:49:58 2013
@@ -0,0 +1,2 @@
+This is a test file for the CAS-Product web application.
+It is used by tests in the org.apache.oodt.cas.product.service package.

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/ingest/hierarchical/test/subdirectory/sub-file.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/elements.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/elements.xml?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/elements.xml (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/elements.xml Thu Jul 25 16:49:58 2013
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<cas:elements xmlns:cas="http://oodt.apache.org/ns/cas">
+  <element id="urn:oodt:ProductId" name="CAS.ProductId">
+    <dcElement>Identifier</dcElement>
+    <description>
+      A product's unique identifier within the CAS namespace.
+    </description>
+  </element>
+  <element id="urn:oodt:ProductName" name="CAS.ProductName">
+    <dcElement>Title</dcElement>
+    <description>
+      A product's name within the CAS namespace.
+    </description>
+  </element>
+  <element id="urn:oodt:ProductReceivedTime" name="CAS.ProductReceivedTime">
+    <dcElement/>
+    <description>
+      The ISO 8601 formatted time that the product was received.
+    </description>
+  </element>
+  <element id="urn:oodt:Filename" name="Filename">
+    <description>
+      The names of the files that represent this product.
+    </description>
+    <dcElement/>
+  </element>
+  <element id="urn:oodt:FileLocation" name="FileLocation">
+    <description>
+      The locations of the files that represent this product.
+    </description>
+    <dcElement/>
+  </element>
+  <element id="urn:oodt:ProductType" name="ProductType">
+    <description>
+      Type of product as specified by, for example, a data bible.
+    </description>
+    <dcElement/>
+  </element>
+  <element id="urn:oodt:ProductStructure" name="ProductStructure">
+    <description>
+      Whether or not a product is Flat (for example, a set of independent
+      files), or hierarchical (for example, a directory structure).
+    </description>
+    <dcElement/>
+  </element>
+  <element id="urn:oodt:MimeType" name="MimeType">
+    <description>The IETF MIME type for this product.</description>
+    <dcElement/>
+  </element>
+  <element id="urn:test:DataVersion" name="DataVersion">
+    <description>The version of the data product.</description>
+    <dcElement/>
+  </element>
+  <element id="urn:oodt:Latitude" name="Latitude">
+    <description>Geographical latitude data for a product.</description>
+    <dcElement />
+  </element>
+  <element id="urn:oodt:Longitude" name="Longitude">
+    <description>Geographical longitude data for a product.</description>
+    <dcElement />
+  </element>
+</cas:elements>

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-type-element-map.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-type-element-map.xml?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-type-element-map.xml (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-type-element-map.xml Thu Jul 25 16:49:58 2013
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<cas:producttypemap xmlns:cas="http://oodt.apache.org/ns/cas">
+  <type id="urn:oodt:GenericFile">
+    <element id="urn:oodt:ProductReceivedTime"/>
+    <element id="urn:oodt:ProductName"/>
+    <element id="urn:oodt:ProductId"/>
+    <element id="urn:oodt:ProductType"/>
+    <element id="urn:oodt:ProductStructure"/>
+    <element id="urn:oodt:Filename"/>
+    <element id="urn:oodt:FileLocation"/>
+    <element id="urn:oodt:MimeType"/>
+    <element id="urn:test:DataVersion"/>
+  </type>
+  <type id="urn:oodt:LocationAwareProduct" parent="urn:oodt:GenericFile">
+    <element id="urn:oodt:Latitude"/>
+    <element id="urn:oodt:Longitude"/>
+  </type>
+</cas:producttypemap>

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-type-element-map.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-types.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-types.xml?rev=1507062&view=auto
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-types.xml (added)
+++ oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-types.xml Thu Jul 25 16:49:58 2013
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<cas:producttypes xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+<type id="urn:oodt:GenericFile" name="GenericFile">
+<description>The default product type for any kind of file.</description>
+<repository path="file:///usr/local/src/oodt/webapp/fmprod/src/test/resources/filemgr/repository"/>
+<versioner class="org.apache.oodt.cas.filemgr.versioning.BasicVersioner"/>
+</type>
+<type id="urn:oodt:LocationAwareProduct" name="LocationAwareProduct">
+<description>A product type with location metadata.</description>
+<repository path="file:///usr/local/src/oodt/webapp/fmprod/src/test/resources/filemgr/repository"/>
+<versioner class="org.apache.oodt.cas.filemgr.versioning.BasicVersioner"/>
+</type>
+</cas:producttypes>

Propchange: oodt/trunk/webapp/fmprod/src/test/resources/filemgr/policy/core/product-types.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: oodt/trunk/webapp/fmprod/src/test/resources/test.logging.properties
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/test/resources/test.logging.properties?rev=1507062&r1=1507061&r2=1507062&view=diff
==============================================================================
--- oodt/trunk/webapp/fmprod/src/test/resources/test.logging.properties (original)
+++ oodt/trunk/webapp/fmprod/src/test/resources/test.logging.properties Thu Jul 25 16:49:58 2013
@@ -1,6 +1,6 @@
 # Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE.txt file distributed with
-# this work for additional information regarding copyright ownership.  The ASF
+# contributor license agreements.  See the NOTICE file distributed with this
+# work for additional information regarding copyright ownership.  The ASF
 # licenses this file to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
@@ -9,50 +9,34 @@
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
-# License for the specific language governing permissions and limitations
-# under the License.    
-
-# Specify the handlers to create in the root logger
-# (all loggers are children of the root logger)
-# The following creates two handlers
-handlers = java.util.logging.ConsoleHandler
-
-# Set the default logging level for the root logger
-.level = OFF
-    
-# Set the default logging level for new ConsoleHandler instances
-java.util.logging.ConsoleHandler.level = OFF
-        
-# Set the default formatter for new ConsoleHandler instances
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
-# catalog subsystem
-org.apache.oodt.cas.filemgr.catalog.level = INFO
 
-# repository subsystem
-org.apache.oodt.cas.filemgr.repository.level = FINE
+# Log levels: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
 
-# system subsystem
-org.apache.oodt.cas.filemgr.system.level = INFO
+# Specify which handlers are to be used
+handlers = java.util.logging.ConsoleHandler
 
-# versioning subsystem
-org.apache.oodt.cas.filemgr.versioning.level = INFO
+# Logging level for the root logger
+.level = FINE
 
-# data transfer subsystem
-org.apache.oodt.cas.filemgr.datatransfer.level = FINE
+# Logging level for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.level = FINE
 
-# util
-org.apache.oodt.cas.filemgr.util.level = INFO
+# Formatter for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
 
-# validation
-org.apache.oodt.cas.filemgr.validation.level = INFO
+# CAS-Product service settings
+org.apache.oodt.cas.product.service = FINE
 
-# tools
-org.apache.oodt.cas.filemgr.tools.level = SEVERE
+# File manager settings
+org.apache.oodt.cas.filemgr.level = SEVERE
 
-# control the underlying commons-httpclient transport layer for xmlrpc 
-org.apache.commons.httpclient.level = INFO
-httpclient.wire.header.level = INFO
-httpclient.wire.level = INFO
+# XMLRPC commons-httpclient transport layer settings
+org.apache.commons.httpclient.level = WARNING
+httpclient.wire.level = WARNING
 
+# Apache CXF settings
+org.apache.cxf.level = WARNING
\ No newline at end of file