// InstancesResult result = manager.suspendInstance(new NullServletRequest(), type, entity,
// "2010-01-02T01:05Z", "2010-01-02T01:21Z", "*");
DeploymentProperties.get().setProperty("deploy.mode", "standalone");
StartupProperties.get().setProperty("current.colo", "ua1");
OozieWorkflowEngine engine = new OozieWorkflowEngine();
ConfigurationStore.get().initiateUpdate(newEntity);
engine.update(obj, newEntity, newEntity.getClusters().getClusters().get(0).getName(), new Date());
engine.delete(newEntity);
System.exit(0);
}