From 0077ce931533d3b7ed6bfbee4449f384d064161c Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 7 Oct 2020 01:21:11 +0300 Subject: [PATCH] Add TODO note : properties not working here? Signed-off-by: Pekka Helenius --- .../fjordtek/bookstore/web/BookBasePathAwareController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java index 2c14805..51a3334 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java @@ -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"