1 Star 0 Fork 31

熊枭 / magic-api-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

magic-api-plugin

介绍

magic-api插件基于magic-api的扩展接口进行增强实现。可快速集成 ,无侵入,无耦合,让你原有的magic-api服务更安全更强大。通过配置开关按需加载。

软件架构

软件架构说明

  1. 安全插件
  • 全局限流和单个接口限流
  • IP白名单
  • 第三方接口对接鉴权
  • 多用户登录及用户授权
  1. 集群插件
  • 集群监控状态
  • 集群实例信息监听和同步
  • 服务资源占用报警
  1. 微服务插件
  • 支持rpc接口调用
  • 本地负载均衡
  • 服务降级

使用教程

  1. 在引入magic-api的pom工程中,引入插件依赖
  2. 在配置文件中进行配置开关启用
#如开启限流插件
magic-plugin.limiter.enable=true

使用说明

  1. 安全插件
         <dependency>
            <groupId>org.d8s</groupId>
            <artifactId>magic-api-plugin-security-starter</artifactId>
            <version>1.1.1</version>
        </dependency>
       
  1. 集群插件
        <dependency>
            <groupId>org.d8s</groupId>
            <artifactId>magic-api-plugin-cluster-starter</artifactId>
            <version>1.1.1</version>
        </dependency>
  1. 微服务插件(开发中)
        <dependency>
            <groupId>org.d8s</groupId>
            <artifactId>magic-api-plugin-cloud-starter</artifactId>
            <version>1.1.1</version>
        </dependency>
MIT License Copyright (c) 2021 冰点 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

magic-api插件 基于magic-api的扩展接口进行增强实现。可快速集成 ,无侵入,无耦合,让你原有的magic-api服务更安全更强大。通过配置开关按需加载。 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xiongxcodes/magic-api-plugin.git
git@gitee.com:xiongxcodes/magic-api-plugin.git
xiongxcodes
magic-api-plugin
magic-api-plugin
master

搜索帮助