Skip to content

Commit a467911

Browse files
authored
fix: Update ServiceNow dev environment config (#1874)
Update ServiceNow dev environment config
1 parent 667f445 commit a467911

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

infrastructure/tf-core/environments/development.tfvars

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ function_apps = {
667667
}
668668
]
669669
env_vars_static = {
670-
AcceptableLatencyThresholdMs = "500"
670+
AcceptableLatencyThresholdMs = "500"
671671
RetrieveSupersededRecordsLast = "true"
672672
}
673673
}
@@ -864,7 +864,7 @@ function_apps = {
864864
]
865865
env_vars_static = {
866866
AcceptableLatencyThresholdMs = "500"
867-
MaxRetryCount=3
867+
MaxRetryCount = 3
868868
}
869869
}
870870

@@ -962,9 +962,14 @@ function_apps = {
962962
]
963963
env_vars_static = {
964964
# Using Wiremock Container App in place of a real ServiceNow integration
965-
ServiceNowRefreshAccessTokenUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/oauth_token.do"
966-
ServiceNowUpdateUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseUpdate"
967-
ServiceNowResolutionUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseResolution"
965+
# ServiceNowRefreshAccessTokenUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/oauth_token.do"
966+
# ServiceNowUpdateUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseUpdate"
967+
# ServiceNowResolutionUrl = "https://ca-wiremock-uksouth.jollyriver-9baa4a9a.uksouth.azurecontainerapps.io/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseResolution"
968+
969+
# Connect to ServiceNow Integration Instance (can be swapped for Wiremock for testing, or to ServiceNow Dev Instance if we want to align the environments correctly)
970+
ServiceNowRefreshAccessTokenUrl = "https://nhsdigitaltraining.service-now.com/oauth_token.do"
971+
ServiceNowUpdateUrl = "https://nhsdigitaltraining.service-now.com/api/x_nhsd_intstation/nhs_integration/7ce726ef1b4b66d0772fa756b04bcb2a/CohortCaseUpdate"
972+
ServiceNowResolutionUrl = "https://nhsdigitaltraining.service-now.com/api/x_nhsd_intstation/nhs_integration/7ce726ef1b4b66d0772fa756b04bcb2a/CohortCaseResolution"
968973
ServiceNowGrantType = "refresh_token"
969974
ServiceNowParticipantManagementTopic = "servicenow-participant-management" # Sends messages to the servicenow participant manage topic
970975
}

0 commit comments

Comments
 (0)