Giter VIP home page Giter VIP logo

microservices's Introduction

Spring boot Camel REST + Swagger

An example application that shows how to configure spring boot + Camel with Spring JavaConfig and Camel's Swagger support with no web.xml.

Quick Start

This project is built with Spring Boot and uses Apache Camel for its REST API.

To run this project use:

  1. start git server ( we are using gitlib. you can also use github)

  2. run the config-server

  3. run the Eureka-server

  4. run the hystrix-server

  5. run the zipking-server

  6. start the mongodb server ( mongod)

  7. start the application "Location" (from eclipse by runing spring-boot or using maven " mvn spring-boot:run")

  8. validate that the mongodb collection "Geocodings" was created 8.1) > show dbs 8.2) > use demo 8.3) > db.Geocodings.find()

  9. post a message { "list": [ { "geocodingId": null, "longitude": "-84.100033", "latitude": "33.969601", "address": "2651 Satellite Blvd, Duluth, GA 30096, USA" } ] }

  10. Data grid test (hazelcast)

  11. scaling location

  12. scaling the config-server

============== links ============================== Then navigate to http://localhost:8181/docs/index.html to see the Swagger documentation.

The health check url: http://localhost:8181/health hystrix:http://localhost:9023/ Eureka (service registry and discovery): http://localhost:8761/

orchestration : http://localhost:8086/1/33.969601/-84.100033/integration

-- actuator

https://location.apps.px-01.cf.t-mobile.com/health https://location.apps.px-01.cf.t-mobile.com/metrics https://location.apps.px-01.cf.t-mobile.com/beans https://location.apps.px-01.cf.t-mobile.com/configprops https://location.apps.px-01.cf.t-mobile.com/mappings https://location.apps.px-01.cf.t-mobile.com/env https://location.apps.px-01.cf.t-mobile.com

-- rest call https://localhost:8181/Location/api/ping https://localhost:8181/Location/api/location/latitude/33.969601/longitude/-84.100033 http://localhost:8181/1/33.969601/-84.100033/integration http://localhost:8181/Location/api/location/latitude/33.969601/longitude/-84.100033 http://localhost:8181/Location/api/location/latitude/33.969601/longitude/-84.100033 http://localhost:8181/docs/index.html

=================google key ============= google key: AIzaSyC8-Qu9AKJuP2HohE6pQUmk--R4KWMmkZU

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.