Coder Social home page Coder Social logo

api-gateway-spring-security's Introduction

API Gateway Pattern

alt text

alt text

Theory

  • todo pattern description

Features

Swagger Support

TODO

Routing: Spring Cloud Netflix Zuul Support

From Spring Cloud docs: Routing in an integral part of a microservice architecture. For example, / may be mapped to your web application, /api/users is mapped to the user service and /api/shop is mapped to the shop service. Zuul is a JVM based router and server side load balancer by Netflix.

Netflix uses Zuul for the following:

  • Authentication
  • Insights
  • Stress Testing
  • Canary Testing
  • Dynamic Routing
  • Service Migration
  • Load Shedding
  • Security
  • Static Response handling
  • Active/Active traffic management

Zuul have 4 types of filters:

  • pre filters are executed before the request is routed,
  • route filters can handle the actual routing of the request,
  • post filters are executed after the request has been routed, and
  • error filters execute if an error occurs in the course of handling the request

Tutorials: https://spring.io/guides/gs/routing-and-filtering/

In dev...Stay tuned.

Oauth2 Support

In dev...

http://projects.spring.io/spring-security-oauth/docs/oauth2.html

Best practices

https://www.nginx.com/blog/microservices-api-gateways-part-1-why-an-api-gateway/ https://apigee.com/about/blog/taglist/restful-api-design https://piotrminkowski.wordpress.com/2017/04/14/microservices-api-documentation-with-swagger2/

Other

https://en.wikipedia.org/wiki/OpenAPI_Specification https://github.com/Netflix/zuul/wiki/How-it-Works

api-gateway-spring-security's People

Contributors

tenshun avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kdheeraj1502

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.