Skip to content

Commit b8c093d

Browse files
authored
Merge pull request #809 from NHSDigital/DTOSS-11768
removed create_status endpoint
2 parents 7ac0a09 + 251bf4f commit b8c093d

File tree

14 files changed

+1
-772
lines changed

14 files changed

+1
-772
lines changed

docs/diagrams/workspace.dsl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ workspace {
3838

3939
jobs = container "Functions" "Process events asynchronously" {
4040
technology "Event driven container app jobs"
41-
save_message_status = component "Save message status" {
42-
technology "Event driven container app job"
43-
tags job
44-
}
4541
create_appointments = component "Create appointments" {
4642
technology "Event driven container app job"
4743
tags job
@@ -118,23 +114,19 @@ workspace {
118114
user -> cis2 "Authenticates via"
119115
cis2 -> webApplication "Provides authentication token to"
120116

121-
save_message_status -> queue "Gets updates to save"
122117
store_mesh_messages -> mesh "Fetches appointments from" {
123118
tags store_mesh
124119
}
125120
create_appointments -> mesh_blob_container "Gets MESH messages"
126121
store_mesh_messages -> mesh_blob_container "Stores MESH messages"
127122
create_report -> reports_blob_container "Stores message status reports"
128-
notify -> webApplication "Sends status updates to"
129-
webApplication -> queue "Save message status"
130123

131124
# Commented to avoid cluttering - Grouped with send_message_batch
132125
# retry_failed_message_batch -> retry_queue "Gets failed batches"
133126
# retry_failed_message_batch -> notify "Retry messages"
134127

135128
# Commented to avoid cluttering - DB connection in view title
136129
# store_mesh_messages -> azurePostgres "Store messages to"
137-
# save_message_status -> azurePostgres "Save message status"
138130
# send_message_batch -> azurePostgres "Gets appointments from"
139131
# create_appointments -> azurePostgres "Converts to appointments and clinic"
140132
# create_report -> azurePostgres "Gets message statuses from"

infrastructure/environments/dev/variables.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ postgres_geo_redundant_backup_enabled = false
88
protect_keyvault = false
99
vnet_address_space = "10.128.0.0/16"
1010
seed_demo_data = true
11-
nhs_notify_api_message_batch_url = "https://int.api.service.nhs.uk/comms/v1/message-batches"

infrastructure/environments/preprod/variables.tfvars

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ postgres_geo_redundant_backup_enabled = true
88
protect_keyvault = true
99
deploy_database_as_container = false
1010
vnet_address_space = "10.10.0.0/16"
11-
nhs_notify_api_message_batch_url = "https://int.api.service.nhs.uk/comms/v1/message-batches"
1211
seed_demo_data = false
13-
allowed_paths = ["/notifications/message-status/create"]
1412
enable_alerting = true
1513
enable_notifications_jobs_schedule = true
1614
min_replicas = 2

infrastructure/environments/prod/variables.tfvars

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ postgres_sku_name = "GP_Standard_D2ds_v5"
88
postgres_enable_high_availability = true
99
protect_keyvault = true
1010
vnet_address_space = "10.11.0.0/16"
11-
nhs_notify_api_message_batch_url = "https://api.service.nhs.uk/comms/v1/message-batches"
12-
allowed_paths = ["/notifications/message-status/create"]
1311
enable_alerting = true
1412
use_apex_domain = true
1513
cae_zone_redundancy_enabled = true

infrastructure/modules/container-apps/jobs.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ locals {
1616
job_short_name = "cap"
1717
job_container_args = "create_appointments"
1818
}
19-
save_message_status = {
20-
# cron_expression = "0,30 * * * *"
21-
cron_expression = null
22-
environment_variables = {
23-
STATUS_UPDATES_QUEUE_NAME = "notifications-message-status-updates"
24-
ENVIRONMENT = var.environment
25-
}
26-
job_short_name = "sms"
27-
job_container_args = "save_message_status"
28-
}
2919
create_reports = {
3020
# cron_expression = "0 21 * * 1-5"
3121
cron_expression = null

manage_breast_screening/notifications/management/commands/save_message_status.py

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

manage_breast_screening/notifications/tests/integration/test_callback_endpoint.py

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

manage_breast_screening/notifications/tests/integration/test_status_updates_from_queue.py

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

0 commit comments

Comments
 (0)