Jump to: navigation, search

Virgo/Community/Migrating from 3.0.x to 3.5.0

Modified Directory Layout

TBD

Transformer Signature

Transformer services in Virgo 3.5.0 operate in terms of a directed acyclic graph of install artefacts instead of the tree which was used by Virgo 3.0.x.

If you provide a Transformer service, you'll need to rework it to implement the modified signature. For example, the WebTransformer.transform method was changed as follows:

public void transform(GraphNode<InstallArtifact> installGraph, InstallEnvironment installEnvironment) throws DeploymentException {
   installGraph.visit(new ExceptionThrowingDirectedAcyclicGraphVisitor<InstallArtifact, DeploymentException>() {
  
       public boolean visit(GraphNode<InstallArtifact> node) throws DeploymentException {
               InstallArtifact installArtifact = node.getValue();
               ...
       }
   });
}