Skip to content

Commit 18fba51

Browse files
committed
feat: heart check API config and AcceptableLatencyThresholdMs static variable
1 parent 4d9c7d5 commit 18fba51

1 file changed

Lines changed: 72 additions & 4 deletions

File tree

infrastructure/tf-core/environments/development.tfvars

Lines changed: 72 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ function_apps = {
173173
remote_debugging_enabled = false
174174
storage_uses_managed_identity = null
175175
worker_32bit = false
176+
health_check_path = "api/health"
176177

177178
fa_config = {
178179
ReceiveCaasFile = {
@@ -361,6 +362,9 @@ function_apps = {
361362
function_app_key = "ParticipantManagementDataService"
362363
}
363364
]
365+
env_vars_static = {
366+
AcceptableLatencyThresholdMs = "500"
367+
}
364368
}
365369

366370
MarkParticipantAsEligible = {
@@ -382,6 +386,9 @@ function_apps = {
382386
function_app_key = "CreateException"
383387
}
384388
]
389+
env_vars_static = {
390+
AcceptableLatencyThresholdMs = "500"
391+
}
385392
}
386393

387394
MarkParticipantAsIneligible = {
@@ -403,6 +410,9 @@ function_apps = {
403410
function_app_key = "ParticipantManagementDataService"
404411
}
405412
]
413+
env_vars_static = {
414+
AcceptableLatencyThresholdMs = "500"
415+
}
406416
}
407417

408418
UpdateParticipantDetails = {
@@ -424,6 +434,9 @@ function_apps = {
424434
function_app_key = "ParticipantManagementDataService"
425435
}
426436
]
437+
env_vars_static = {
438+
AcceptableLatencyThresholdMs = "500"
439+
}
427440
}
428441

429442
CreateException = {
@@ -466,6 +479,9 @@ function_apps = {
466479
function_app_key = "GPPracticeDataService"
467480
}
468481
]
482+
env_vars_static = {
483+
AcceptableLatencyThresholdMs = "500"
484+
}
469485
}
470486

471487
FileValidation = {
@@ -597,6 +613,9 @@ function_apps = {
597613
function_app_key = "CreateException"
598614
}
599615
]
616+
env_vars_static = {
617+
AcceptableLatencyThresholdMs = "500"
618+
}
600619
}
601620

602621
TransformDataService = {
@@ -622,6 +641,9 @@ function_apps = {
622641
function_app_key = "CohortDistributionDataService"
623642
}
624643
]
644+
env_vars_static = {
645+
AcceptableLatencyThresholdMs = "500"
646+
}
625647
}
626648

627649
AllocateServiceProvider = {
@@ -677,10 +699,11 @@ function_apps = {
677699
}
678700
]
679701
env_vars_static = {
680-
CohortQueueName = "cohort-distribution-queue"
681-
CohortQueueNamePoison = "cohort-distribution-queue-poison"
682-
IgnoreParticipantExceptions = "false"
683-
IsExtractedToBSSelect = "false"
702+
CohortQueueName = "cohort-distribution-queue"
703+
CohortQueueNamePoison = "cohort-distribution-queue-poison"
704+
IgnoreParticipantExceptions = "false"
705+
IsExtractedToBSSelect = "false"
706+
AcceptableLatencyThresholdMs = "500"
684707
}
685708
}
686709

@@ -703,6 +726,9 @@ function_apps = {
703726
function_app_key = "DemographicDataManagement"
704727
}
705728
]
729+
env_vars_static = {
730+
AcceptableLatencyThresholdMs = "500"
731+
}
706732
}
707733

708734
ValidateCohortDistributionRecord = {
@@ -724,6 +750,9 @@ function_apps = {
724750
function_app_key = "CohortDistributionDataService"
725751
}
726752
]
753+
env_vars_static = {
754+
AcceptableLatencyThresholdMs = "500"
755+
}
727756
}
728757

