Browse Source

Partial rebase of controller logic

v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
64db7a082f
6 changed files with 9 additions and 3 deletions
  1. +1
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/service/BigDecimalPropertyEditor.java
  2. +1
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/service/BookAuthorHelper.java
  3. +1
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/service/HttpServerLogger.java
  4. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java
  5. +3
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java
  6. +1
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookRestController.java

bookstore/src/main/java/com/fjordtek/bookstore/web/BigDecimalPropertyEditor.java → bookstore/src/main/java/com/fjordtek/bookstore/service/BigDecimalPropertyEditor.java View File

@ -1,6 +1,6 @@
// Pekka Helenius <fincer89@hotmail.com>, Fjordtek 2020
package com.fjordtek.bookstore.web;
package com.fjordtek.bookstore.service;
import java.beans.PropertyEditorSupport;
import java.math.BigDecimal;

bookstore/src/main/java/com/fjordtek/bookstore/web/BookAuthorHelper.java → bookstore/src/main/java/com/fjordtek/bookstore/service/BookAuthorHelper.java View File

@ -1,6 +1,6 @@
//Pekka Helenius <fincer89@hotmail.com>, Fjordtek 2020
package com.fjordtek.bookstore.web;
package com.fjordtek.bookstore.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

bookstore/src/main/java/com/fjordtek/bookstore/web/HttpServerLogger.java → bookstore/src/main/java/com/fjordtek/bookstore/service/HttpServerLogger.java View File

@ -1,6 +1,6 @@
// Pekka Helenius <fincer89@hotmail.com>, Fjordtek 2020
package com.fjordtek.bookstore.web;
package com.fjordtek.bookstore.service;
import java.util.ArrayList;
import java.util.Enumeration;

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

@ -22,6 +22,8 @@ import com.fjordtek.bookstore.model.Book;
import com.fjordtek.bookstore.model.BookEventHandler;
import com.fjordtek.bookstore.model.BookRepository;
import com.fjordtek.bookstore.model.CategoryRepository;
import com.fjordtek.bookstore.service.BookAuthorHelper;
import com.fjordtek.bookstore.service.HttpServerLogger;
/**
*


+ 3
- 0
bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java View File

@ -33,6 +33,9 @@ import com.fjordtek.bookstore.model.BookHash;
import com.fjordtek.bookstore.model.BookHashRepository;
import com.fjordtek.bookstore.model.BookRepository;
import com.fjordtek.bookstore.model.CategoryRepository;
import com.fjordtek.bookstore.service.BigDecimalPropertyEditor;
import com.fjordtek.bookstore.service.BookAuthorHelper;
import com.fjordtek.bookstore.service.HttpServerLogger;
/**
*


+ 1
- 0
bookstore/src/main/java/com/fjordtek/bookstore/web/BookRestController.java View File

@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
import com.fjordtek.bookstore.model.Book;
import com.fjordtek.bookstore.model.BookHashRepository;
import com.fjordtek.bookstore.model.BookRepository;
import com.fjordtek.bookstore.service.HttpServerLogger;
/**
*


Loading…
Cancel
Save