Refactoring
This commit is contained in:
parent
154b23203e
commit
8ffc0d36a2
@ -3,7 +3,7 @@ package com.baeldung.hexagonal.adapter.in;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import com.baeldung.hexagonal.ShoppingCartService;
|
import com.baeldung.hexagonal.domain.ShoppingCartService;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/shopping-cart")
|
@RequestMapping("/shopping-cart")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.baeldung.hexagonal;
|
package com.baeldung.hexagonal.domain;
|
||||||
|
|
||||||
public interface ShoppingCartService {
|
public interface ShoppingCartService {
|
||||||
|
|
@ -5,7 +5,6 @@ import java.util.HashMap;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import com.baeldung.hexagonal.ShoppingCartService;
|
|
||||||
import com.baeldung.hexagonal.adapter.out.Product;
|
import com.baeldung.hexagonal.adapter.out.Product;
|
||||||
import com.baeldung.hexagonal.domain.ports.ProductRepository;
|
import com.baeldung.hexagonal.domain.ports.ProductRepository;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user