From 94762c5a547ee29be77a60f4b47ae0651b869124 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 7 Oct 2020 00:51:27 +0300 Subject: [PATCH] Add missing REST API page values/properties Signed-off-by: Pekka Helenius --- .../bookstore/service/session/BookStorePages.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/service/session/BookStorePages.java b/bookstore/src/main/java/com/fjordtek/bookstore/service/session/BookStorePages.java index 5bcab27..967f98d 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/service/session/BookStorePages.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/service/session/BookStorePages.java @@ -45,7 +45,10 @@ public class BookStorePages { REST, RESTAUTHORS, RESTBOOKS, - RESTCATEGORIES + RESTCATEGORIES, + RESTUSERS, + RESTROLES, + RESTUSERROLES ; @PostConstruct @@ -74,6 +77,10 @@ public class BookStorePages { this.RESTAUTHORS = env.getProperty("page.url.restapi.authors"); this.RESTBOOKS = env.getProperty("page.url.restapi.books"); this.RESTCATEGORIES = env.getProperty("page.url.restapi.categories"); + this.RESTUSERS = env.getProperty("page.url.restapi.users"); + this.RESTROLES = env.getProperty("page.url.restapi.roles"); + this.RESTUSERROLES = env.getProperty("page.url.restapi.userroles"); + } }