Browse Source

Add TODO note : properties not working here?

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
0077ce9315
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java

+ 4
- 2
bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java View File

@ -101,7 +101,8 @@ public class BookBasePathAwareController {
//////////////////////////////
@RequestMapping(
value = "${page.url.restapi.list}",
// TODO property definition ${page.url.restapi.books} does not work here
value = "/booklist",
method = RequestMethod.POST,
consumes = "application/json",
produces = "application/hal+json"
@ -149,7 +150,8 @@ public class BookBasePathAwareController {
}
@RequestMapping(
value = "${page.url.restapi.list}" + "/{id}",
// TODO property definition ${page.url.restapi.books} does not work here
value = "/booklist" + "/{id}",
method = RequestMethod.PUT,
consumes = "application/json",
produces = "application/hal+json"


Loading…
Cancel
Save