|
@@ -47,12 +47,14 @@ public class FakeZincController {
|
47
|
47
|
|
48
|
48
|
private final AtomicLong counter = new AtomicLong();
|
49
|
49
|
|
|
50
|
+ @SuppressWarnings("unused")
|
50
|
51
|
@RequestMapping("/greeting")
|
51
|
52
|
public Greeting greeting(@RequestParam(value = "name", defaultValue = "World") String name) {
|
52
|
53
|
return new Greeting(counter.incrementAndGet(),
|
53
|
54
|
String.format(template, name));
|
54
|
55
|
}
|
55
|
56
|
|
|
57
|
+ @SuppressWarnings("unused")
|
56
|
58
|
@RequestMapping(
|
57
|
59
|
value = "/order/{request_id}",
|
58
|
60
|
method = RequestMethod.GET,
|
|
@@ -62,6 +64,7 @@ public class FakeZincController {
|
62
|
64
|
return GET_ORDER_RESPONSE;
|
63
|
65
|
}
|
64
|
66
|
|
|
67
|
+ @SuppressWarnings("unused")
|
65
|
68
|
@RequestMapping(
|
66
|
69
|
value = "/order",
|
67
|
70
|
method = RequestMethod.POST,
|