sbp icon indicating copy to clipboard operation
sbp copied to clipboard

Plugin framework for Spring Boot based on pf4j.

Results 13 sbp issues
Sort by recently updated
recently updated
newest added

### Dfficalties: * `PluginResourceHandlerRegistrationCustomizer` changes a lot between Spring boot versions. * DemoApp 3th patry libs version changes. * Flyway * Gradle version requirement changes. ### SOLUTION 1: * Make...

enhancement

Front End modularization How to achieve?

discussion

I'm testing the `deployment` runtime-mode. Main App finds plugin jar that I put in plugins folder, but it fails when it tries to switch plugin state from RESOLVED to STARTED...

enhancement

I've tried the prop in application-context `spring.sbp.custom-plugin-loaders`. It appends custom loaders to the list of pre-existing loaders. So custom loaders can't apply for files with extension .zip or .jar, because...

enhancement
discussion

Hello, I get the follow error message: ``` The bean 'resourceHandlerRegistrationCustomizer', defined in class path resource [org/laxture/sbp/spring/boot/SbpMvcPatchAutoConfiguration.class], could not be registered. A bean with that name has already been defined...

例如 我插件plugins-a 我想他的所有接口都是以/plugins-a开头 但是我并不想在每个controller里面都写/plugins-a/xxx/xxx

作者您好有一个错误,不知道原因出在哪里。 调用PluginMangaer.startPlugin(pluginId)方法时报错,这个错误是偶发的,不是每次都报错。 ![企业微信截图_16995991103366](https://github.com/hank-cp/sbp/assets/50198003/26238bc5-a939-41a3-85c9-e946b46af8d9)

具体不爽的点: 1. 如果想使用spring实现一套插件,明明只需要使用spring context即可,为什么要费这么大劲要用springboot来实现,new annotation application context应该更简单 2. SpringBootstrap类里列举了这么多auto configuration需要排除,真的 看到这个类我心都凉了半截。有没有一种可能,就是,咱只要用简单的spring context就不需要操心这些 3. 明明p4j提供了明确的classloader加载顺序规范(`ClassLoadingStrategy`),我实现的时候也没有用这套。但是SpringBootPluginClassLoader这个类实现的真丑,明明内部loadClass可以按约定先平台、后插件jar,居然还提供pluginFirstClasses让调用者关心细节。SpringBootstrap也没有指定父容器的classLoader 新项目已经被我重新实现了,仍然是spring+p4j,如果想看我也可以放出源码

discussion

Thank you for your response, I have been able to start the plugin and have access to the endpoint inside the plugin. but pls can you explain how I can...

help wanted

Hello, I'm currently interested in integrating [htmx-spring-boot](https://github.com/wimdeblauwe/htmx-spring-boot); it's a set of helpers to work with `htmx` and avoid some boilerplate, the library provides a custom class that extends `RequestMappingHandlerMapping` for...