protected ApplicationManager deployApplication(NamespaceId namespace, Class<? extends Application> applicationClz, File...bundleEmbeddedJars) throws IOException { return getTestManager().deployApplication(namespace, applicationClz, bundleEmbeddedJars); }
/** * Deploys an {@link Application} with version. The application artifact must already exist. * * @param appId the id of the application to create * @param appRequest the application create or update request * @return An {@link ApplicationManager} to manage the deployed application */ protected static ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception { ApplicationManager appManager = getTestManager().deployApplication(appId, appRequest); applicationManagers.add(appManager); return appManager; }
/** * Deploys an {@link Application} with version. The application artifact must already exist. * * @param appId the id of the application to create * @param appRequest the application create or update request * @return An {@link ApplicationManager} to manage the deployed application */ protected static ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception { ApplicationManager appManager = getTestManager().deployApplication(appId, appRequest); applicationManagers.add(appManager); return appManager; }
protected ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception { return getTestManager().deployApplication(appId, appRequest); }
/** * Deploys an {@link Application} with a config. * Programs defined in the application must be in the same or children package as the application. * * @param namespace the namespace to deploy the application to * @param applicationClz the application class * @param appConfig the application configApp * @param bundleEmbeddedJars any extra jars to bundle in the application jar * @return An {@link ApplicationManager} to manage the deployed application. */ protected static ApplicationManager deployApplication(NamespaceId namespace, Class<? extends Application> applicationClz, Config appConfig, File... bundleEmbeddedJars) { ApplicationManager applicationManager = getTestManager().deployApplication(namespace, applicationClz, appConfig, bundleEmbeddedJars); applicationManagers.add(applicationManager); return applicationManager; }
/** * Deploys an {@link Application} with a config. The {@link co.cask.cdap.api.flow.Flow Flows} and * other programs defined in the application must be in the same or children package as the application. * * @param namespace the namespace to deploy the application to * @param applicationClz the application class * @param appConfig the application configApp * @param bundleEmbeddedJars any extra jars to bundle in the application jar * @return An {@link ApplicationManager} to manage the deployed application. */ protected static ApplicationManager deployApplication(NamespaceId namespace, Class<? extends Application> applicationClz, Config appConfig, File... bundleEmbeddedJars) { ApplicationManager applicationManager = getTestManager().deployApplication(namespace, applicationClz, appConfig, bundleEmbeddedJars); applicationManagers.add(applicationManager); return applicationManager; }