use of org.opentosca.toscana.model.node.DockerApplication in project TOSCAna by StuPro-TOSCAna.
the class TemplateConverterTest method dockerConverter.
@Test
public void dockerConverter() {
EffectiveModel model = new EffectiveModelFactory().create(TestCsars.VALID_MINIMAL_DOCKER_TEMPLATE, logMock());
assertNotNull(model);
DockerApplication dockerApp = (DockerApplication) model.getNodeMap().get("simpleTaskApp");
DockerHostRequirement host = dockerApp.getDockerHost();
host.getFulfillers().stream().findFirst().get();
}
Aggregations