org.apache.falcon.resource
Class ConfigSyncService
java.lang.Object
org.apache.falcon.resource.AbstractEntityManager
org.apache.falcon.resource.ConfigSyncService
public class ConfigSyncService
- extends AbstractEntityManager
This class provides RESTful API for Entity Configurations.
Methods inherited from class org.apache.falcon.resource.AbstractEntityManager |
audit, checkColo, deserializeEntity, getAllColos, getApplicableColos, getApplicableColos, getColosFromExpression, getDependencies, getEntityDefinition, getEntityList, getStatus, getStatus, getWorkflowEngine, submitInternal, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigSyncService
public ConfigSyncService()
submit
public org.apache.falcon.resource.APIResult submit(@Context
javax.servlet.http.HttpServletRequest request,
String type,
String colo)
- Description copied from class:
AbstractEntityManager
- Submit a new entity. Entities can be of type feed, process or data end
points. Entity definitions are validated structurally against schema and
subsequently for other rules before they are admitted into the system
Entity name acts as the key and an entity once added, can't be added
again unless deleted.
- Overrides:
submit
in class AbstractEntityManager
- Parameters:
request
- - Servlet Requesttype
- - entity type - feed, process or data end pointcolo
- - applicable colo
- Returns:
- result of the operation
delete
public org.apache.falcon.resource.APIResult delete(@Context
javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String colo)
- Description copied from class:
AbstractEntityManager
- Deletes a scheduled entity, a deleted entity is removed completely from
execution pool.
- Overrides:
delete
in class AbstractEntityManager
type
- entity typeentity
- entity name
- Returns:
- APIResult
update
public org.apache.falcon.resource.APIResult update(@Context
javax.servlet.http.HttpServletRequest request,
String type,
String entityName,
String colo)
- Overrides:
update
in class AbstractEntityManager
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.