Minimal Spring Boot sample app.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.example.telecommicroservices.TelecomMicroservicesApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
This program contains following api:
- http://localhost:8090/ or http://localhost:8090/Phonenumbers : for viewing all the exisitng Phone numbers irrespective of the Customer.
- http://localhost:8090/Phonenumbers/{fullname} : for retrieving the phone numbers of a particular customer.
- http://localhost:8090/Phonenumbers/{phonenumber}/enable/{enable} : to activate an particular phone number.