Git Product home page Git Product logo

spring-cloud-zuul's Introduction

Zuul - Spring Cloud

Zuul Server is an API Gateway application.

It handles all the requests and performs the dynamic routing of microservice applications. It works as a front door for all the requests.

Contents in the repo

This repo consist of the implementation of the Zuul API Gateway in Java.

This sample zuul-gateway based repository consists of the following modules:

  • gateway-service - a module that Spring Cloud Netflix Zuul for running Spring Boot application that acts as a proxy/gateway in our architecture.

This dependency should be added in pom.xml to enable the zuul gateway in the module.

<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
	</dependency>

This should be provided in application.properties of the module.

zuul.routes.doctor-service.url=http://localhost:8081/

zuul.routes.diagnosis-service.url=http://localhost:8082/

ribbon.eureka.enabled=false

server.port=8080

  • diagnosis-service - an API module that basically invokes services acknowlegded in diagnosis.

This should be provided in application.properties of the module.

spring.application.name=diagnosis-service

server.port=8081

  • hospital-service - an API module that basically shows and presents the services provided in hosspital arena.

This should be provided in application.properties of the module.

spring.application.name=doctor-service

server.port=8082

This Repository was built in :

  1. Spring Tool Suite - 4
  2. Eclipse 2022-12
  3. Java Version - 1.8
  4. JDK-17
  5. Zuul-Netflix Support/ Dependency

spring-cloud-zuul's People

Contributors

ayushkhodankar avatar

Stargazers

 avatar

Watchers

 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.