use of org.opentosca.toscana.plugins.kubernetes.model.transform.ConnectionGraph in project TOSCAna by StuPro-TOSCAna.
the class TransformHandler method createDockerfiles.
/**
* Creates the Dockerfiles (that means the dockerfile and all its dependesies get written to disk)
*/
private void createDockerfiles() {
ConnectionGraph connectionGraph = new ConnectionGraph(lifecycle.stacks);
lifecycle.stacks.forEach(e -> {
logger.info("Creating Dockerfile for {}", e);
try {
e.buildToDockerfile(connectionGraph, lifecycle.getContext(), baseImageMapper);
} catch (IOException ex) {
ex.printStackTrace();
throw new TransformationFailureException("Transformation Failed", ex);
}
});
}
Aggregations