# springboot-plugin-development **Repository Path**: codepilipala/springboot-plugin-development ## Basic Information - **Project Name**: springboot-plugin-development - **Description**: 不停机动态装载插件 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-02 - **Last Updated**: 2023-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-plugin-development #### 介绍 不停机动态装载插件 #### 使用开发配置 ```` plugin: mainPackage: org.cmodel runMode: dev enablePluginIdRestPathPrefix: true # 调用插件,请求前缀 pluginRestPathPrefix: /p # 插件所在目录 pluginPath: - D:\projects\插拔组件\model-brick\plugins\example-plugin1 - D:\projects\插拔组件\model-brick\plugins\example-plugin2 spring: datasource: url: jdbc:mysql://0.0.0.0:4306/tractor-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&serverTimezone=GMT%2B8 driver-class-name: com.mysql.cj.jdbc.Driver username: root password: ***** mvc: pathmatch: matching-strategy: ant_path_matcher thymeleaf: enabled: true # prefix: templates suffix: .html mode: HTML encoding: utf-8 resources: static-locations: classpath:/static/,classpath:/templates/ logging: level: root: info ```` #### 请求插件接口 http://localhost:8080/p/plugin-example1/caller #### 请求主程接口 http://localhost:8080/show