Skip to content
Snippets Groups Projects
Commit 93690e97 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

Merge branch 'service-cleanup' into 'main'

Service cleanup

See merge request !673
parents b59387fa 43b136bd
No related branches found
No related tags found
2 merge requests!675Production Release | nshmp-haz,!673Service cleanup
Pipeline #199214 passed
......@@ -62,31 +62,6 @@ public class LogicTreesController {
}
}
/**
* @param id Source tree id
*/
@Operation(
summary = "Get a source model MFD logic tree",
description = "Returns the logic tree of MFDs for the supplied ID",
operationId = "source-tree-mfds-old")
@ApiResponse(
description = "NSHM source logic tree",
responseCode = "200",
content = @Content(
schema = @Schema(implementation = TreeResponse.class)))
@Get(uri = "/{id}")
@Deprecated
public HttpResponse<String> doGetTree(HttpRequest<?> http, @PathVariable int id) {
try {
return LogicTreesService.getMfdTree(http, id);
} catch (Exception e) {
return ServletUtil.error(
LogicTreesService.LOG, e,
LogicTreesService.NAME,
http.getUri().toString());
}
}
/**
* @param id Source logic tree id
*/
......
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