Backend changes for the tickets under OP-3668. Added the migrations shown in the ticket with added dct source. For the second ticket de mu-search indexing config was changed. (Notice for testing, you need to run scripts/reset-elastic.sh to test).
* Add municipalities of Brussels and remove province of addresses in Brussel
* Update changelog
* Add missing restart entry in Changelog
* Remove migrations creating municipalities of Brussels
- Added a migration to change (only for KboOrganisaties) all dates/strings for modified and startDate to dateTime according to comment in ticket
- Added a comment to remind to bump version of kbo-data-sync when the kbo-data-sync PR is merged.
- Added to changelog
The previously added migrations can create new aggregate location resources for
worship administrative units that have multiple locations as scope of
operation. While those migrations did insert a label for these new location
resources, the contained names are typically not sorted alphabetically as
`GROUP_CONCAT` does not provide guarantees on sorting.
This script allows to generate additional migrations to correct those labels.
Co-authored-by: @cecemel
Add migrations to set the initial scope of operation for worship administrative
units. These migrations work in several steps:
1. Extract the necessary relations between worship administrative units and
locations based on the rules provided by business and insert this data in a
temporary graph.
2. For worship administrative units related to only a single location. Simply
add the triple setting that location as its scope of operation.
3. For worship administrative units related to multiple locations. Create new
location resources that aggregates all locations linked to a single worship
administrative unit and set this new location resource as scope of operation.
4. Clear the temporary graph.