ExpressGateway / express-gateway

A microservices API Gateway built on top of Express.js
https://www.express-gateway.io
Apache License 2.0
2.97k stars 347 forks source link

Spec: Admin: extend API to include policy config within pipeline #387

Closed altsang closed 7 years ago

DrMegavolt commented 7 years ago

apiPipeline

So API should not only configure policy but also have understanding position and pipeline name.

That is not the end. Policy contains condition\action pairs that need to be managed p2: [

OUT of scope: both of them have some schema to validate. (because it will make changes to plugin framework and introduce validation engine in the API, this could be 2 additional stories)

DrMegavolt commented 7 years ago

the solution https://tools.ietf.org/html/rfc6902 PATCH /pipelines/name

DrMegavolt commented 7 years ago

the new proposal doc https://docs.google.com/document/d/1qgeYckdTuoQE24wZrju40jef92nTeNO0nIQXyfsCA38/edit#