Compare commits

...

11 Commits

Author SHA1 Message Date
mirdono
bbcc6928e7 chore: bump frontend 2024-06-24 17:20:13 +02:00
mirdono
399387e301 chore: bump frontend 2024-06-21 18:22:40 +02:00
mirdono
07687f5e35 Merge branch 'master' into development 2024-06-21 18:06:39 +02:00
mirdono
d88adeee15 chore: bump construct-organization-relationship-service 2024-06-14 13:18:58 +00:00
mirdono
155162eb45 feat: added classification code for associations and corporations 2024-06-14 13:18:58 +00:00
mirdono
592b728611 Merge branch 'master' into development 2024-06-12 11:13:20 +02:00
Laurent Deketelaere
9db9d86609 Merge pull request #433 from lblod/fix/disable-kbo-organizations-cache
Disable cache on `/kbo-organizations/*`
2024-06-07 12:23:55 +02:00
Laurent Deketelaere
826a9cdf08 fix: Disable cache on /kbo-organizations/* 2024-06-07 11:39:55 +02:00
Laurent Deketelaere
d57eb0c20c Merge pull request #432 from lblod/fix/cache-organizations-route
Fix cache organizations route
2024-06-07 10:08:51 +02:00
Laurent Deketelaere
e6111fffff feat: Enable cache on domaine doutes 2024-06-06 15:40:20 +02:00
Laurent Deketelaere
cdb9bdb803 chore: Bump mu-cl-resources to 1.24.0 2024-06-06 15:31:51 +02:00
3 changed files with 33 additions and 10 deletions

View File

@@ -73,15 +73,15 @@ defmodule Dispatcher do
end
match "/organizations/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/organizations/"
Proxy.forward conn, path, "http://cache/organizations/"
end
match "/registered-organizations/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/registered-organizations/"
Proxy.forward conn, path, "http://cache/registered-organizations/"
end
match "/administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/administrative-units/"
Proxy.forward conn, path, "http://cache/administrative-units/"
end
match "/administrative-unit-classification-codes/*path", %{ accept: [:json], layer: :api} do
@@ -97,11 +97,11 @@ defmodule Dispatcher do
end
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
Proxy.forward conn, path, "http://cache/worship-administrative-units/"
end
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/worship-services/" # DISABLE CACHING FOR NOW (BUG OP-1404)
Proxy.forward conn, path, "http://cache/worship-services/"
end
match "/recognized-worship-types/*path", %{ accept: [:json], layer: :api} do
@@ -109,7 +109,7 @@ defmodule Dispatcher do
end
match "/central-worship-services/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/central-worship-services/"
Proxy.forward conn, path, "http://cache/central-worship-services/"
end
match "/representative-bodies/*path", %{ accept: [:json], layer: :api} do
@@ -125,7 +125,7 @@ defmodule Dispatcher do
end
match "/local-involvements/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/local-involvements/"
Proxy.forward conn, path, "http://cache/local-involvements/"
end
match "/identifiers/*path", %{ accept: [:json], layer: :api} do
@@ -227,6 +227,7 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/decision-activities/"
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/"
end

View File

@@ -0,0 +1,22 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX concept: <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
concept:3e5c8e30-95a7-47b0-b0a4-210d5bd440a7 a ext:GeregistreerdeOrganisatieClassificatieCode ;
a ext:OrganizationClassificationCode ;
mu:uuid "3e5c8e30-95a7-47b0-b0a4-210d5bd440a7" ;
skos:prefLabel "Vereniging" .
}
}
;
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
concept:b9ed22af-3661-4c3e-b07f-b641d80ebf61 a ext:GeregistreerdeOrganisatieClassificatieCode ;
a ext:OrganizationClassificationCode ;
mu:uuid "b9ed22af-3661-4c3e-b07f-b641d80ebf61" ;
skos:prefLabel "Vennootschap" .
}
}

View File

@@ -72,7 +72,7 @@ services:
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:1.23.0
image: semtech/mu-cl-resources:1.24.0
environment:
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
links:
@@ -181,7 +181,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.25.0
image: lblod/frontend-organization-portal:1.26.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -258,7 +258,7 @@ services:
restart: always
logging: *default-logging
construct-organization-relationships:
image: lblod/construct-organization-relationships-service:1.0.0
image: lblod/construct-organization-relationships-service:1.0.1
environment:
START_DATE_WORSHIP_GOVERNING_BODY: "2023-04-01T00:00:00"
END_DATE_WORSHIP_GOVERNING_BODY: "2026-03-31T00:00:00"