Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.13 KB

ReadMe.md

File metadata and controls

27 lines (16 loc) · 1.13 KB

Telecom Microservices

Minimal Spring Boot sample app.

Requirements

For building and running the application you need:

Running the application locally

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:

  1. http://localhost:8090/ or http://localhost:8090/Phonenumbers : for viewing all the exisitng Phone numbers irrespective of the Customer.
  2. http://localhost:8090/Phonenumbers/{fullname} : for retrieving the phone numbers of a particular customer.
  3. http://localhost:8090/Phonenumbers/{phonenumber}/enable/{enable} : to activate an particular phone number.