Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated /residents and removed open-zaak healthcheck #1213

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions app/apps/addresses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ def residents_by_bag_id(self, request, bag_id):
# If no nummeraanduiding_id, get it!
if not address.nummeraanduiding_id:
try:
address.search_and_set_bag_address_data()
address.search_and_set_bag_nummeraanduiding_id()
address.update_bag_data()
except Exception:
return Response(
{"error": "BAG data could not be obtained"},
Expand All @@ -91,7 +90,7 @@ def residents_by_bag_id(self, request, bag_id):
except Exception:
return Response(
{"error": "BRP data could not be obtained"},
status=status.HTTP_500_INTERNAL_SERVER_ERROR,
status=status.HTTP_403_FORBIDDEN,
)

return Response(
Expand Down
11 changes: 4 additions & 7 deletions app/apps/health/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class HealthConfig(AppConfig):
name = "apps.health"

def ready(self):
from .health_checks import (
from .health_checks import ( # OpenZaakZaken,; OpenZaakZakenAlfresco,; OpenZaakZakenCatalogus,
BAGAtlasServiceCheck,
BAGNummeraanduidingenServiceCheck,
BAGVerblijfsobjectServiceCheck,
Expand All @@ -15,9 +15,6 @@ def ready(self):
CeleryExecuteTask,
DecosJoinCheck,
KeycloakCheck,
OpenZaakZaken,
OpenZaakZakenAlfresco,
OpenZaakZakenCatalogus,
PowerBrowser,
Toeristischeverhuur,
)
Expand All @@ -30,9 +27,9 @@ def ready(self):
plugin_dir.register(CeleryExecuteTask)
plugin_dir.register(DecosJoinCheck)
plugin_dir.register(KeycloakCheck)
plugin_dir.register(OpenZaakZaken)
plugin_dir.register(OpenZaakZakenAlfresco)
plugin_dir.register(OpenZaakZakenCatalogus)
# plugin_dir.register(OpenZaakZaken)
# plugin_dir.register(OpenZaakZakenAlfresco)
# plugin_dir.register(OpenZaakZakenCatalogus)
plugin_dir.register(PowerBrowser)
plugin_dir.register(Toeristischeverhuur)
# plugin_dir.register(VakantieVerhuurRegistratieCheck)
Loading