Skip to content

Commit 621a09b

Browse files
committed
Removing the env in checked in service.
Reader will make this change as he goes through the chapter. Also deleting un-required class.
1 parent e5a121f commit 621a09b

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

chapter-02/product/src/main/java/com/mycompany/product/ProductService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@RestController
1212
public class ProductService {
1313

14-
@RequestMapping("/${env}product/{id}")
14+
@RequestMapping("/product/{id}")
1515
Product getProduct(@PathVariable("id") int id) {
1616
return new Product(id);
1717
}

chapter-02/product/src/main/java/com/mycompany/product/ProductSvcClient.java

-43
This file was deleted.

0 commit comments

Comments
 (0)