Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct validator in fault tree service #162

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ public System create(@RequestBody System system) {
public System rename(@RequestBody System system) {
log.info("> rename - {}", system);

System updatedTree = repositoryService.rename(system);
System updatedSystem = repositoryService.rename(system);

log.info("< rename - {}", updatedTree);
return updatedTree;
log.info("< rename - {}", updatedSystem);
return updatedSystem;
}

@ResponseStatus(HttpStatus.NO_CONTENT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class FaultTreeRepositoryService extends ComplexManagedEntityRepositorySe
private final FailureRateDao failureRateDao;

@Autowired
public FaultTreeRepositoryService(@Qualifier("defaultEntityValidator") EntityValidator validator,
public FaultTreeRepositoryService(@Qualifier("faultTreeValidator") EntityValidator validator,
FaultTreeDao faultTreeDao,
FaultEventScenarioDao faultEventScenarioDao,
FaultEventRepositoryService faultEventRepositoryService,
Expand Down
Loading