93 Star 454 Fork 187

StarBlues / springboot-plugin-framework

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

SpringBoot Plugin Development Framework

Introduce

This framework can develop plugins for extension projects on the SpringBoot project, and can define extension functions such as interface, static file and Mybatis-xml separately in the plugin module.

Core

  • Based on Pf4j development.
  • Plugin configuration plug in SpringBoot project.
  • Plugin development can be carried out on springboot with strong expansibility. Different plugins can be developed for different projects and different plugin jar packages can be deployed.
  • You can specify whether to enable or disable plugins through the configuration file, and you can specify the order in which plugins are started.
  • It supports uploading plugins and plugin configuration files to the server, and dynamically deploying and updating plugins without restarting the main program.
  • It supports viewing plugin operation status and plugin installation location.
  • Without restarting the main program, dynamically install, uninstall, enable, stop, backup and delete plugins through the interface.
  • On the plugin application module, spring annotations can be used to define components for dependency injection.
  • Supports the development of Http-Restful interfaces in plugins
  • Support to define persistence layer access and other requirements separately in the plugin.
  • You can follow the plugin interface provided by the main program to develop any extended functions.
  • It supports annotation for any business scenario extension, and uses defined coordinates for scenario hit.
  • Plugin can customize independent configuration files according to the production and development environment. Currently only YML files are supported.
  • It supports user-defined extension development interface, and users can extend additional functions on the reserved interface.
  • Supports method calls between plugins.
  • Supporting plugin http interface documentation: SwaggerSpringDoc
  • The plugin supports custom development of the 'Spring-MVC interceptor`.

Expansion pack

SpringBoot-Mybatis Expansion

  1. Supports customizing the mapper interface, mapper XML and the corresponding entity Bean in the plugin
  2. Support integration MybatisMybatis-PlusTk-Mybatis
  3. Supports independent configuration of DataSources in plugin

Static resource access Extension

  1. Supports accessing static resources in plugins through HTTP
  2. Support Thymeleaf template engine for interface plugin development

Plugin Log Extension

  1. The plugin can independently configure the integrated logback log
  2. The plugin can independently configure the integrated log4j2 log

Environment

  1. jdk1.8+d
  2. apache maven 3.6+
  3. spring-boot 2.0.0+

Maven repository

https://mvnrepository.com/artifact/com.gitee.starblues/springboot-plugin-framework

Doc

Derivative products

Background management system with front and rear plugin function

ETL Tool

Example

Contact

QQ: 859570617(After you like the framework, you can enter the group. Please note the Gitee/GitHub nickname before entering the group)

Framework maintenance

Welcome all development enthusiasts to participate in the maintenance and extension development of the framework

See for extended development documents: - springboot-plugin-framework Extended

Comments ( 96 )

Sign in for post a comment

About

SpringBoot扩展: 框架可快速集成到SpringBoot中, 可拓展出插件功能, 在插件中开发接口,业务,持久层访问等功能 spread retract
Cancel

Releases (6)

All

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/starblues/springboot-plugin-framework-parent.git
git@gitee.com:starblues/springboot-plugin-framework-parent.git
starblues
springboot-plugin-framework-parent
springboot-plugin-framework
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385