Search in sources :

Example 1 with ProvisioningService

use of io.cdap.cdap.internal.provision.ProvisioningService in project cdap by caskdata.

the class ProgramLifecycleServiceTest method setup.

@BeforeClass
public static void setup() {
    Injector injector = getInjector();
    programLifecycleService = injector.getInstance(ProgramLifecycleService.class);
    profileService = injector.getInstance(ProfileService.class);
    provisioningService = injector.getInstance(ProvisioningService.class);
    provisioningService.startAndWait();
}
Also used : ProfileService(io.cdap.cdap.internal.profile.ProfileService) Injector(com.google.inject.Injector) ProvisioningService(io.cdap.cdap.internal.provision.ProvisioningService) BeforeClass(org.junit.BeforeClass)

Aggregations

Injector (com.google.inject.Injector)1 ProfileService (io.cdap.cdap.internal.profile.ProfileService)1 ProvisioningService (io.cdap.cdap.internal.provision.ProvisioningService)1 BeforeClass (org.junit.BeforeClass)1