Playing with Java Microservices on Kubernetes and OpenShift by Nebrass Lamouchi
Author:Nebrass Lamouchi [Nebrass Lamouchi]
Language: eng
Format: epub, pdf
Publisher: leanpub.com
Published: 2018-11-24T00:00:00+00:00
Step 2: Swagger 2
Next we need to add the Swagger dependencies. We will activate the Swagger2 capabilities, by annotating the Main Class with the @EnableSwagger2 annotation.
Step 3: Application Configuration
We need a bootstrap.yml in our customer-service/src/main/resources/ folder:
customer-service/src/main/resources/bootstrap.yml spring: cloud: config: uri: http://localhost:8888 application: name: customer-service
And in the Config Server, we need to create a dedicated properties file of our customer-service. This properties file will contain the port on which the customer-service will be running on.
The content of the customer-service.yml file:
config-server/src/main/resources/configurations/customer-service.yml server: port: 9992
Download
Playing with Java Microservices on Kubernetes and OpenShift by Nebrass Lamouchi.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9371)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9341)
The Mikado Method by Ola Ellnestam Daniel Brolund(9306)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7849)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7401)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7320)
Grails in Action by Glen Smith Peter Ledbrook(7294)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7115)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5956)
Kotlin in Action by Dmitry Jemerov(4636)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3873)
Functional Programming in JavaScript by Mantyla Dan(3721)
Learning Java by Patrick Niemeyer & Daniel Leuck(2870)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2835)
Mastering Python for Finance by Weiming James Ma;(2835)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2596)
Windows APT Warfare by Sheng-Hao Ma(2582)
Mastering Java 9 by Dr. Edward Lavieri(2571)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2557)