Skip to content

Commit 60c186d

Browse files
authored
Merge branch 'main' into DTOSS-7884-Add-Mapping-Utilities-Tests
2 parents d8bd57f + c1aff68 commit 60c186d

175 files changed

Lines changed: 4360 additions & 865 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
name: "Image build stage"
104104
needs: [metadata, commit-stage, test-stage]
105105
uses: NHSDigital/dtos-devops-templates/.github/workflows/stage-3-build-images.yaml@main
106-
if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
106+
if: needs.metadata.outputs.does_pull_request_exist == 'true' || github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
107107
with:
108108
docker_compose_file: application/CohortManager/compose.core.yaml,application/CohortManager/compose.cohort-distribution.yaml
109109
excluded_containers_csv_list: azurite,azurite-setup,sql-edge,db-setup

.github/workflows/cicd-2-publish.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ jobs:
5151
export VERSION="${{ steps.variables.outputs.version }}"
5252
make list-variables
5353
54-
publish:
55-
name: "Build and publish image stage"
56-
# runs-on: ubuntu-latest
57-
needs: [metadata]
58-
uses: ./.github/workflows/stage-3-build-images.yaml
59-
if: github.event.pull_request.merged == true
60-
with:
61-
environment_tag: "${{ needs.metadata.outputs.environment_tag }}"
62-
secrets: inherit
54+
# publish:
55+
# name: "Build and publish image stage"
56+
# # runs-on: ubuntu-latest
57+
# needs: [metadata]
58+
# uses: ./.github/workflows/stage-3-build-images.yaml
59+
# if: github.event.pull_request.merged == true
60+
# with:
61+
# environment_tag: "${{ needs.metadata.outputs.environment_tag }}"
62+
# secrets: inherit
6363
# timeout-minutes: 3
6464
# steps:
6565
# - name: "Checkout code"

.github/workflows/stage-3-build-images.yaml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ application/CohortManager/.vscode/
8484
# Ignore generated feature bindings
8585
*.feature.cs
8686
tests/smoke-tests/dtos-cohort-manager-smoke-tests/Config/appsettings-local.json
87+
*.crt

application/CohortManager/compose.cohort-distribution.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- ASPNETCORE_URLS=http://*:7078
2525
- DtOsDatabaseConnectionString=Server=localhost,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
2626
- ExceptionFunctionURL=http://localhost:7070/api/CreateException
27+
- AcceptableLatencyThresholdMs=500
2728

2829
retrieve-cohort-request-audit:
2930
container_name: retrieve-cohort-request-audit
@@ -49,6 +50,7 @@ services:
4950
- BsSelectGpPracticeUrl=http://localhost:7998/api/BsSelectGpPracticeDataService/
5051
- CohortDistributionDataServiceUrl=http://localhost:7992/api/CohortDistributionDataService/
5152
- DtOsDatabaseConnectionString=Server=localhost,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
53+
- AcceptableLatencyThresholdMs=500
5254

5355
allocate-service-provider:
5456
container_name: allocate-service-provider
@@ -80,6 +82,7 @@ services:
8082
- CohortQueueNamePoison=cohort-distribution-queue-poison
8183
- IgnoreParticipantExceptions=false
8284
- IsExtractedToBSSelect=true
85+
- AcceptableLatencyThresholdMs=500
8386

8487
retrieve-participant-data:
8588
container_name: retrieve-participant-data
@@ -92,6 +95,7 @@ services:
9295
- ExceptionFunctionURL=http://localhost:7070/api/CreateException
9396
- ParticipantManagementUrl=http://localhost:7994/api/ParticipantManagementDataService
9497
- DemographicDataFunctionURL=http://localhost:7076/api/DemographicDataFunction
98+
- AcceptableLatencyThresholdMs=500
9599

96100
validate-cohort-distribution-record:
97101
container_name: validate-cohort-distribution-record
@@ -105,6 +109,7 @@ services:
105109
- ExceptionFunctionURL=http://localhost:7070/api/CreateException
106110
- DtOsDatabaseConnectionString=Server=localhost,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
107111
- CohortDistributionDataServiceURL=http://localhost:7992/api/CohortDistributionDataService/
112+
- AcceptableLatencyThresholdMs=500
108113

109114
remove-validation-exception-data:
110115
container_name: remove-validation-exception-data
@@ -129,4 +134,4 @@ services:
129134
environment:
130135
- ASPNETCORE_URLS=http://*:7992
131136
- DtOsDatabaseConnectionString=Server=localhost,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
132-
137+
- AcceptableLatencyThresholdMs=500

0 commit comments

Comments
 (0)