Closed rosiel closed 2 years ago
Yeah, it appears that configure_islandora_defaults currently only sets search_api. Its actions can probably be rolled into configure_search_api_solr_module.
Half-tempted to suggest making things more atomic, splitting up the functions between enabling and configuring things, as with the --existing-config
it's somewhat expected that there should be no other modules enabled.
... really, might be nice to avoid changing the configuration proper with provisioned/environment specifics (as in, that which is imported/exported) in all cases by using Drupal's configuration override mechanism.
I'm gonna make a new issue for the "avoid changes to configuration" thing.
@rosiel, okay to close with the merged PR?
Nope. Needs
relevant PR: https://github.com/Islandora-Devops/isle-dc/pull/308
The Solr URL configuration is not being set.
It appears to be because the lines that do this are skipped when you're not using Islandora Defaults.
As far as I can tell, the call stack is:
make starter_dev
(orstarter
) calls (make
)hydrate
make hydrate
calls (make
)update-config-from-environment
make update-config-from-environment
callsconfigure_islandora_default_module
which is a function available in the Drupal container, presumably copied fromisle-buildkit/drupal/rootfs/etc/islandora/utilities.sh
isle-buildkit/drupal/rootfs/etc/islandora/utilities.sh
'sconfigure_islandora_default_module
does the Solr URL config.Is the solution as simple as moving those lines to the function below,
configure_search_api_solr_module
?@seth-shaw-asu @adam-vessey