org.apache.oodt.cas.curation.service
Class IngestionResource

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.oodt.cas.curation.service.CurationService
              extended by org.apache.oodt.cas.curation.service.IngestionResource
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, CuratorConfMetKeys

public class IngestionResource
extends CurationService

Leverages CAS Ingester interface to ingest Products into the CAS File Manager via CAS Curator and a REST-ful interface.

Version:
$Revision$
Author:
mattmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.oodt.cas.curation.service.CurationService
config, FORMAT_HTML, FORMAT_JSON, sso, UNKNOWN_OUT_FORMAT
 
Fields inherited from interface org.apache.oodt.cas.curation.servlet.CuratorConfMetKeys
CATALOG_FACTORY_CLASS, CRAWLER_CONF_FILE, DEFAULT_TRANSFER_FACTORY, FM_PROPS, FM_URL, MET_AREA_PATH, MET_EXTENSION, MET_EXTRACTOR_CONF_UPLOAD_PATH, POLICY_UPLOAD_PATH, PROJECT_DISPLAY_NAME, SSO_IMPL_CLASS, STAGING_AREA_PATH
 
Constructor Summary
IngestionResource()
           
 
Method Summary
 String createTask(String fileList, Integer numFiles, String metExtractorConfigId, String policy, String productType)
           
 String doIngest(String ingestTaskId)
           
 String getIngestTaskList(String format)
           
 void removeTask(String ingestTaskId)
           
 
Methods inherited from class org.apache.oodt.cas.curation.service.CurationService
cleansePath, configureSingleSignOn, getDirectoryAreaAsJSON, getFilesInDirectory, init, sendRedirect
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IngestionResource

public IngestionResource()
Method Detail

createTask

public String createTask(String fileList,
                         Integer numFiles,
                         String metExtractorConfigId,
                         String policy,
                         String productType)

removeTask

public void removeTask(String ingestTaskId)

getIngestTaskList

public String getIngestTaskList(String format)

doIngest

public String doIngest(String ingestTaskId)


Copyright © 1999-2013
Apache OODT. All Rights Reserved.