Introduction

Create microservice

Microservices are created as spring boot applications in Spring Tool Suite. Download and install this from https://spring.io/tools/sts

Consume microservice in app

  • Change manifest.yml environment variable destinations (or in SCP directly) and add the destination to the url of the microservice
    localhostx green
  • Change xs-app.json in your app and make a route to the destination
    localhost5 green
  • Call the service with axios ($http) in your app
    localhost6 green