Search in sources :

Example 16 with Runtime

use of org.guvnor.ala.runtime.Runtime in project kie-wb-common by kiegroup.

the class InMemoryRuntimeRegistryTest method testGetRuntimeById.

@Test
public void testGetRuntimeById() {
    String id = runtime.getId();
    runtimeRegistry.registerRuntime(runtime);
    Runtime result = runtimeRegistry.getRuntimeById(id);
    assertEquals(runtime, result);
}
Also used : Runtime(org.guvnor.ala.runtime.Runtime) Test(org.junit.Test)

Aggregations

Runtime (org.guvnor.ala.runtime.Runtime)16 Test (org.junit.Test)8 Input (org.guvnor.ala.pipeline.Input)5 Pipeline (org.guvnor.ala.pipeline.Pipeline)5 PipelineExecutor (org.guvnor.ala.pipeline.execution.PipelineExecutor)5 InMemoryRuntimeRegistry (org.guvnor.ala.registry.inmemory.InMemoryRuntimeRegistry)5 DockerRuntime (org.guvnor.ala.docker.model.DockerRuntime)4 OpenShiftRuntime (org.guvnor.ala.openshift.model.OpenShiftRuntime)4 MavenBuildConfigExecutor (org.guvnor.ala.build.maven.executor.MavenBuildConfigExecutor)3 MavenBuildExecConfigExecutor (org.guvnor.ala.build.maven.executor.MavenBuildExecConfigExecutor)3 MavenProjectConfigExecutor (org.guvnor.ala.build.maven.executor.MavenProjectConfigExecutor)3 BuildRegistry (org.guvnor.ala.registry.BuildRegistry)3 SourceRegistry (org.guvnor.ala.registry.SourceRegistry)3 InMemoryBuildRegistry (org.guvnor.ala.registry.inmemory.InMemoryBuildRegistry)3 InMemorySourceRegistry (org.guvnor.ala.registry.inmemory.InMemorySourceRegistry)3 RuntimeList (org.guvnor.ala.services.api.itemlist.RuntimeList)3 BusinessException (org.guvnor.ala.services.exceptions.BusinessException)3 GitConfigExecutor (org.guvnor.ala.source.git.executor.GitConfigExecutor)3 MavenBuildConfig (org.guvnor.ala.build.maven.config.MavenBuildConfig)2 MavenBuildExecConfig (org.guvnor.ala.build.maven.config.MavenBuildExecConfig)2