Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PL-47: D8 domain map #14

Closed
wants to merge 16 commits into from
Closed

Conversation

damontgomery
Copy link
Contributor

@damontgomery damontgomery commented Jan 4, 2019

JIRA Ticket(s)

Description

Update the Drupal 8 Domain site to use a mapped field from palantirnet/search_api_field_map#4.

This requires palantirnet/search_api_field_map#4 to be merged and is built on top of #13.

Testing instructions

Relevant Screenshots/gifs:

example

After updating logged in to domain two:

domain-two

sites

Remaining tasks

Update the d8-domain site's composer.json once palantirnet/search_api_field_map#4 is merged. Until then, that branch needs to be checked out locally.


Pull Request Guidelines

damontgomery and others added 16 commits January 2, 2019 14:28
- Use the `fs-demo` domain for all sites and use different subdomains.
- Create a config split for the Domain Access solr index so that the site name can be different. See `field_settings.site_name.configuration.site_name`.
- Create a config split for the Domain Access solr settings so that the hash can be different. Otherwise the document keys are the same and overwrite each other. See `site_hash`.
This allows config overrides for Domain Access to take into affect and avoids overwriting of Solr documents because of identical IDs.
The Domain Access check to see if `drush si` is being used wasn't working. This approach uses a pre-install settings.php file and a post-install file with the Domain Access include.
…en installing all sites.

The `build.drupal.settings_dest` is set when the library is loaded, but it needs to change based on the site, so we pass those parameters in when we call `drupal-prepare-settings`.
It's not really `Domain Access`, but `Domain`.
TODO: Update the composer files to load the newest version once the module is updated.
@damontgomery
Copy link
Contributor Author

Closing until palantirnet/search_api_field_map#4 is merged and this can be updated.

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.

2 participants