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

RAS-1228: Bug: Party service workers getting 139 SIGSEGV errors and restarting #963

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions _infra/helm/response-operations-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version
version: 3.1.85
version: 3.1.86

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 3.1.85
appVersion: 3.1.86
2 changes: 1 addition & 1 deletion response_operations_ui/controllers/party_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_business_by_ru_ref(ru_ref: str):
:raises ApiError: Raised if party returns a 4XX or 5XX status code.
"""
logger.info("Retrieving reporting unit", ru_ref=ru_ref)
url = f'{app.config["PARTY_URL"]}/party-api/v1/businesses/ref/{ru_ref}'
url = f'{app.config["PARTY_URL"]}/party-api/v1/businesses/ref/reporting-unit-only/{ru_ref}'
response = requests.get(url, auth=app.config["BASIC_AUTH"])

try:
Expand Down
2 changes: 1 addition & 1 deletion tests/controllers/test_party_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
delete_attributes_by_sample_summary_id_url = (
f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/attributes/sample-summary/{sample_summary_id}"
)
get_business_by_ru_ref_url = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/{ru_ref}"
get_business_by_ru_ref_url = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/reporting-unit-only/{ru_ref}"
get_business_by_id_url = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/id/"
get_respondents_by_survey_and_business_id_url = (
f"{TestingConfig.PARTY_URL}/party-api/v1/respondents/survey_id/{survey_id}/business_id/{business_id}"
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_change_response_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
url_get_collection_exercises_by_survey = (
f"{TestingConfig.COLLECTION_EXERCISE_URL}/collectionexercises/survey/{survey_id}"
)
url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/{ru_ref}"
url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/reporting-unit-only/{ru_ref}"
url_get_available_case_group_statuses = (
f"{TestingConfig.CASE_URL}" f"/casegroups/transitions/{collection_exercise_id}/{ru_ref}"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
iac_2 = "ljbgg3kgstr4"
message_thread = "/messages/threads/fb0e79bd-e132-4f4f-a7fd-5e8c6b41b9af"

url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/"
url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/reporting-unit-only/"
url_get_business_by_id = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/id/"
url_get_respondent_party_by_list = f"{TestingConfig.PARTY_URL}/party-api/v1/respondents?id={respondent_party_id}"
url_get_respondent_party_by_id = f"{TestingConfig.PARTY_URL}/party-api/v1/respondents/id/"
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_reporting_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
f"{TestingConfig.PARTY_URL}/party-api/v1/respondents/edit-account-status/" f"{respondent_party_id}"
)

url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/{ru_ref}"
url_get_business_by_ru_ref = f"{TestingConfig.PARTY_URL}/party-api/v1/businesses/ref/reporting-unit-only/{ru_ref}"
url_get_cases_by_business_party_id = f"{TestingConfig.CASE_URL}/cases/partyid/{business_party_id}"

url_get_collection_exercise_by_id = f"{TestingConfig.COLLECTION_EXERCISE_URL}/collectionexercises"
Expand Down
Loading