File tree Expand file tree Collapse file tree 6 files changed +1
-15
lines changed
Expand file tree Collapse file tree 6 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,3 @@ protect_keyvault = false
99vnet_address_space = " 10.142.0.0/16"
1010deploy_database_as_container = true
1111seed_demo_data = true
12- nhs_notify_api_message_batch_url = " https://int.api.service.nhs.uk/comms/v1/message-batches"
Original file line number Diff line number Diff line change @@ -94,12 +94,6 @@ variable "deploy_database_as_container" {
9494 type = bool
9595}
9696
97- variable "nhs_notify_api_message_batch_url" {
98- description = " The API endpoint URL used to send message batches to NHS Notify"
99- type = string
100- default = null
101- }
102-
10397variable "postgres_backup_retention_days" {
10498 description = " The number of days to retain backups for the PostgreSQL Flexible Server."
10599 type = number
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ module "container-apps" {
7676 infra_key_vault_name = local. infra_key_vault_name
7777 infra_key_vault_rg = local. infra_key_vault_rg
7878 api_oauth_token_url = var. api_oauth_token_url
79- nhs_notify_api_message_batch_url = var. nhs_notify_api_message_batch_url
8079 target_url = var. deploy_container_apps ? " ${ module . container-apps [0 ]. external_url } healthcheck" : null
8180 resource_group_name_infra = local. resource_group_name
8281 enable_notifications_jobs_schedule = var. enable_notifications_jobs_schedule
Original file line number Diff line number Diff line change @@ -173,11 +173,6 @@ variable "api_oauth_token_url" {
173173 type = string
174174}
175175
176- variable "nhs_notify_api_message_batch_url" {
177- description = " NHS Notify API endpoint URL for making message batch requests"
178- type = string
179- }
180-
181176variable "enable_notifications_jobs_schedule" {
182177 description = " Whether we apply the cron schedules for the notifications container app jobs"
183178 type = bool
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ NBSS_MESH_INBOX_NAME="paste-mesh-inbox-name-here"
4141NBSS_MESH_PASSWORD="paste-mesh-password-here"
4242NBSS_MESH_CERT="paste-pem-mesh-cert-here"
4343NBSS_MESH_PRIVATE_KEY="paste-pem-private-key-here"
44- NHS_NOTIFY_API_MESSAGE_BATCH_URL="https://sandbox.api.service.nhs.uk/comms/v1/message-batches"
4544QUEUE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;"
4645REPORTS_CONTAINER_NAME="notifications-reports"
4746RETRY_QUEUE_NAME="notifications-message-batch-retries"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class OAuthError(Exception):
2323class ApiClient :
2424 def send_message_batch (self , message_batch : MessageBatch ) -> requests .Response :
2525 response = requests .post (
26- os .getenv ("NHS_NOTIFY_API_MESSAGE_BATCH_URL" ),
26+ os .getenv ("NHS_NOTIFY_API_MESSAGE_BATCH_URL" , "" ),
2727 headers = self .headers (),
2828 json = MessageBatchPresenter (message_batch ).present (),
2929 timeout = 10 ,
You can’t perform that action at this time.
0 commit comments