public class IntegrationTestManager extends Object implements TestManager
| Constructor and Description |
|---|
IntegrationTestManager(ClientConfig clientConfig,
LocationFactory locationFactory) |
public IntegrationTestManager(ClientConfig clientConfig, LocationFactory locationFactory)
public ApplicationManager deployApplication(Id.Namespace namespace, Class<? extends Application> applicationClz, File... bundleEmbeddedJars)
deployApplication in interface TestManagerpublic void deployTemplate(Id.Namespace namespace, Id.ApplicationTemplate templateId, Class<? extends ApplicationTemplate> templateClz, String... exportPackages) throws IOException
deployTemplate in interface TestManagerIOExceptionpublic void addTemplatePlugins(Id.ApplicationTemplate templateId, String jarName, Class<?> pluginClz, Class<?>... classes) throws IOException
addTemplatePlugins in interface TestManagerIOExceptionpublic void addTemplatePluginJson(Id.ApplicationTemplate templateId, String fileName, String type, String name, String description, String className, PluginPropertyField... fields) throws IOException
addTemplatePluginJson in interface TestManagerIOExceptionpublic AdapterManager createAdapter(Id.Adapter adapterId, AdapterConfig config) throws Exception
createAdapter in interface TestManagerExceptionpublic void clear()
throws Exception
clear in interface TestManagerExceptionpublic void deployDatasetModule(Id.Namespace namespace, String moduleName, Class<? extends DatasetModule> datasetModule) throws Exception
deployDatasetModule in interface TestManagerExceptionpublic <T extends DatasetAdmin> T addDatasetInstance(Id.Namespace namespace, String datasetTypeName, String datasetInstanceName, DatasetProperties props) throws Exception
addDatasetInstance in interface TestManagerExceptionpublic <T extends DatasetAdmin> T addDatasetInstance(Id.Namespace namespace, String datasetTypeName, String datasetInstanceName) throws Exception
addDatasetInstance in interface TestManagerExceptionpublic <T> DataSetManager<T> getDataset(Id.Namespace namespace, String datasetInstanceName) throws Exception
getDataset in interface TestManagerExceptionpublic Connection getQueryClient(Id.Namespace namespace) throws Exception
getQueryClient in interface TestManagerExceptionpublic void createNamespace(NamespaceMeta namespaceMeta) throws Exception
createNamespace in interface TestManagerExceptionpublic void deleteNamespace(Id.Namespace namespace) throws Exception
deleteNamespace in interface TestManagerExceptionpublic StreamManager getStreamManager(Id.Stream streamId)
getStreamManager in interface TestManagerCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.