Skip to content

Dra 1788 load solrshield for each collection#73

Open
davidgrove73 wants to merge 10 commits intomasterfrom
DRA-1788-load-solrshield-for-each-collection
Open

Dra 1788 load solrshield for each collection#73
davidgrove73 wants to merge 10 commits intomasterfrom
DRA-1788-load-solrshield-for-each-collection

Conversation

@davidgrove73
Copy link
Copy Markdown
Contributor

Enable SolrShield to be loaded per collection with seperate configurations.
The following has been implemented:

  • Decoupling the SolrShield config from the rest of the ds-discover config
  • Refactored SolrShield from static utility class to instance class
  • Add logic to per collection instaciation of SolrShield in SolrManager
  • Removed the global extraAllowedParameters (not quite sure about this).

Static delegate methods preserved for backwards compatibility.
Decouples Profile from ServiceConfig. The passthrough list is now part
of the shield YAML, read by Profile directly.
Remove static SolrShield.ensureConfig() from ContextListener. Add
per-collection shield tests with permissive and restrictive configs.
New standalone ds-solrshield.yaml replaces the embedded solr.shield
section. Collection config now references it via the shield key.
Add defType to params in SearchComponent.java
Enable load of solrshield
Remove global extraAllowParameters and the global filter logic, and replace with a per collection filter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant