Code Monkey home page Code Monkey logo

spring-cloud-netflix-proxy-apis's Introduction

spring-cloud-netflix-proxy-apis

Criando proxy de APIs com Spring cloud, Zuul e Eureka

Pré requisito

  • Maven 3
  • Java 8

Preparando ambiente

  • cd spring-cloud-netflix-proxy-apis
  • mvn clean package

Executando

Service Discovery (Eureka)

  • cd eureka
  • mvn spring-boot:run

Proxy (Zuul)

  • cd zuul
  • mvn spring-boot:run

API de Customers

  • cd customers
  • mvn spring-boot:run

API de Products

  • cd products
  • mvn spring-boot:run

Acessando Eureka: http://localhost:8761

Instances currently registered with Eureka

Application	AMIs	Availability Zones	Status
CUSTOMERS	n/a (1)	(1)	UP (1) - 192.168.11.247:customers:8060
PRODUCTS	n/a (1)	(1)	UP (1) - 192.168.11.247:products:8070
ZUUL	      n/a (1)	(1)	UP (1) - 192.168.11.247:zuul:8080

Acessando APIs

Diretamente

Via Proxy (Zuul)

spring-cloud-netflix-proxy-apis's People

Contributors

emmanuelneri avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.