Author: mattmann
Date: Sat Aug 22 19:04:22 2015
New Revision: 1697107

URL: http://svn.apache.org/r1697107
Log:
- WIP: OODT-842: refactor Curator services into its own REST-ful package. 
related to OODT-824: port Curator to wicket.

Added:
    oodt/trunk/curator/curator-services/src/main/webapp/
    oodt/trunk/curator/curator-services/src/main/webapp/META-INF/
    oodt/trunk/curator/curator-services/src/main/webapp/META-INF/context.xml
    oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/
    oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/web.xml

Added: oodt/trunk/curator/curator-services/src/main/webapp/META-INF/context.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/curator-services/src/main/webapp/META-INF/context.xml?rev=1697107&view=auto
==============================================================================
--- oodt/trunk/curator/curator-services/src/main/webapp/META-INF/context.xml 
(added)
+++ oodt/trunk/curator/curator-services/src/main/webapp/META-INF/context.xml 
Sat Aug 22 19:04:22 2015
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+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 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.
+-->
+<Context path="/curator-services">
+
+       <Parameter 
name="org.apache.oodt.cas.curator.metExtractorConf.uploadPath"
+               value="[OODT_HOME]/extractors" />
+
+       <Parameter name="org.apache.oodt.cas.curator.dataDefinition.uploadPath"
+               value="[FILEMGR_HOME]/policy" />
+               
+    <Parameter name="org.apache.oodt.cas.curator.stagingAreaPath"
+        value="[OODT_HOME]/data/staging"/>
+    
+    <Parameter name="org.apache.oodt.cas.curator.metAreaPath"
+        value="[OODT_HOME]/data/met"/>
+    
+    <Parameter name="org.apache.oodt.cas.curator.fmProps"
+        value="[FILEMGR_HOME]/etc/filemgr.properties"/>
+    
+    <Parameter name="org.apache.oodt.cas.curator.metExtension"
+        value=".met"/>
+               
+       <Parameter name="org.apache.oodt.cas.fm.url"
+           value="[FILEMGR_URL]"/>
+               <Parameter 
name="org.apache.oodt.cas.curator.catalogFactoryClass" 
+                          
value="org.apache.oodt.cas.filemgr.catalog.LuceneCatalogFactory" />
+
+</Context>

Added: oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/web.xml?rev=1697107&view=auto
==============================================================================
--- oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/web.xml (added)
+++ oodt/trunk/curator/curator-services/src/main/webapp/WEB-INF/web.xml Sat Aug 
22 19:04:22 2015
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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 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.
+-->
+<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
+       <display-name>curator-services</display-name>
+       <servlet>
+        <servlet-name>CXFServlet</servlet-name>
+        <servlet-class>
+          org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
+        </servlet-class>
+        <init-param>
+         <param-name>jaxrs.serviceClasses</param-name>
+         <param-value>
+           org.apache.oodt.cas.curation.service.DirectoryResource
+           org.apache.oodt.cas.curation.service.IngestionResource
+           org.apache.oodt.cas.curation.service.MetadataResource
+           org.apache.oodt.cas.curation.service.PolicyResource
+           org.apache.oodt.cas.curation.service.SystemResource
+         </param-value>
+        </init-param>
+       <load-on-startup>1</load-on-startup>
+       </servlet>
+       
+       <servlet>
+          <display-name>Curation Service</display-name>
+          <servlet-name>Curation Service</servlet-name>
+          <servlet-class>
+                org.apache.oodt.cas.curation.service.CurationService
+          </servlet-class>
+          <load-on-startup>1</load-on-startup>
+       </servlet>
+       
+       <servlet-mapping>
+               <servlet-name>CXFServlet</servlet-name>
+               <url-pattern>/services/*</url-pattern>
+       </servlet-mapping>
+
+</web-app>


Reply via email to