diff --git a/CHANGELOG.md b/CHANGELOG.md index af2dd66..93148f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + ## Unreleased - Added service to link addresses to addressregister uris [OP-3795] - Derive an organization's reference region(s) from its werkingsgebied; bump scope-of-operation to 0.2.0 [OP-3799] @@ -12,6 +13,9 @@ - Added "werkingsgebied" filter [OP-3812] - Inhoudelijk thema [OP-3817] - Werkingsgebied (dct:spatial) for private OCMW associations [OP-3832] +- Add a new "Wijkkantoor" site type [OP-3837] +- cleanup local involvement herne [OP-3858] +- Search organizations by vendor [OP-3808] - Add organization types "Regionaal zorgplatform" (altLabel "Regionale zorgzone") and residual "Andere" [OP-3844] - Move organizations from "Vereniging algemeen" / "Vennootschap algemeen" to "Andere"; delete those codes [OP-3844] - Bump construct-organization-relationships [OP-3844] @@ -34,18 +38,11 @@ drc restart migrations drc restart resource cache drc restart delta-producer-publication-graph-maintainer scripts/reset-elastic.sh -``` -``` drc restart migrations frontend db resource cache # reindex elastic search: /bin/bash scripts/reset-elastic.sh -``` - -``` drc restart migrations search drc up -d frontend -# reindex elastic search: -/bin/bash scripts/reset-elastic.sh ``` ``` @@ -57,6 +54,14 @@ drc up -d frontend drc restart cache resource ``` +## v1.41.0 + - added explicit healtchecks [DL-7466] + +### Deploy notes +``` +drc restart dispatcher +``` + ## v1.40.0 - Query to check missing address URI's [OP-3784] - Create new query 'organisations shown in OP frontend' in Dashboard [OP-3774] diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index b92cbef..1890123 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -235,6 +235,10 @@ defmodule Dispatcher do Proxy.forward(conn, path, "http://cache/membership-roles/") end + match "/vendors/*path", %{accept: [:json], layer: :api} do + Proxy.forward(conn, path, "http://cache/vendors/") + end + # There is currently no logic to invalidate the kboOrganization cache when wegwijse updates the content match "/kbo-organizations/*path", %{accept: [:any], layer: :api} do Proxy.forward(conn, path, "http://resource/kbo-organizations/") @@ -507,6 +511,14 @@ defmodule Dispatcher do # forward(conn, path, "http://db:8890/sparql/") # end + ################################################################# + # Health checks + ################################################################# + + get "/health/accounts", %{layer: :api} do + Proxy.forward(conn, [], "http://resource/accounts/") + end + ############################################################### # errors ############################################################### diff --git a/config/migrations/2026/20260728160900-add-site-type-wijkkantoor-pz.sparql b/config/migrations/2026/20260728160900-add-site-type-wijkkantoor-pz.sparql new file mode 100644 index 0000000..9b8ecc5 --- /dev/null +++ b/config/migrations/2026/20260728160900-add-site-type-wijkkantoor-pz.sparql @@ -0,0 +1,10 @@ +INSERT DATA { + GRAPH { + . + "Wijkkantoor" . + "eeaf623d-9629-4de3-9c37-2dbb132b13d8" . + . + . + . + } +} \ No newline at end of file diff --git a/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql b/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql new file mode 100644 index 0000000..e05ae45 --- /dev/null +++ b/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql @@ -0,0 +1,35 @@ +DELETE WHERE { + graph { + ?p ?o. + } +} + +; + +DELETE WHERE { + graph { + . + } +} + +; + +DELETE { + GRAPH ?g { + ?localInvolvementPajottegem ?percentage. + } +} +INSERT { + GRAPH ?g { + ?localInvolvementPajottegem 100. + } +} +WHERE { + BIND( AS ?g) + GRAPH ?g { + ?localInvolvementPajottegem ?percentage. + } + VALUES ?localInvolvementPajottegem { + + } +} diff --git a/config/search/config.json b/config/search/config.json index f12e559..a670458 100644 --- a/config/search/config.json +++ b/config/search/config.json @@ -705,6 +705,10 @@ "operation_area_spatial": [ "http://purl.org/dc/terms/spatial", "http://www.w3.org/2000/01/rdf-schema#label" + ], + "vendor": [ + "^http://mu.semte.ch/vocabularies/account/canActOnBehalfOf", + "http://mu.semte.ch/vocabularies/core/uuid" ] }, "mappings": { @@ -834,6 +838,9 @@ "normalizer": "custom_sort_normalizer" } } + }, + "vendor": { + "type": "keyword" } } } diff --git a/docker-compose.yml b/docker-compose.yml index 88e8263..fa35bb6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -215,7 +215,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.40.3 + image: lblod/frontend-organization-portal:1.40.4 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: