Skip to content

Commit f8461fd

Browse files
Merge branch 'dev' into snyk-upgrade-991dbd867a9fd94e65072e848f59980e
2 parents a2d40f3 + cb96117 commit f8461fd

1,140 files changed

Lines changed: 87468 additions & 41994 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/dependabot.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.
File renamed without changes.

.github/workflows/deploy-eventcatalog.yml

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

.github/workflows/pr-title-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
} else {
3131
core.setFailed('Cannot determine PR title for validation.')
3232
}
33-
const prTitleExpectedPattern = /(^LNK-\d+:\s)|(^TECH_DEBT:\s)|(^DOCS:\s)|(^SNYK:\s)/g
34-
const prTitleMismatchError = 'Invalid PR title "' + prTitle + '"! Must begin with LNK-nnnn:<space> or TECH_DEBT:<space> or DOCS:<space> or SNYK:<space>, e.g. LNK-1234: My PR title, or TECH_DEBT: My PR title or DOCS: My PR title or [Snyk] My PR title'
33+
const prTitleExpectedPattern = /(^LNK-\d+:\s)|(^TECH_DEBT:\s)|(^DOCS:\s)|(^SNYK:\s)|(^Bump\s)/g
34+
const prTitleMismatchError = 'Invalid PR title "' + prTitle + '"! Must begin with LNK-nnnn:<space> or TECH_DEBT:<space> or DOCS:<space> or SNYK:<space> or Bump<space>, e.g. LNK-1234: My PR title, or TECH_DEBT or DOCS or SNYK or Bump: My PR title or DOCS: My PR title or [Snyk] My PR title'
3535
if (!prTitleExpectedPattern.test(prTitle)) {
3636
// Fail the workflow
3737
console.log(prTitleMismatchError)

.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']

DotNet/Account/Application/Commands/AuditEvent/CreateAuditEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public async Task<bool> Execute(AuditEventMessage model, CancellationToken cance
5252
catch (Exception ex)
5353
{
5454
Activity.Current?.SetStatus(ActivityStatusCode.Error);
55-
Activity.Current?.RecordException(ex);
55+
Activity.Current?.AddException(ex);
5656
_logger.LogAuditEventCreationException(ex.Message, model);
5757
throw;
5858
}

DotNet/Account/Application/Commands/User/DeactivateUser/DeactivateUser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public async Task<bool> Execute(ClaimsPrincipal? requestor, Guid userId, Cancell
9292
catch (Exception ex)
9393
{
9494
Activity.Current?.SetStatus(ActivityStatusCode.Error);
95-
Activity.Current?.RecordException(ex);
95+
Activity.Current?.AddException(ex);
9696
_logger.LogDeactivateUserException(userId.ToString(), ex.Message);
9797
throw;
9898
}

DotNet/Account/Application/Queries/Role/GetRole/GetRole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using LantanaGroup.Link.Account.Application.Interfaces.Factories.Role;
22
using LantanaGroup.Link.Account.Application.Interfaces.Persistence;
33
using LantanaGroup.Link.Account.Application.Models.Role;
4-
using LantanaGroup.Link.Account.Infrastructure;
4+
using LantanaGroup.Link.Shared.Application.Models;
55
using System.Diagnostics;
66

77
namespace LantanaGroup.Link.Account.Application.Queries.Role

DotNet/Account/Application/Queries/Role/GetRoleByName/GetRoleByName.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using LantanaGroup.Link.Account.Application.Interfaces.Factories.Role;
22
using LantanaGroup.Link.Account.Application.Interfaces.Persistence;
33
using LantanaGroup.Link.Account.Application.Models.Role;
4-
using LantanaGroup.Link.Account.Infrastructure;
4+
using LantanaGroup.Link.Shared.Application.Models;
55
using System.Diagnostics;
66

77
namespace LantanaGroup.Link.Account.Application.Queries.Role

0 commit comments

Comments
 (0)