Skip to content
Snippets Groups Projects
Commit 12128353 authored by Sören Henning's avatar Sören Henning
Browse files

added failured calls

parent 3ab94b24
No related branches found
No related tags found
1 merge request!19Trace aggr analysis
......@@ -31,12 +31,14 @@ public class DependencyCreator extends OperationCallVisitor<AggregatedOperationC
Operation callerOperation = callerComponent.addOperation(parentCall.getOperation());
final int numberOfCalls = call.getCalls();
softwareSystem.addOperationDependency(callerOperation, calleeOperation).addCalls(numberOfCalls);
softwareSystem.addComponentDependency(callerComponent, calleeComponent).addCalls(numberOfCalls);
softwareSystem.addContainerDependency(callerContainer, calleeContainer).addCalls(numberOfCalls);
// TODO set failure calls
if (call.isFailed()) {
softwareSystem.addOperationDependency(callerOperation, calleeOperation).addFailuredCalls(numberOfCalls);
softwareSystem.addComponentDependency(callerComponent, calleeComponent).addFailuredCalls(numberOfCalls);
softwareSystem.addContainerDependency(callerContainer, calleeContainer).addFailuredCalls(numberOfCalls);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment