Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
// Copyright (c) North East London ICB. All rights reserved.
// ---------------------------------------------------------------

using NEL.MESH.Infrastructure.Services;

namespace NEL.MESH.Infrastructure
// ---------------------------------------------------------------
// Copyright (c) North East London ICB. All rights reserved.
// ---------------------------------------------------------------

using NHSISL.MESH.Infrastructure.Services;

namespace NHSISL.MESH.Infrastructure
{
internal class Program
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
using ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks;
using ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks.SetupDotNetTaskV3s;

namespace NEL.MESH.Infrastructure.Services
namespace NHSISL.MESH.Infrastructure.Services
{
internal class ScriptGenerationService
{
private readonly ADotNetClient adotNetClient;

public ScriptGenerationService() =>
this.adotNetClient = new ADotNetClient();
adotNetClient = new ADotNetClient();

public void GenerateBuildScript()
{
Expand Down Expand Up @@ -88,7 +88,7 @@ public void GenerateBuildScript()
Directory.CreateDirectory(directoryPath);
}

this.adotNetClient.SerializeAndWriteToFile(
adotNetClient.SerializeAndWriteToFile(
githubPipeline,
path: buildScriptPath);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Microsoft.Extensions.Configuration;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class ConfigurationTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Microsoft.Extensions.Configuration;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class ConfigurationTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Clients.Mailboxes;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Clients.Mailboxes;
using NHSISL.MESH.Models.Foundations.Mesh;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh.ExternalModels;
using NHSISL.MESH.Models.Foundations.Mesh.ExternalModels;
using Newtonsoft.Json;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Clients.Mailboxes;
using NEL.MESH.Models.Foundations.Mesh;
using NEL.MESH.Models.Foundations.Mesh.ExternalModels;
using NHSISL.MESH.Clients.Mailboxes;
using NHSISL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh.ExternalModels;
using Newtonsoft.Json;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Clients.Mailboxes;
using NEL.MESH.Models.Foundations.Mesh;
using NEL.MESH.Models.Foundations.Mesh.ExternalModels;
using NHSISL.MESH.Clients.Mailboxes;
using NHSISL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh.ExternalModels;
using Newtonsoft.Json;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh;
using Newtonsoft.Json;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Xunit;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Microsoft.Extensions.Configuration;
using NEL.MESH.Clients;
using NEL.MESH.Models.Configurations;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Clients;
using NHSISL.MESH.Models.Configurations;
using NHSISL.MESH.Models.Foundations.Mesh;
using Tynamix.ObjectFiller;
using WireMock.Server;

namespace NEL.MESH.Tests.Acceptance
namespace NHSISL.MESH.Tests.Acceptance
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\NEL.MESH\NEL.MESH.csproj" />
<ProjectReference Include="..\NHSISL.MESH\NHSISL.MESH.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
46 changes: 46 additions & 0 deletions NHSISL.MESH.Tests.Acceptance/NHSISL.MESH.Tests.Acceptance.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>disable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<IsPackable>false</IsPackable>
<Configurations>Debug;Release;Test;Acceptance</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CompareNETObjects" Version="4.83.0" />
<PackageReference Include="DeepCloner" Version="0.10.4" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="CleanMoq" Version="42.42.42" />
<PackageReference Include="Tynamix.ObjectFiller" Version="1.5.8" />
<PackageReference Include="WireMock.Net" Version="1.5.46" />
<PackageReference Include="Xeption" Version="2.6.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\NHSISL.MESH\NHSISL.MESH.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="local.appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Microsoft.Extensions.Configuration;
using NEL.MESH.Clients;
using NEL.MESH.Models.Configurations;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Clients;
using NHSISL.MESH.Models.Configurations;
using NHSISL.MESH.Models.Foundations.Mesh;
using Tynamix.ObjectFiller;
using Xunit.Abstractions;


namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
using System;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
using System;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Clients.Mailboxes;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Clients.Mailboxes;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using FluentAssertions;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
using System;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Clients.Mesh.Exceptions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Clients.Mesh.Exceptions;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using NEL.MESH.Models.Clients.Mesh.Exceptions;
using NEL.MESH.Models.Foundations.Mesh;
using NHSISL.MESH.Models.Clients.Mesh.Exceptions;
using NHSISL.MESH.Models.Foundations.Mesh;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

using System.Threading.Tasks;
using Force.DeepCloner;
using NEL.MESH.Clients;
using NHSISL.MESH.Clients;
using Xunit;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class MeshClientTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using FluentAssertions;
using Microsoft.Extensions.Configuration;

namespace NEL.MESH.Tests.Integration.Witness
namespace NHSISL.MESH.Tests.Integration.Witness
{
public partial class ConfigurationTests
{
Expand Down
Loading