Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 9b235e7

Browse files
committed
refactor: rename common project to shared
1 parent c7536b1 commit 9b235e7

23 files changed

+128
-132
lines changed

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ services:
118118
container_name: db-migrations
119119
build:
120120
context: .
121-
dockerfile: src/ServiceLayer.Common/Dockerfile.migrations
121+
dockerfile: src/ServiceLayer.Shared/Dockerfile.migrations
122122
args:
123123
DatabaseConnectionString: "${DatabaseConnectionString}"
124124
depends_on:

src/ServiceLayer.Mesh/Configuration/AppConfiguration.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using ServiceLayer.Common;
2-
31
namespace ServiceLayer.Mesh.Configuration;
42

53
public class AppConfiguration :

src/ServiceLayer.Mesh/DockerFile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 AS installer-env
22
WORKDIR /src/dotnet-function-app
33

44
COPY ./dotnet-mesh-client/application/DotNetMeshClient/NHS.Mesh.Client/NHS.Mesh.Client.csproj ../dotnet-mesh-client/application/DotNetMeshClient/NHS.Mesh.Client/
5-
COPY ./ServiceLayer.Common/ServiceLayer.Common.csproj ../ServiceLayer.Common/
5+
COPY ./ServiceLayer.Shared/ServiceLayer.Shared.csproj ../ServiceLayer.Shared/
66
COPY ./ServiceLayer.Mesh/ServiceLayer.Mesh.csproj .
77
RUN dotnet restore
88

src/ServiceLayer.Mesh/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using ServiceLayer.Mesh.Messaging;
1010
using ServiceLayer.Data;
1111
using ServiceLayer.Mesh.Storage;
12-
using ServiceLayer.Common;
1312
using ServiceLayer.Mesh.FileTypes.NbssAppointmentEvents;
1413

1514
var host = new HostBuilder()

src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</None>
3232
</ItemGroup>
3333
<ItemGroup>
34-
<ProjectReference Include="..\ServiceLayer.Common\ServiceLayer.Common.csproj" />
34+
<ProjectReference Include="..\ServiceLayer.Shared\ServiceLayer.Shared.csproj" />
3535
<Using Include="System.Threading.ExecutionContext" Alias="ExecutionContext" />
3636
<ProjectReference Include="..\dotnet-mesh-client\application\DotNetMeshClient\NHS.Mesh.Client\NHS.Mesh.Client.csproj" />
3737
</ItemGroup>

src/ServiceLayer.Common/Data/DesignTimeDbContextFactory.cs renamed to src/ServiceLayer.Shared/Data/DesignTimeDbContextFactory.cs

File renamed without changes.

src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.Designer.cs renamed to src/ServiceLayer.Shared/Data/Migrations/20250512113115_InitialCreate.Designer.cs

File renamed without changes.

src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.cs renamed to src/ServiceLayer.Shared/Data/Migrations/20250512113115_InitialCreate.cs

File renamed without changes.

src/ServiceLayer.Common/Data/Migrations/20250521094738_AddNbssAppointmentEventTable.Designer.cs renamed to src/ServiceLayer.Shared/Data/Migrations/20250521094738_AddNbssAppointmentEventTable.Designer.cs

File renamed without changes.

src/ServiceLayer.Common/Data/Migrations/20250521094738_AddNbssAppointmentEventTable.cs renamed to src/ServiceLayer.Shared/Data/Migrations/20250521094738_AddNbssAppointmentEventTable.cs

File renamed without changes.

0 commit comments

Comments
 (0)