Skip to content

Commit

Permalink
Update annotations in executor-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
skodapetr committed May 12, 2024
1 parent 57b0a34 commit e167d50
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private RDFFormat getFormat(HttpServletRequest request) {
value = "/",
method = RequestMethod.GET)
public void getExecution(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
HttpServletRequest request, HttpServletResponse response)
throws MonitorException, IOException {
Execution execution = getLivingExecution(iri);
Expand Down Expand Up @@ -106,7 +106,7 @@ private Execution getLivingExecution(String iri) throws MissingResource {
value = "/",
method = RequestMethod.DELETE)
public void deleteExecution(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
HttpServletResponse response) throws MissingResource {
Execution execution = getLivingExecution(iri);
this.executions.deleteExecution(execution);
Expand All @@ -118,7 +118,7 @@ public void deleteExecution(
method = RequestMethod.POST,
consumes = MediaType.APPLICATION_JSON_VALUE)
public void cancelExecution(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
@RequestBody String body,
HttpServletResponse response)
throws MonitorException {
Expand All @@ -132,7 +132,7 @@ public void cancelExecution(
method = RequestMethod.GET,
produces = MediaType.TEXT_PLAIN_VALUE)
public FileSystemResource getExecutionLogs(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
HttpServletResponse response) throws MissingResource {
Execution execution = getLivingExecution(iri);
File file = this.executions.getExecutionLogFile(execution);
Expand All @@ -149,7 +149,7 @@ public FileSystemResource getExecutionLogs(
method = RequestMethod.GET,
produces = MediaType.TEXT_PLAIN_VALUE)
public void getExecutionLogsTail(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
@RequestParam(value = "n", defaultValue = "32") int count,
HttpServletResponse response) throws IOException, MissingResource {
Execution execution = getLivingExecution(iri);
Expand All @@ -166,8 +166,8 @@ public void getExecutionLogsTail(
value = "/messages",
method = RequestMethod.GET)
public void getComponentMessages(
@RequestParam String iri,
@RequestParam String component,
@RequestParam(name = "iri") String iri,
@RequestParam(name = "component") String component,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, MissingResource {
Expand Down Expand Up @@ -195,7 +195,7 @@ public void getComponentMessages(
value = "",
method = RequestMethod.POST)
public PostCreateExecutionHandler.Response createExecution(
@RequestParam("pipeline")
@RequestParam(name = "pipeline")
MultipartFile pipeline,
@RequestParam(value = "input", required = false)
List<MultipartFile> inputs)
Expand All @@ -210,7 +210,7 @@ public PostCreateExecutionHandler.Response createExecution(
method = RequestMethod.GET,
produces = MediaType.APPLICATION_JSON_VALUE)
public void getExecutionOverview(
@RequestParam String iri,
@RequestParam(name = "iri") String iri,
HttpServletResponse response)
throws IOException, MissingResource {
Execution execution = getLivingExecution(iri);
Expand Down

0 comments on commit e167d50

Please sign in to comment.