729758
RemoveValidationExceptionData = {
@@ -775,6 +804,9 @@ function_apps = {
775804
function_app_key = "CreateException"
776805
}
777806
]
807+
env_vars_static = {
808+
AcceptableLatencyThresholdMs = "500"
809+
}
778810
}
779811

780812
CurrentPostingDataService = {
@@ -788,6 +820,9 @@ function_apps = {
788820
function_app_key = "CreateException"
789821
}
790822
]
823+
env_vars_static = {
824+
AcceptableLatencyThresholdMs = "500"
825+
}
791826
}
792827

793828
BsSelectOutcodeDataService = {
@@ -801,6 +836,9 @@ function_apps = {
801836
function_app_key = "CreateException"
802837
}
803838
]
839+
env_vars_static = {
840+
AcceptableLatencyThresholdMs = "500"
841+
}
804842
}
805843

806844
BsSelectGpPracticeDataService = {
@@ -814,6 +852,9 @@ function_apps = {
814852
function_app_key = "CreateException"
815853
}
816854
]
855+
env_vars_static = {
856+
AcceptableLatencyThresholdMs = "500"
857+
}
817858
}
818859

819860
ExcludedSMUDataService = {
@@ -827,6 +868,9 @@ function_apps = {
827868
function_app_key = "CreateException"
828869
}
829870
]
871+
env_vars_static = {
872+
AcceptableLatencyThresholdMs = "500"
873+
}
830874
}
831875

832876
ParticipantManagementDataService = {
@@ -853,6 +897,9 @@ function_apps = {
853897
function_app_key = "CreateException"
854898
}
855899
]
900+
env_vars_static = {
901+
AcceptableLatencyThresholdMs = "500"
902+
}
856903
}
857904

858905
DurableDemographicFunction = {
@@ -870,6 +917,9 @@ function_apps = {
870917
function_app_key = "ParticipantDemographicDataService"
871918
}
872919
]
920+
env_vars_static = {
921+
AcceptableLatencyThresholdMs = "500"
922+
}
873923
}
874924

875925
GPPracticeDataService = {
@@ -883,6 +933,9 @@ function_apps = {
883933
function_app_key = "CreateException"
884934
}
885935
]
936+
env_vars_static = {
937+
AcceptableLatencyThresholdMs = "500"
938+
}
886939
}
887940

888941
ExceptionManagementDataService = {
@@ -896,6 +949,9 @@ function_apps = {
896949
function_app_key = "CreateException"
897950
}
898951
]
952+
env_vars_static = {
953+
AcceptableLatencyThresholdMs = "500"
954+
}
899955
}
900956

901957
UpdateParticipantFromScreeningProvider = {
@@ -970,6 +1026,9 @@ function_apps = {
9701026
function_app_key = "CreateException"
9711027
}
9721028
]
1029+
env_vars_static = {
1030+
AcceptableLatencyThresholdMs = "500"
1031+
}
9731032
}
9741033

9751034
HigherRiskReferralReasonLkpDataService = {
@@ -983,6 +1042,9 @@ function_apps = {
9831042
function_app_key = "CreateException"
9841043
}
9851044
]
1045+
env_vars_static = {
1046+
AcceptableLatencyThresholdMs = "500"
1047+
}
9861048
}
9871049

9881050
CohortDistributionDataService = {
@@ -996,6 +1058,9 @@ function_apps = {
9961058
function_app_key = "CreateException"
9971059
}
9981060
]
1061+
env_vars_static = {
1062+
AcceptableLatencyThresholdMs = "500"
1063+
}
9991064
}
10001065

10011066
BsRequestAuditDataService = {
@@ -1009,6 +1074,9 @@ function_apps = {
10091074
function_app_key = "CreateException"
10101075
}
10111076
]
1077+
env_vars_static = {
1078+
AcceptableLatencyThresholdMs = "500"
1079+
}
10121080
}
10131081

10141082
ScreeningLkpDataService = {

0 commit comments

Comments
 (0)