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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "roles", path = "roles",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "users", path = "users",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "userroles", path = "userroles",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "authors", path = "authors",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "bookhashes", path = "bookhashes",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "booklist", path = "booklist",
itemResourceRel = "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 * @author Pekka Helenius
*/ */
//TODO un-hardcode path & itemResourceHel
//
@RepositoryRestResource( @RepositoryRestResource(
path = "categories", path = "categories",
itemResourceRel = "categories", itemResourceRel = "categories",


Loading…
Cancel
Save