Skip to content

Commit 2bffd86

Browse files
authored
29447 - Remove minio (#3457)
1 parent 957ceb7 commit 2bffd86

File tree

12 files changed

+8
-334
lines changed

12 files changed

+8
-334
lines changed

auth-api/tests/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ services:
7373
https://raw.githubusercontent.com/bcgov/sbc-pay/main/docs/docs/api_contract/pay-api.yaml
7474
7575
networks:
76-
minio-tier:
76+
tier:
7777
driver: bridge
7878

7979
volumes:

auth-web/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VUE_APP_ADDRESS_COMPLETE_KEY=
77
#vaults auth-web
88
VUE_APP_AFFIDAVIT_FILE_SIZE="73KB"
99
VUE_APP_PAYMENT_PAYEE_NAME="BC Registries"
10-
VUE_APP_FILE_SERVER_URL="https://minio-dev.apps.silver.devops.gov.bc.ca/public"
10+
VUE_APP_FILE_SERVER_URL="https://storage.googleapis.com/auth-static-resources-dev"
1111
VUE_APP_APPROVE_ACCOUNT_SLA_DAYS="3-5"
1212
VUE_APP_ONE_STOP_URL="https://dev.onestop.gov.bc.ca/"
1313
VUE_APP_SOCIETIES_URL="https://www.bcregistry.ca/societies/"

queue_services/account-mailer/devops/vaults.gcp.env

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ NOTIFY_API_VERSION="op://API/$APP_ENV/notify-api/NOTIFY_API_VERSION"
1616
REPORT_API_URL="op://API/$APP_ENV/report-api/REPORT_API_URL"
1717
REPORT_API_VERSION="op://API/$APP_ENV/report-api/REPORT_API_VERSION"
1818
VPC_CONNECTOR="op://CD/$APP_ENV/account-mailer/VPC_CONNECTOR"
19-
MINIO_ENDPOINT="op://minio/$APP_ENV/base/MINIO_ENDPOINT"
20-
MINIO_ACCESS_KEY="op://minio/$APP_ENV/base/MINIO_ACCESS_KEY"
21-
MINIO_ACCESS_SECRET="op://minio/$APP_ENV/base/MINIO_ACCESS_SECRET"
22-
MINIO_BUCKET="op://minio/$APP_ENV/account-mailer/MINIO_BUCKET"
2319
ACCOUNT_MAILER_BUCKET="op://buckets/$APP_ENV/auth/ACCOUNT_MAILER_BUCKET"
2420
STATIC_RESOURCES_BUCKET_URL="op://buckets/$APP_ENV/auth/STATIC_RESOURCES_BUCKET_URL"
2521
REFUND_REQUEST_RECIPIENTS="op://relationship/$APP_ENV/account-mailer/REFUND_REQUEST_RECIPIENTS"
@@ -30,4 +26,4 @@ HTTP_ORIGIN="op://relationship/$APP_ENV/account-mailer/HTTP_ORIGIN"
3026
PAD_TOS_FILE="op://relationship/$APP_ENV/account-mailer/PAD_TOS_FILE"
3127
WEB_APP_URL="op://relationship/$APP_ENV/account-mailer/WEB_APP_URL"
3228
BCOL_ADMIN_EMAIL="op://relationship/$APP_ENV/account-mailer/BCOL_ADMIN_EMAIL"
33-
DASHBOARD_URL="op://web-url/$APP_ENV/business/DASHBOARD_URL"
29+
DASHBOARD_URL="op://web-url/$APP_ENV/business/DASHBOARD_URL"

queue_services/account-mailer/poetry.lock

Lines changed: 4 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

queue_services/account-mailer/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "account-mailer"
33
version = "0.2.0"
44
description = ""
5-
authors = ["Avni Salhotra <avni.salhotra@gov.bc.ca>"]
5+
authors = ["SBC Connect Team & Pay Team & SRE Team"]
66
readme = "README.md"
77

88
[tool.poetry.dependencies]
@@ -17,7 +17,6 @@ googleapis-common-protos = "1.63.0"
1717
idna = "3.7"
1818
importlib-resources = "5.13.0"
1919
jaeger-client = "4.8.0"
20-
minio = "^7.2.7"
2120
msgpack = "1.0.8"
2221
opentracing = "2.4.0"
2322
pkgutil-resolve-name = "1.3.10"

queue_services/account-mailer/src/account_mailer/config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,6 @@ class _Config: # pylint: disable=too-few-public-methods
103103
REPORT_API_URL = REPORT_API_URL + REPORT_API_VERSION
104104
REPORT_API_BASE_URL = f"{REPORT_API_URL}/reports"
105105

106-
# Remove when cgi_ejv bucket moves to google storage
107-
MINIO_ENDPOINT = os.getenv("MINIO_ENDPOINT")
108-
MINIO_ACCESS_KEY = os.getenv("MINIO_ACCESS_KEY")
109-
MINIO_ACCESS_SECRET = os.getenv("MINIO_ACCESS_SECRET")
110-
MINIO_BUCKET = os.getenv("MINIO_BUCKET", "account-mailer")
111-
MINIO_SECURE = os.getenv("MINIO_SECURE", "true").lower() == "true"
112-
113106
# GCP Cloud Storage configuration values
114107
ACCOUNT_MAILER_BUCKET = os.getenv("ACCOUNT_MAILER_BUCKET", "auth-account-mailer-dev")
115108
STATIC_RESOURCES_BUCKET_URL = os.getenv(

queue_services/account-mailer/src/account_mailer/email_processors/ejv_failures.py

Lines changed: 0 additions & 77 deletions
This file was deleted.

queue_services/account-mailer/src/account_mailer/email_templates/ejv_failed_email.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

queue_services/account-mailer/src/account_mailer/enums.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class SubjectType(Enum):
2828
ONLINE_BANKING_PAYMENT_SUBJECT = "[BC Registries and Online Services] Online Banking payment has been received"
2929
PAD_SETUP_FAILED = "[BC Registries and Online Services] Your Account is Temporarily Suspended"
3030
PAYMENT_PENDING = "[BC Registries and Online Services] Payment is now due for pending transaction on your account"
31-
EJV_FAILED = "GL disbursement failure for EJV"
3231
RESET_PASSCODE = "BC Registries Account Passcode Reset"
3332
ADMIN_NOTIFICATION = (
3433
"[BC Registries and Online Services] {user_first_name} {user_last_name} "
@@ -137,7 +136,6 @@ class TemplateType(Enum):
137136
ONLINE_BANKING_UNDER_PAYMENT_TEMPLATE_NAME = "online_banking_under_payment"
138137
PAD_SETUP_FAILED_TEMPLATE_NAME = "pad_setup_failed"
139138
PAYMENT_PENDING_TEMPLATE_NAME = "paymanet_pending"
140-
EJV_FAILED_TEMPLATE_NAME = "ejv_failed_email"
141139
RESET_PASSCODE_TEMPLATE_NAME = "reset_passcode"
142140
ADMIN_NOTIFICATION_TEMPLATE_NAME = "admin_notification_email"
143141
AFFILIATION_INVITATION_TEMPLATE_NAME = "affiliation_invitation_email"

0 commit comments

Comments
 (0)