Skip to content

Commit 819d409

Browse files
committed
Merge branch 'dev' into clinical-reasoning-dep-update
2 parents 20d2fb9 + ad5c2c1 commit 819d409

910 files changed

Lines changed: 71624 additions & 31064 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.

.env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ ISSUER_URI=https://oauth.nhsnlink.org/realms/NHSNLink
1212

1313
KafkaConnection__SaslUsername=${KAFKA_SASL_CLIENT_USER}
1414
KafkaConnection__SaslPassword=${KAFKA_SASL_CLIENT_PASSWORD}
15-
Redis__Password=${REDIS_PASS}
15+
Redis__Password=${REDIS_PASS}
16+
InternalBlobStorage__BlobContainerName=${INTERNAL_BLOB_CONTAINER_NAME}
17+
ExternalBlobStorage__BlobContainerName=${EXTERNAL_BLOB_CONTAINER_NAME}

.github/workflows/deploy-eventcatalog.yml

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

.github/workflows/tests.yaml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
branches:
88
- dev
99
- workflow/**
10+
- release/**
11+
- hotfix/**
1012

1113
permissions:
1214
contents: read
@@ -197,28 +199,6 @@ jobs:
197199
path: ./TestResults/dotnet-unit-test-results.trx
198200
reporter: dotnet-trx
199201

200-
docs-build:
201-
name: Build Documentation
202-
runs-on: ubuntu-latest
203-
timeout-minutes: 10
204-
205-
steps:
206-
- name: Checkout code
207-
uses: actions/checkout@v4
208-
209-
- name: Setup Node.js
210-
uses: actions/setup-node@v4
211-
with:
212-
node-version: '22'
213-
214-
- name: Install dependencies
215-
run: npm ci
216-
working-directory: ./docs
217-
218-
- name: Build documentation
219-
run: npm run build
220-
working-directory: ./docs
221-
222202
java-unit-tests:
223203
name: Unit Tests for Java
224204
runs-on: ['ubuntu-latest']
Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"profiles": {
3-
"Docker": {
4-
"commandName": "Docker",
5-
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
3+
"http-docker": {
4+
"commandName": "Project",
5+
"launchBrowser": false,
66
"environmentVariables": {
7-
"ASPNETCORE_ENVIRONMENT": "Development"
7+
"ASPNETCORE_ENVIRONMENT": "Docker",
8+
"KafkaConnection__BootstrapServers__0": "localhost:9094",
9+
"ConnectionStrings__Redis": "localhost:6379",
10+
"ConnectionStrings__DatabaseConnection": "Server=tcp:localhost,1433;Initial Catalog=link-account;Persist Security Info=False;User ID=sa;Password=${LINK_DB_PASS};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;",
11+
"Serilog__WriteTo__0__Args__uri": "http://localhost:3100",
12+
"Telemetry__OtelCollectorEndpoint": "http://localhost:4317",
13+
"ServiceRegistry__TenantService__TenantServiceURL": "http://localhost:8074"
814
},
9-
"publishAllPorts": true,
10-
"useSSL": true
15+
"dotnetRunMessages": true,
16+
"applicationUrl": "http://localhost:8060"
1117
},
1218
"ConsoleApp": {
1319
"commandName": "Project",
@@ -18,21 +24,6 @@
1824
"launchBrowser": false,
1925
"launchUrl": "api/account/swagger",
2026
"applicationUrl": "http://localhost:5037;https://localhost:7224"
21-
},
22-
"IISExpress": {
23-
"commandName": "IISExpress",
24-
"environmentVariables": {
25-
"ASPNETCORE_ENVIRONMENT": "Development"
26-
},
27-
"ancmHostingModel": "OutOfProcess"
28-
}
29-
},
30-
"iisSettings": {
31-
"windowsAuthentication": false,
32-
"anonymousAuthentication": true,
33-
"iisExpress": {
34-
"applicationUrl": "http://localhost:5037",
35-
"sslPort": 0
3627
}
3728
}
3829
}

DotNet/Admin.BFF/Properties/launchSettings.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
"launchBrowser": false,
66
"environmentVariables": {
77
"ASPNETCORE_ENVIRONMENT": "Docker",
8-
8+
99
"KafkaConnection__BootstrapServers__0": "localhost:9094",
1010
"ConnectionStrings__Redis": "localhost:6379",
1111
"Serilog__WriteTo__0__Args__uri": "http://localhost:3100",
1212
"Telemetry__OtelCollectorEndpoint": "http://localhost:4317",
13-
1413
"ServiceRegistry__TenantService__TenantServiceURL": "http://localhost:8074",
1514
"ServiceRegistry__AccountServiceUrl": "http://localhost:8060",
1615
"ServiceRegistry__AuditServiceUrl": "http://localhost:8062",
@@ -38,7 +37,17 @@
3837
"ReverseProxy__Clusters__TerminologyService__Destinations__destination1__Address": "http://localhost:8076"
3938
},
4039
"dotnetRunMessages": true,
41-
"applicationUrl": "http://localhost:8065"
40+
"applicationUrl": "http://localhost:8063"
41+
},
42+
"http": {
43+
"commandName": "Project",
44+
"launchBrowser": false,
45+
"launchUrl": "api/swagger",
46+
"environmentVariables": {
47+
"ASPNETCORE_ENVIRONMENT": "Development"
48+
},
49+
"dotnetRunMessages": true,
50+
"applicationUrl": "http://localhost:5218"
4251
}
4352
}
4453
}

DotNet/Audit/Properties/launchSettings.json

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,19 @@
1010
"launchUrl": "http://localhost:7344/swagger",
1111
"applicationUrl": "http://localhost:7344;https://localhost:7355"
1212
},
13-
"Docker": {
14-
"commandName": "Docker",
15-
"DockerfileRunArguments": "--name=Link-Audit --network=local-link -p 7344:8080 -p 7355:8081",
16-
"launchUrl": "http://localhost:7344/swagger",
17-
"launchBrowser": true,
18-
"environmentVariables": {
19-
"ASPNETCORE_ENVIRONMENT": "Development",
20-
"Link__Audit__KafkaConnection__BootstrapServers__0": "kafka:29092/",
21-
"Link__Audit__Logging__Serilog__WriteTo__1__Args__uri": "http://loki:3100",
22-
"Link__Audit__TelemetryConfig__TelemetryCollectorEndpoint": "http://collector:55690",
23-
"ASPNETCORE_URLS": "http://+:8080;https://+:8081",
24-
"ASPNETCORE_HTTP_PORTS": "8080",
25-
"ASPNETCORE_HTTPS_PORTS": "8081",
26-
"Kestrel__Endpoints__Http__Url": "http://*:8080",
27-
"Kestrel__Endpoints__Https__Url": "http://*:8081"
28-
},
29-
"publishAllPorts": true,
30-
"useSSL": true
31-
},
32-
"IISExpress": {
33-
"commandName": "IISExpress",
13+
"http-docker": {
14+
"commandName": "Project",
15+
"launchBrowser": false,
3416
"environmentVariables": {
35-
"ASPNETCORE_ENVIRONMENT": "Development"
17+
"ASPNETCORE_ENVIRONMENT": "Docker",
18+
"KafkaConnection__BootstrapServers__0": "localhost:9094",
19+
"ConnectionStrings__DatabaseConnection": "Server=tcp:localhost,1433;Initial Catalog=link-audit;Persist Security Info=False;User ID=sa;Password=${LINK_DB_PASS};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;",
20+
"Serilog__WriteTo__0__Args__uri": "http://localhost:3100",
21+
"Telemetry__OtelCollectorEndpoint": "http://localhost:4317",
22+
"ServiceRegistry__TenantService__TenantServiceURL": "http://localhost:8074"
3623
},
37-
"ancmHostingModel": "OutOfProcess"
38-
}
39-
},
40-
"iisSettings": {
41-
"windowsAuthentication": false,
42-
"anonymousAuthentication": true,
43-
"iisExpress": {
44-
"applicationUrl": "http://localhost:5234",
45-
"sslPort": 0
24+
"dotnetRunMessages": true,
25+
"applicationUrl": "http://localhost:8062"
4626
}
4727
}
4828
}
Lines changed: 11 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"profiles": {
3-
"Docker": {
4-
"commandName": "Docker",
5-
"launchBrowser": true,
6-
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
3+
"http-docker": {
4+
"commandName": "Project",
5+
"launchBrowser": false,
76
"environmentVariables": {
8-
"ASPNETCORE_ENVIRONMENT": "DockerLocal"
7+
"ASPNETCORE_ENVIRONMENT": "Docker",
8+
"KafkaConnection__BootstrapServers__0": "localhost:9094",
9+
"ConnectionStrings__DatabaseConnection": "Server=tcp:localhost,1433;Initial Catalog=link-census;Persist Security Info=False;User ID=sa;Password=${LINK_DB_PASS};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;",
10+
"Serilog__WriteTo__0__Args__uri": "http://localhost:3100",
11+
"Telemetry__OtelCollectorEndpoint": "http://localhost:4317",
12+
"ServiceRegistry__TenantService__TenantServiceURL": "http://localhost:8074"
913
},
10-
"publishAllPorts": true,
11-
"useSSL": true
14+
"dotnetRunMessages": true,
15+
"applicationUrl": "http://localhost:8068"
1216
},
1317
"ConsoleApp": {
1418
"commandName": "Project",
@@ -18,38 +22,6 @@
1822
},
1923
"dotnetRunMessages": true,
2024
"applicationUrl": "https://localhost:7245;http://localhost:5234"
21-
},
22-
"ConsoleAppSecure": {
23-
"commandName": "Project",
24-
"environmentVariables": {
25-
"ASPNETCORE_ENVIRONMENT": "Development"
26-
},
27-
"dotnetRunMessages": true,
28-
"applicationUrl": "http://localhost:5234"
29-
},
30-
"IISExpress": {
31-
"commandName": "IISExpress",
32-
"launchBrowser": true,
33-
"environmentVariables": {
34-
"ASPNETCORE_ENVIRONMENT": "Development"
35-
},
36-
"ancmHostingModel": "OutOfProcess"
37-
},
38-
"Census": {
39-
"commandName": "Project",
40-
"launchUrl": "swagger",
41-
"environmentVariables": {
42-
"ASPNETCORE_ENVIRONMENT": "Development"
43-
},
44-
"applicationUrl": "http://localhost:5038;https://localhost:7225"
45-
}
46-
},
47-
"iisSettings": {
48-
"windowsAuthentication": false,
49-
"anonymousAuthentication": true,
50-
"iisExpress": {
51-
"applicationUrl": "http://localhost:39776",
52-
"sslPort": 44393
5325
}
5426
}
5527
}

DotNet/DataAcquisition.AcquisitionWorker/Listeners/ReadyToAcquireListener.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected override async Task ExecuteListenerAsync(ConsumeResult<long, ReadyToAc
6161
var logQueries = scope.ServiceProvider.GetRequiredService<IDataAcquisitionLogQueries>();
6262
var dataAcquisitionLogManager = scope.ServiceProvider.GetRequiredService<IDataAcquisitionLogManager>();
6363
DataAcquisitionLogModel? log = null;
64-
_logger.LogInformation("Processing ReadyToAcquire message with log id: {consumeResult.Message.Value.LogId}, and facility id: {consumeResult.Message.Value.FacilityId}", consumeResult.Message.Value.LogId, consumeResult.Message.Value.FacilityId);
64+
_logger.LogInformation("Processing ReadyToAcquire message with log id: {LogId}, and facility id: {FacilityId}", consumeResult.Message.Value.LogId, consumeResult.Message.Value.FacilityId);
6565

6666
try
6767
{
@@ -103,7 +103,7 @@ await dataAcquisitionLogManager.UpdateAsync(new UpdateDataAcquisitionLogModel
103103
}, cancellationToken);
104104
}
105105

106-
_logger.LogError(ex, "Error processing ReadyToAcquire message with log id: {consumeResult.Message.Value.LogId}, and facility id: {consumeResult.Message.Value.FacilityId}", consumeResult.Message.Value.LogId, consumeResult.Message.Value.FacilityId);
106+
_logger.LogError(ex, "Error processing ReadyToAcquire message with log id: {LogId}, and facility id: {FacilityId}", consumeResult.Message.Value.LogId, consumeResult.Message.Value.FacilityId);
107107
throw new DeadLetterException("Error processing ReadyToAcquire message: " + ex.Message, ex);
108108
}
109109
}

DotNet/DataAcquisition.AcquisitionWorker/Properties/launchSettings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"profiles": {
3+
"http": {
4+
"commandName": "Project",
5+
"launchUrl": "swagger",
6+
"environmentVariables": {
7+
"ASPNETCORE_ENVIRONMENT": "Development"
8+
},
9+
"dotnetRunMessages": true,
10+
"applicationUrl": "http://localhost:5059"
11+
},
312
"http-docker": {
413
"commandName": "Project",
514
"launchBrowser": false,
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using LantanaGroup.Link.DataAcquisition.Domain.Application.Models.Factory.ParameterQuery;
2+
using LantanaGroup.Link.DataAcquisition.Domain.Infrastructure.Models.QueryConfig.Parameter;
3+
4+
namespace LantanaGroup.Link.DataAcquisition.Domain.Application.Factories.ParameterFactories;
5+
6+
public interface ILiteralParameterFactory
7+
{
8+
ParameterFactoryResult? Build(LiteralParameter parameter);
9+
}

0 commit comments

Comments
 (0)