mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
refactor(core): migrate to standard Java ServiceLoader for plugins
Changes: - add new top level interface `Plugin` - add new `JsonDeserializer` aware of the `PluginRegistry` - add new annotation processor for plugin - migrate to hibernate-validator for the JSR-303 (no bean introspection dependencies) - update all Validation annotations to be complitant with the JSR-303 - remove all KestraApplicationContext stuffs - fix some tests part-of: kestra-io/plugin-template-test#25 part-of: kestra-io/plugin-serdes#103
This commit is contained in:
committed by
Florian Hussonnois
parent
65d7e7c949
commit
56884d5a72
@@ -17,7 +17,6 @@ import io.kestra.core.services.*;
|
||||
import io.kestra.core.tasks.flows.ForEachItem;
|
||||
import io.kestra.core.tasks.flows.Template;
|
||||
import io.kestra.core.utils.Either;
|
||||
import io.micronaut.context.ApplicationContext;
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.inject.Named;
|
||||
import jakarta.inject.Singleton;
|
||||
|
||||
@@ -7,6 +7,6 @@ kestra:
|
||||
type: local
|
||||
local:
|
||||
base-path: /tmp/unittest
|
||||
worker:
|
||||
server:
|
||||
liveness:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user