Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jm-gateway

jm-root3MIT1.0.2

api gateway using jm-server

javascript, gateway

readme

jm-gateway

api gateway using jm-server

配置参数

基本配置 请参考 [jm-server] (https://github.com/jm-root/jm-server)

config 请参考 [jm-server-config] (https://github.com/jm-root/jm-server-config)

sso 请参考 [jm-server-sso] (https://github.com/jm-root/jm-server-sso)

acl 请参考 [jm-server-acl] (https://github.com/jm-root/jm-server-acl)

config_root_server ['gateway'] Config服务器root

disableSSO 是否禁止SSO插件, 默认不禁止, 判断是否登录用户

disableACL 是否禁止ACL插件, 默认不禁止, 判断是否允许访问

工作流程

访问sso, 判断是否登录用户

访问acl, 判断是否允许访问

转发请求

changelog

History

  • 1.0.2 / 2017-05-27
  • 1.0.1 / 2017-04-18

1.0.2 / 2017-05-27

1.0.1 / 2017-04-18

  • created