Products Microservice

The next step is for us to move our product service to a microservice. In this case, you can see that we’ve pre-populated the system with the code of our service (since it aligns with the same approach that we saw with the Order service). Open the Cloud9 IDE again and navigate to the “lab4/product-service/src/main/java“ folder. Here you will see the various Java files that make up our Product service. Double-click on the ““ file to open it in the editor.

Within this file, you’ll see the various methods that implement the GET, PUT, POST, and DELETE methods for our Product service.