diff --git a/colin-api/Makefile b/colin-api/Makefile index 5907c7db5f..34655d8a39 100644 --- a/colin-api/Makefile +++ b/colin-api/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install --upgrade pip ;\ diff --git a/data-reset-tool/Makefile b/data-reset-tool/Makefile index 6e4239de90..de465ae8c0 100644 --- a/data-reset-tool/Makefile +++ b/data-reset-tool/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/data-tool/Makefile b/data-tool/Makefile index 2f06de42f6..3f89133a98 100644 --- a/data-tool/Makefile +++ b/data-tool/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.11 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install --upgrade pip ;\ diff --git a/jobs/email-reminder/Makefile b/jobs/email-reminder/Makefile index 22897fb5fb..a7b7caaa8d 100644 --- a/jobs/email-reminder/Makefile +++ b/jobs/email-reminder/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/jobs/filings-notebook-report/Makefile b/jobs/filings-notebook-report/Makefile index 546a377190..bcbee6e9dd 100644 --- a/jobs/filings-notebook-report/Makefile +++ b/jobs/filings-notebook-report/Makefile @@ -49,7 +49,7 @@ build-req: clean ## Upgrade requirements pip install -Ur requirements/prod.txt ;\ pip freeze | sort > requirements.txt ;\ -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==21.1.2 ;\ diff --git a/jobs/furnishings/Makefile b/jobs/furnishings/Makefile index 155740a64d..85dd661960 100644 --- a/jobs/furnishings/Makefile +++ b/jobs/furnishings/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/jobs/future-effective-filings/Makefile b/jobs/future-effective-filings/Makefile index df58e7e9fd..35ea50165d 100644 --- a/jobs/future-effective-filings/Makefile +++ b/jobs/future-effective-filings/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/jobs/involuntary-dissolutions/involuntary_dissolutions.py b/jobs/involuntary-dissolutions/involuntary_dissolutions.py index b322e7da45..c8c19a36b8 100644 --- a/jobs/involuntary-dissolutions/involuntary_dissolutions.py +++ b/jobs/involuntary-dissolutions/involuntary_dissolutions.py @@ -27,6 +27,7 @@ from legal_api.services.flags import Flags from legal_api.services.involuntary_dissolution import InvoluntaryDissolutionService from legal_api.services.queue import QueueService +from sentry_sdk import capture_message from sentry_sdk.integrations.logging import LoggingIntegration from sqlalchemy import Date, cast, func from sqlalchemy.orm import aliased @@ -118,6 +119,10 @@ async def put_filing_on_queue(filing_id: int, app: Flask, qsm: QueueService): await qsm.publish_json_to_subject(payload, subject) except Exception as err: # pylint: disable=broad-except # noqa F841; # mark any failure for human review + capture_message( + f'Queue Error: Failed to place filing {filing_id} on Queue with error:{err}', + level='error' + ) app.logger.error( f'Queue Error: Failed to place filing {filing_id} on Queue with error:{err}' ) diff --git a/jobs/sftp-gazette/Makefile b/jobs/sftp-gazette/Makefile index c46e24015f..8b2ccd117e 100644 --- a/jobs/sftp-gazette/Makefile +++ b/jobs/sftp-gazette/Makefile @@ -49,7 +49,7 @@ build-req: clean ## Upgrade requirements pip install -Ur requirements/prod.txt ;\ pip freeze | sort > requirements.txt ;\ -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==21.1.2 ;\ diff --git a/jobs/sftp-icbc-report/Makefile b/jobs/sftp-icbc-report/Makefile index e52dd8c1ca..07cfad9029 100644 --- a/jobs/sftp-icbc-report/Makefile +++ b/jobs/sftp-icbc-report/Makefile @@ -50,7 +50,7 @@ build-req: clean ## Upgrade requirements pip install -Ur requirements/prod.txt ;\ pip freeze | sort > requirements.txt ;\ -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==21.1.2 ;\ diff --git a/jobs/sftp-nuans-report/Makefile b/jobs/sftp-nuans-report/Makefile index 19473161bc..280e68d362 100644 --- a/jobs/sftp-nuans-report/Makefile +++ b/jobs/sftp-nuans-report/Makefile @@ -49,7 +49,7 @@ build-req: clean ## Upgrade requirements pip install -Ur requirements/prod.txt ;\ pip freeze | sort > requirements.txt ;\ -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==21.1.2 ;\ diff --git a/jobs/update-colin-filings/Makefile b/jobs/update-colin-filings/Makefile index 25f630aab1..8346d8594d 100644 --- a/jobs/update-colin-filings/Makefile +++ b/jobs/update-colin-filings/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install --upgrade pip ;\ diff --git a/jobs/update-legal-filings/Makefile b/jobs/update-legal-filings/Makefile index 06517d50c5..83f9c7cd72 100644 --- a/jobs/update-legal-filings/Makefile +++ b/jobs/update-legal-filings/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/legal-api/Makefile b/legal-api/Makefile index 900a76bbf8..39b3774f45 100644 --- a/legal-api/Makefile +++ b/legal-api/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install --upgrade pip ;\ diff --git a/queue_services/business-pay/Makefile b/queue_services/business-pay/Makefile index 4c314dc984..f3d458c7ea 100644 --- a/queue_services/business-pay/Makefile +++ b/queue_services/business-pay/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/queue_services/common/Makefile b/queue_services/common/Makefile index a9bd3e745c..cbc91e295c 100644 --- a/queue_services/common/Makefile +++ b/queue_services/common/Makefile @@ -44,7 +44,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/queue_services/entity-bn/Makefile b/queue_services/entity-bn/Makefile index 66513324d3..3880aa99a2 100644 --- a/queue_services/entity-bn/Makefile +++ b/queue_services/entity-bn/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install --upgrade pip ;\ diff --git a/queue_services/entity-digital-credentials/Makefile b/queue_services/entity-digital-credentials/Makefile index ef971c9f83..57cfbf4b21 100644 --- a/queue_services/entity-digital-credentials/Makefile +++ b/queue_services/entity-digital-credentials/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install upgrade pip ;\ diff --git a/queue_services/entity-emailer/Makefile b/queue_services/entity-emailer/Makefile index 0e78cc8251..64aabec5f5 100644 --- a/queue_services/entity-emailer/Makefile +++ b/queue_services/entity-emailer/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\ diff --git a/queue_services/entity-filer/Makefile b/queue_services/entity-filer/Makefile index 7562a849a7..1607326ca1 100644 --- a/queue_services/entity-filer/Makefile +++ b/queue_services/entity-filer/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements pip install pip==24.0 ;\ pip install wheel==0.43.0 ;\ pip install -Ur requirements/prod.txt ;\ - pip freeze | sort > requirements.txt ;\ + pip freeze | sort > requirementsvirtual cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt diff --git a/queue_services/entity-pay/Makefile b/queue_services/entity-pay/Makefile index 0a0c9f76e9..7d2335684c 100644 --- a/queue_services/entity-pay/Makefile +++ b/queue_services/entity-pay/Makefile @@ -45,7 +45,7 @@ build-req: clean ## Upgrade requirements cat requirements/bcregistry-libraries.txt >> requirements.txt ;\ pip install -Ur requirements/bcregistry-libraries.txt -install: clean ## Install python virtrual environment +install: clean ## Install python virtual environment test -f venv/bin/activate || python3.8 -m venv $(CURRENT_ABS_DIR)/venv ;\ . venv/bin/activate ;\ pip install pip==20.1.1 ;\