use of io.cdap.cdap.internal.app.services.ApplicationLifecycleService in project cdap by caskdata.
the class SystemAppManagementServiceTest method setup.
@BeforeClass
public static void setup() {
Injector injector = getInjector();
programLifecycleService = injector.getInstance(ProgramLifecycleService.class);
applicationLifecycleService = injector.getInstance(ApplicationLifecycleService.class);
cConf = injector.getInstance(CConfiguration.class);
}
use of io.cdap.cdap.internal.app.services.ApplicationLifecycleService in project cdap by caskdata.
the class CapabilityApplierTest method setup.
@BeforeClass
public static void setup() {
applicationLifecycleService = getInjector().getInstance(ApplicationLifecycleService.class);
capabilityWriter = getInjector().getInstance(CapabilityWriter.class);
locationFactory = getInjector().getInstance(LocationFactory.class);
artifactRepository = getInjector().getInstance(ArtifactRepository.class);
CConfiguration cConfiguration = getInjector().getInstance(CConfiguration.class);
DiscoveryServiceClient client = getInjector().getInstance(DiscoveryServiceClient.class);
RemoteClientFactory remoteClientFactory = getInjector().getInstance(RemoteClientFactory.class);
capabilityApplier = new CapabilityApplier(null, null, null, null, null, null, cConfiguration, remoteClientFactory);
}
Aggregations