diff --git a/src/main/java/cz/cvut/kbss/analysis/controller/FaultTreeController.java b/src/main/java/cz/cvut/kbss/analysis/controller/FaultTreeController.java index 806d57cb..560990c0 100755 --- a/src/main/java/cz/cvut/kbss/analysis/controller/FaultTreeController.java +++ b/src/main/java/cz/cvut/kbss/analysis/controller/FaultTreeController.java @@ -118,4 +118,12 @@ public FaultTree generateFunctionalDependenciesFaultTree(@PathVariable("function log.info("> generateFunctionalDependenciesFaultTree - {}, {}", functionFragment, faultTreeName); return repositoryService.generateFunctionDependencyTree(functionUri,faultTreeName); } + + @ResponseStatus(HttpStatus.NO_CONTENT) + @PutMapping(value = "/{faultTreeFragment}/cutsets") + public void performCutSetAnalysis(@PathVariable(name = "faultTreeFragment") String faultTreeFragment){ + URI faultTreeUri = identifierService.composeIdentifier(Vocabulary.s_c_FaultTree, faultTreeFragment); + log.info("> performCutSetAnalysis - {}", faultTreeFragment); + repositoryService.performCutSetAnalysis(faultTreeUri); + } }