Browse Source

Add un-hardcode TODOs

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
c50a6962b6
7 changed files with 14 additions and 0 deletions
  1. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java
  2. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/auth/UserRepository.java
  3. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/auth/UserRoleRepository.java
  4. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/book/AuthorRepository.java
  5. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/book/BookHashRepository.java
  6. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/book/BookRepository.java
  7. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/model/book/CategoryRepository.java

+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java View File

@ -14,6 +14,8 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "roles",
itemResourceRel = "roles",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/auth/UserRepository.java View File

@ -12,6 +12,8 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "users",
itemResourceRel = "users",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/auth/UserRoleRepository.java View File

@ -12,6 +12,8 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "userroles",
itemResourceRel = "userroles",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/book/AuthorRepository.java View File

@ -16,6 +16,8 @@ import org.springframework.data.rest.core.annotation.RestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "authors",
itemResourceRel = "authors",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/book/BookHashRepository.java View File

@ -15,6 +15,8 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "bookhashes",
itemResourceRel = "bookhashes",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/book/BookRepository.java View File

@ -19,6 +19,8 @@ import org.springframework.data.rest.core.annotation.RestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "booklist",
itemResourceRel = "booklist",


+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/book/CategoryRepository.java View File

@ -16,6 +16,8 @@ import org.springframework.data.rest.core.annotation.RestResource;
* @author Pekka Helenius
*/
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource(
path = "categories",
itemResourceRel = "categories",


Loading…
Cancel
Save