Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbcc6928e7 | ||
|
|
399387e301 | ||
|
|
07687f5e35 | ||
|
|
d88adeee15 | ||
|
|
155162eb45 | ||
|
|
592b728611 | ||
|
|
9db9d86609 | ||
|
|
826a9cdf08 | ||
|
|
d57eb0c20c | ||
|
|
e6111fffff | ||
|
|
cdb9bdb803 |
@@ -73,15 +73,15 @@ defmodule Dispatcher do
|
|||||||
end
|
end
|
||||||
|
|
||||||
match "/organizations/*path", %{ accept: [:json], layer: :api} do
|
match "/organizations/*path", %{ accept: [:json], layer: :api} do
|
||||||
Proxy.forward conn, path, "http://resource/organizations/"
|
Proxy.forward conn, path, "http://cache/organizations/"
|
||||||
end
|
end
|
||||||
|
|
||||||
match "/registered-organizations/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/administrative-units/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/administrative-unit-classification-codes/*path", %{ accept: [:json], layer: :api} do
|
match "/administrative-unit-classification-codes/*path", %{ accept: [:json], layer: :api} do
|
||||||
@@ -97,11 +97,11 @@ defmodule Dispatcher do
|
|||||||
end
|
end
|
||||||
|
|
||||||
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/recognized-worship-types/*path", %{ accept: [:json], layer: :api} do
|
match "/recognized-worship-types/*path", %{ accept: [:json], layer: :api} do
|
||||||
@@ -109,7 +109,7 @@ defmodule Dispatcher do
|
|||||||
end
|
end
|
||||||
|
|
||||||
match "/central-worship-services/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/representative-bodies/*path", %{ accept: [:json], layer: :api} do
|
match "/representative-bodies/*path", %{ accept: [:json], layer: :api} do
|
||||||
@@ -125,7 +125,7 @@ defmodule Dispatcher do
|
|||||||
end
|
end
|
||||||
|
|
||||||
match "/local-involvements/*path", %{ accept: [:json], layer: :api} do
|
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
|
end
|
||||||
|
|
||||||
match "/identifiers/*path", %{ accept: [:json], layer: :api} do
|
match "/identifiers/*path", %{ accept: [:json], layer: :api} do
|
||||||
@@ -227,6 +227,7 @@ defmodule Dispatcher do
|
|||||||
Proxy.forward conn, path, "http://cache/decision-activities/"
|
Proxy.forward conn, path, "http://cache/decision-activities/"
|
||||||
end
|
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
|
match "/kbo-organizations/*path", %{ accept: [:any], layer: :api} do
|
||||||
Proxy.forward conn, path, "http://resource/kbo-organizations/"
|
Proxy.forward conn, path, "http://resource/kbo-organizations/"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -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" .
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -72,7 +72,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
resource:
|
resource:
|
||||||
image: semtech/mu-cl-resources:1.23.0
|
image: semtech/mu-cl-resources:1.24.0
|
||||||
environment:
|
environment:
|
||||||
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
|
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
|
||||||
links:
|
links:
|
||||||
@@ -181,7 +181,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
frontend:
|
frontend:
|
||||||
image: lblod/frontend-organization-portal:1.25.0
|
image: lblod/frontend-organization-portal:1.26.0
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||||
environment:
|
environment:
|
||||||
@@ -258,7 +258,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
construct-organization-relationships:
|
construct-organization-relationships:
|
||||||
image: lblod/construct-organization-relationships-service:1.0.0
|
image: lblod/construct-organization-relationships-service:1.0.1
|
||||||
environment:
|
environment:
|
||||||
START_DATE_WORSHIP_GOVERNING_BODY: "2023-04-01T00:00:00"
|
START_DATE_WORSHIP_GOVERNING_BODY: "2023-04-01T00:00:00"
|
||||||
END_DATE_WORSHIP_GOVERNING_BODY: "2026-03-31T00:00:00"
|
END_DATE_WORSHIP_GOVERNING_BODY: "2026-03-31T00:00:00"
|
||||||
|
|||||||
Reference in New Issue
Block a user