Git Product home page Git Product logo

springboot-dynamic's Introduction

使用文档

1、下载源码

2、安装依赖

使用 mvn install将springboot-dynamic-core模块安装到本地maven仓库

3、引入依赖

再需要扩展的springboot项目中引入如下依赖
<dependency>
      <groupId>com.rdpaas</groupId>
      <artifactId>springboot-dynamic-core</artifactId>
      <version>1.0.0-BASE-SNAPSHOT</version>
</dependency>

4、配置动态扩展包URL和扩展接口swagger扫描包

#这是扩展包的地址,是个URL
dynamic.jar=file:D:\\source\\github\\springboot-dynamic\\springboot-dynamic-demo-ext\\target\\springboot-dynamic-demo-ext-1.0.0-BASE-SNAPSHOT.jar
#这是扩展包的swagger接口扫描包
dynamic.swagger.doc.package=com.rdpaas.demo.ext.controller

5、打开扩展开关

@EnableDynamic

6、模块说明

springboot-dynamic-core 动态扩展核心依赖包
springboot-dynamic-demo 待扩展的springboot示例项目
springboot-dynamic-demo-ext 示例项目的示例扩展包

springboot-dynamic's People

Contributors

rongdi avatar

Watchers

James Cloos 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.