feat: added paths for registered organizations

This commit is contained in:
mirdono
2024-05-13 14:51:08 +02:00
committed by Alexander van den Berghe
parent dd3cbc16e8
commit 994c26b58d

View File

@@ -76,6 +76,10 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://resource/organizations/"
end
match "/registered-organizations/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/registered-organizations/"
end
match "/administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/administrative-units/"
end
@@ -88,6 +92,10 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/organization-classification-codes/"
end
match "/registered-organization-classification-codes/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/registered-organization-classification-codes/"
end
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
end