api-gateway - create a new class, PriceService to return the price to the controller
Closed this issue · 2 comments
tal-zigdong commented
We should remove the whole of the logic from the controller and move this logic to a service.
move logic from
api-gateway/price-microservice/src/main/java/com/iluwatar/price/microservice/PriceController.java
to a new class
api-gateway/price-microservice/src/main/java/com/iluwatar/price/microservice/PriceService.java
and call from the controller to this service.
iluwatar commented
There's no logic, it simply returns a static number
Romo4ka-bot commented
Hi, can i try to make this issue?