Git Product home page Git Product logo

porton's Introduction

Portón (Gate in spanish)

Portón is an opinionated API Gateway based on krakend which includes a set of plugins to integrate with the Infratographer services. The plugins are to be added in the near future.

Currently, this is based on krakend enterprise, so make sure you have a license file before running this.

Defaults

Portón comes with Krakend's flexible configuration enabled by default [1].

Plugins are built and copied into the resulting container image. The directory containing the plugins is /opt/krakend/plugins.

The base krakend configuration and directories for the flexible configuration are not included in the image. They are expected to be mounted into the container at runtime or built into an extended all-in-one image.

porton plugin

The porton plugin is a krakend plugin that provides authorization services for the Infratographer services. It is built from the source in the plugin directory.

It takes the following configuration options:

  • authz_service: The URL of the auth service.
  • authz_service.endpoint: The endpoint of the auth service.
  • authz_service.timeout: The timeout for the auth service call in milliseconds. (default: 1000)
  • action: The action to validate against the auth service.
  • tenant_source: The source of the tenant ID. Can be header or path. (default: path)
  • tenant_header: The header to use for the tenant ID. (default: X-Tenant-ID)

References

porton's People

Contributors

jaormx avatar renovate[bot] 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.