Commit graph

6 commits

Author SHA1 Message Date
Mark Vieira
a59c182f9f
Add AGPLv3 as a supported license 2024-09-13 15:29:46 -07:00
Przemyslaw Gomulka
f7ac79f346
[Stable plugin api] Clean up comments and variable names in gradle (#93501)
in example plugins a pluginApiVersion is more appropriate than elasticsearchVersion as it better implies that it can be different then the version of ES cluster
2023-02-21 15:45:05 +01:00
Przemyslaw Gomulka
23ff4afb9d
[Stable plugin api] update stable api example plugin after package rename (#92908)
the package name in stable api has changed in this PR #92905
this commits changes the package names to allow compilation
2023-01-16 16:11:50 +01:00
Przemyslaw Gomulka
742c6f3f8b
Example stable plugins with settings (#92334)
New stable plugins example with injected settings.
Plugin developer creates an interface and annotates it with @AnalysisSettings.
The constructor in a plugin component (annotated with @NamedComponent) has to be annotated with @Inject
Upon plugin component creation an implementation of the interface will be created - a dynamic proxy - which will delegate methods from interface to properties in a Settings instance.
This PR introduces an example of using all currently supported types : int, long, double, string and list (of strings)
relates ##88980
2023-01-11 18:04:14 +01:00
Przemyslaw Gomulka
73ad49ac51
Rename NamedComponent name parameter to value (#91306)
to allow @NamedComponent("name") syntax java annotation should have single value annotation

relates #88980
2022-11-04 14:20:44 +01:00
Przemyslaw Gomulka
25fc5c2af1
Example stable plugin (#90805)
Add example stable plugin. This example plugin creates and tests
some trivial analysis components. Once we implement settings for
stable plugins, we will be able to make the example plugin a little bit
more interesting.

Co-authored-by: William Brafford <william.brafford@elastic.co>
2022-10-26 09:42:46 -04:00