Skip to content

Commit 4296421

Browse files
committed
Fix GetMapping tests (two done, one more to go now)
1 parent 4ae6791 commit 4296421

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/commonwl/view/workflow/WorkflowController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public Resource getROBundle(
263263
* @param branch The branch of repository
264264
*/
265265
@GetMapping(
266-
value = "/robundle/*/*.git/{branch}/**",
266+
value = "/robundle/*/*/*.git/{branch}/**",
267267
produces = "application/vnd.wf4ever.robundle+zip")
268268
@ResponseBody
269269
public Resource getROBundleGeneric(
@@ -314,7 +314,7 @@ public Resource downloadGraphSvg(
314314
*
315315
* @param branch The branch of repository
316316
*/
317-
@GetMapping(value = "/graph/svg/*/*.git/{branch}/**", produces = "image/svg+xml")
317+
@GetMapping(value = "/graph/svg/*/*/*.git/{branch}/**", produces = "image/svg+xml")
318318
@ResponseBody
319319
public Resource downloadGraphSvgGeneric(
320320
@PathVariable("branch") String branch,
@@ -364,7 +364,7 @@ public Resource downloadGraphPng(
364364
*
365365
* @param branch The branch of repository
366366
*/
367-
@GetMapping(value = "/graph/png/*/*.git/{branch}/**", produces = "image/png")
367+
@GetMapping(value = "/graph/png/*/*/*.git/{branch}/**", produces = "image/png")
368368
@ResponseBody
369369
public Resource downloadGraphPngGeneric(
370370
@PathVariable("branch") String branch,
@@ -414,7 +414,7 @@ public Resource downloadGraphDot(
414414
*
415415
* @param branch The branch of repository
416416
*/
417-
@GetMapping(value = "/graph/xdot/*/*.git/{branch}/**", produces = "text/vnd.graphviz")
417+
@GetMapping(value = "/graph/xdot/*/*/*.git/{branch}/**", produces = "text/vnd.graphviz")
418418
@ResponseBody
419419
public Resource downloadGraphDotGeneric(
420420
@PathVariable("branch") String branch,

0 commit comments

Comments
 (0)