Skip to content

Commit a101923

Browse files
fix: making sure to add service buss to pds
1 parent 3a5e801 commit a101923

5 files changed

Lines changed: 71 additions & 61 deletions

File tree

infrastructure/tf-core/environments/development.tfvars

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function_apps = {
347347
}
348348
]
349349
env_vars_static = {
350-
MeshCertName = "MeshCert"
350+
MeshCertName = "MeshCert"
351351
ParticipantManagementTopic = "participant-management"
352352
}
353353
}
@@ -932,10 +932,11 @@ function_apps = {
932932
}
933933

934934
RetrievePDSDemographic = {
935-
name_suffix = "retrieve-pds-demographic"
936-
function_endpoint_name = "RetrievePDSDemographic"
937-
app_service_plan_key = "DefaultPlan"
938-
key_vault_url = "KeyVaultConnectionString"
935+
name_suffix = "retrieve-pds-demographic"
936+
function_endpoint_name = "RetrievePDSDemographic"
937+
app_service_plan_key = "DefaultPlan"
938+
service_bus_connections = ["internal"]
939+
key_vault_url = "KeyVaultConnectionString"
939940
app_urls = [
940941
{
941942
env_var_name = "ExceptionFunctionURL"
@@ -951,12 +952,13 @@ function_apps = {
951952
}
952953
]
953954
env_vars_static = {
954-
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
955-
Kid = "RetrievePdsDemographic-DEV1"
956-
Audience = "https://int.api.service.nhs.uk/oauth2/token"
957-
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
958-
KeyNamePrivateKey = "PDSPRIVATEKEY"
959-
UseFakePDSServices = "true"
955+
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
956+
Kid = "RetrievePdsDemographic-DEV1"
957+
Audience = "https://int.api.service.nhs.uk/oauth2/token"
958+
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
959+
KeyNamePrivateKey = "PDSPRIVATEKEY"
960+
UseFakePDSServices = "true"
961+
ParticipantManagementTopic = "participant-management"
960962
}
961963
}
962964

infrastructure/tf-core/environments/integration.tfvars

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function_apps = {
347347
}
348348
]
349349
env_vars_static = {
350-
MeshCertName = "MeshCert"
350+
MeshCertName = "MeshCert"
351351
ParticipantManagementTopic = "participant-management"
352352
}
353353
}
@@ -932,10 +932,11 @@ function_apps = {
932932
}
933933

934934
RetrievePDSDemographic = {
935-
name_suffix = "retrieve-pds-demographic"
936-
function_endpoint_name = "RetrievePDSDemographic"
937-
app_service_plan_key = "DefaultPlan"
938-
key_vault_url = "KeyVaultConnectionString"
935+
name_suffix = "retrieve-pds-demographic"
936+
function_endpoint_name = "RetrievePDSDemographic"
937+
app_service_plan_key = "DefaultPlan"
938+
service_bus_connections = ["internal"]
939+
key_vault_url = "KeyVaultConnectionString"
939940
app_urls = [
940941
{
941942
env_var_name = "ExceptionFunctionURL"
@@ -951,12 +952,13 @@ function_apps = {
951952
}
952953
]
953954
env_vars_static = {
954-
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
955-
Kid = "RetrievePdsDemographic-test1"
956-
Audience = "https://int.api.service.nhs.uk/oauth2/token"
957-
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
958-
KeyNamePrivateKey = "PDSPRIVATEKEY"
959-
UseFakePDSServices = "false"
955+
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
956+
Kid = "RetrievePdsDemographic-test1"
957+
Audience = "https://int.api.service.nhs.uk/oauth2/token"
958+
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
959+
KeyNamePrivateKey = "PDSPRIVATEKEY"
960+
ParticipantManagementTopic = "participant-management"
961+
UseFakePDSServices = "false"
960962
}
961963
}
962964

infrastructure/tf-core/environments/nft.tfvars

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function_apps = {
346346
}
347347
]
348348
env_vars_static = {
349-
MeshCertName = "MeshCert"
349+
MeshCertName = "MeshCert"
350350
ParticipantManagementTopic = "participant-management"
351351
}
352352
}
@@ -931,10 +931,11 @@ function_apps = {
931931
}
932932

933933
RetrievePDSDemographic = {
934-
name_suffix = "retrieve-pds-demographic"
935-
function_endpoint_name = "RetrievePDSDemographic"
936-
app_service_plan_key = "DefaultPlan"
937-
key_vault_url = "KeyVaultConnectionString"
934+
name_suffix = "retrieve-pds-demographic"
935+
function_endpoint_name = "RetrievePDSDemographic"
936+
app_service_plan_key = "DefaultPlan"
937+
service_bus_connections = ["internal"]
938+
key_vault_url = "KeyVaultConnectionString"
938939
app_urls = [
939940
{
940941
env_var_name = "ExceptionFunctionURL"
@@ -950,12 +951,13 @@ function_apps = {
950951
}
951952
]
952953
env_vars_static = {
953-
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
954-
Kid = "RetrievePdsDemographic-test1"
955-
Audience = "https://int.api.service.nhs.uk/oauth2/token"
956-
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
957-
KeyNamePrivateKey = "PDSPRIVATEKEY"
958-
UseFakePDSServices = "false"
954+
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
955+
Kid = "RetrievePdsDemographic-test1"
956+
Audience = "https://int.api.service.nhs.uk/oauth2/token"
957+
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
958+
KeyNamePrivateKey = "PDSPRIVATEKEY"
959+
ParticipantManagementTopic = "participant-management"
960+
UseFakePDSServices = "false"
959961
}
960962
}
961963

infrastructure/tf-core/environments/preprod.tfvars

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function_apps = {
353353
}
354354
]
355355
env_vars_static = {
356-
MeshCertName = "MeshCert"
356+
MeshCertName = "MeshCert"
357357
ParticipantManagementTopic = "participant-management"
358358
}
359359
}
@@ -862,9 +862,9 @@ function_apps = {
862862
key_vault_url = "KeyVaultConnectionString"
863863
service_bus_connections = ["internal"]
864864
env_vars_static = {
865-
ServiceNowRefreshAccessTokenUrl = "" # TODO: Get value
866-
ServiceNowUpdateUrl = "" # TODO: Get value
867-
ServiceNowResolutionUrl = "" # TODO: Get value
865+
ServiceNowRefreshAccessTokenUrl = "" # TODO: Get value
866+
ServiceNowUpdateUrl = "" # TODO: Get value
867+
ServiceNowResolutionUrl = "" # TODO: Get value
868868
ServiceNowParticipantManagementTopic = "servicenow-participant-management" # Sends messages to the servicenow participant manage topic
869869
}
870870
}
@@ -938,10 +938,11 @@ function_apps = {
938938
}
939939

