Hi,

I just did an attempt to lift out the JWT auth plugin from solr-core into its 
own contrib [1] and it wasn't too hard. 
I think it gives much better insight into the dependency situation and nice to 
have a separate solr-jwt-auth-9.0.0.jar
This is also a first step towards converting it to a proper package, this needs 
to be done first in any case.

I think there are lots of pieces of code in solr-core that can easily be 
extracted the same way. 
Some perhaps even for 9.0.0, as it slims down the core and reduces attack 
surface for most users as well.

To aid in the process I hacked a python tool that scaffolds a new contrib 
module [2].
Go give it a spin and see where YOU can un-bloat Solr-core today :)

Related to this I also suggest [3] to make it easier to add contribs to 
classpath when starting Solr. I think users would love it :)
That was inspired by solrOptions.solrModules in Solr's helm-chart for 
Kubernetes [4]

[1] https://github.com/apache/solr/pull/518
[2] https://github.com/apache/solr/pull/519
[3] https://issues.apache.org/jira/browse/SOLR-15914
[4] https://artifacthub.io/packages/helm/apache-solr/solr#running-solr

Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to