940940
RetrievePDSDemographic = {
941-
name_suffix = "retrieve-pds-demographic"
942-
function_endpoint_name = "RetrievePDSDemographic"
943-
app_service_plan_key = "DefaultPlan"
944-
key_vault_url = "KeyVaultConnectionString"
941+
name_suffix = "retrieve-pds-demographic"
942+
function_endpoint_name = "RetrievePDSDemographic"
943+
app_service_plan_key = "DefaultPlan"
944+
service_bus_connections = ["internal"]
945+
key_vault_url = "KeyVaultConnectionString"
945946
app_urls = [
946947
{
947948
env_var_name = "ExceptionFunctionURL"
@@ -957,12 +958,13 @@ function_apps = {
957958
}
958959
]
959960
env_vars_static = {
960-
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
961-
Kid = "RetrievePdsDemographic-prod"
962-
Audience = "https://api.service.nhs.uk/oauth2/token"
963-
AuthTokenURL = "https://api.service.nhs.uk/oauth2/token"
964-
KeyNamePrivateKey = "PDSPRIVATEKEY"
965-
UseFakePDSServices = "false"
961+
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
962+
Kid = "RetrievePdsDemographic-prod"
963+
Audience = "https://api.service.nhs.uk/oauth2/token"
964+
AuthTokenURL = "https://api.service.nhs.uk/oauth2/token"
965+
KeyNamePrivateKey = "PDSPRIVATEKEY"
966+
ParticipantManagementTopic = "participant-management"
967+
UseFakePDSServices = "false"
966968
}
967969
}
968970

infrastructure/tf-core/environments/sandbox.tfvars

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function_apps = {
361361
}
362362
]
363363
env_vars_static = {
364-
MeshCertName = "MeshCert"
364+
MeshCertName = "MeshCert"
365365
ParticipantManagementTopic = "participant-management"
366366
}
367367
}
@@ -1252,10 +1252,11 @@ function_apps = {
12521252
}
12531253

12541254
RetrievePDSDemographic = {
1255-
name_suffix = "retrieve-pds-demographic"
1256-
function_endpoint_name = "RetrievePDSDemographic"
1257-
app_service_plan_key = "DefaultPlan"
1258-
key_vault_url = "KeyVaultConnectionString"
1255+
name_suffix = "retrieve-pds-demographic"
1256+
function_endpoint_name = "RetrievePDSDemographic"
1257+
app_service_plan_key = "DefaultPlan"
1258+
key_vault_url = "KeyVaultConnectionString"
1259+
service_bus_connections = ["internal"]
12591260
app_urls = [
12601261
{
12611262
env_var_name = "ExceptionFunctionURL"
@@ -1271,12 +1272,13 @@ function_apps = {
12711272
}
12721273
]
12731274
env_vars_static = {
1274-
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
1275-
Kid = "RetrievePdsDemographic-test1"
1276-
Audience = "https://int.api.service.nhs.uk/oauth2/token"
1277-
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
1278-
KeyNamePrivateKey = "PDSPRIVATEKEY"
1279-
UseFakePDSServices = "true"
1275+
RetrievePdsParticipantURL = "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient"
1276+
Kid = "RetrievePdsDemographic-test1"
1277+
Audience = "https://int.api.service.nhs.uk/oauth2/token"
1278+
AuthTokenURL = "https://int.api.service.nhs.uk/oauth2/token"
1279+
KeyNamePrivateKey = "PDSPRIVATEKEY"
1280+
ParticipantManagementTopic = "participant-management"
1281+
UseFakePDSServices = "true"
12801282
}
12811283
}
12821284

@@ -1415,9 +1417,9 @@ linux_web_app = {
14151417
}
14161418
from_key_vault = {
14171419
# env_var_name = "key_vault_secret_name"
1418-
AUTH_CIS2_CLIENT_SECRET = "auth-cis2-client-secret"
1419-
COHORT_MANAGER_RBAC_CODE = "cohort-manager-users"
1420-
NEXTAUTH_SECRET = "nextauth-secret"
1420+
AUTH_CIS2_CLIENT_SECRET = "auth-cis2-client-secret"
1421+
COHORT_MANAGER_RBAC_CODE = "cohort-manager-users"
1422+
NEXTAUTH_SECRET = "nextauth-secret"
14211423
}
14221424
local_urls = {
14231425
# %s becomes the environment and region prefix (e.g. dev-uks)

0 commit comments

Comments
 (0)