diff --git a/src/Service.Dashboard/src/Domain.Shared/Enums/ProcessorType.cs b/src/Service.Dashboard/src/Domain.Shared/Enums/ProcessorType.cs deleted file mode 100644 index 5e3c87ce..00000000 --- a/src/Service.Dashboard/src/Domain.Shared/Enums/ProcessorType.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Giantnodes.Service.Dashboard.Domain.Shared.Enums; - -public enum ProcessorType -{ - Cpu, - Gpu -} \ No newline at end of file diff --git a/src/Service.Dashboard/src/HttpApi/Dockerfile b/src/Service.Dashboard/src/HttpApi/Dockerfile deleted file mode 100644 index 8734ed17..00000000 --- a/src/Service.Dashboard/src/HttpApi/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base -WORKDIR /app -EXPOSE 80 -EXPOSE 443 - -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build -WORKDIR /src -COPY ["src/Giantnodes.Service.Dashboard.HttpApi/Giantnodes.Service.Dashboard.HttpApi.csproj", "src/Giantnodes.Service.Dashboard.HttpApi/"] -RUN dotnet restore "src/Giantnodes.Service.Dashboard.HttpApi/Giantnodes.Service.Dashboard.HttpApi.csproj" -COPY . . -WORKDIR "/src/src/Giantnodes.Service.Dashboard.HttpApi" -RUN dotnet build "Giantnodes.Service.Dashboard.HttpApi.csproj" -c Release -o /app/build - -FROM build AS publish -RUN dotnet publish "Giantnodes.Service.Dashboard.HttpApi.csproj" -c Release -o /app/publish /p:UseAppHost=false - -FROM base AS final -WORKDIR /app -COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "Giantnodes.Service.Dashboard.HttpApi.dll"] diff --git a/src/Service.Encoder/src/Console/appsettings.Development.json b/src/Service.Encoder/src/Console/appsettings.Development.json index e0c05bff..ac7a3177 100644 --- a/src/Service.Encoder/src/Console/appsettings.Development.json +++ b/src/Service.Encoder/src/Console/appsettings.Development.json @@ -1,11 +1,9 @@ { "ConnectionStrings": { - "DatabaseConnection": "Host=localhost;Database=giantnodes.service.dashboard;Username=postgres;Password=password;Include Error Detail=true" + "DatabaseConnection": "Host=localhost;Database=Giantnodes.Service.Orchestrator;Username=postgres;Password=password;Include Error Detail=true" }, "Serilog": { - "Using": [ - "Serilog.Sinks.Console" - ], + "Using": ["Serilog.Sinks.Console"], "MinimumLevel": { "Default": "Debug", "Override": { @@ -20,4 +18,4 @@ } ] } -} \ No newline at end of file +} diff --git a/src/Service.Encoder/src/Console/appsettings.json b/src/Service.Encoder/src/Console/appsettings.json index 802c16f8..cae2be8f 100644 --- a/src/Service.Encoder/src/Console/appsettings.json +++ b/src/Service.Encoder/src/Console/appsettings.json @@ -1,11 +1,9 @@ { "ConnectionStrings": { - "DatabaseConnection": "Host=localhost;Database=giantnodes.service.dashboard;Username=postgres;Password=password;Include Error Detail=true" + "DatabaseConnection": "Host=localhost;Database=Giantnodes.Service.Orchestrator;Username=postgres;Password=password;Include Error Detail=true" }, "Serilog": { - "Using": [ - "Serilog.Sinks.Console" - ], + "Using": ["Serilog.Sinks.Console"], "MinimumLevel": { "Default": "Information", "Override": { @@ -20,4 +18,4 @@ } ] } -} \ No newline at end of file +} diff --git a/src/Service.Dashboard/.dockerignore b/src/Service.Orchestrator/.dockerignore similarity index 100% rename from src/Service.Dashboard/.dockerignore rename to src/Service.Orchestrator/.dockerignore diff --git a/src/Service.Dashboard/Giantnodes.Service.Dashboard.sln b/src/Service.Orchestrator/Giantnodes.Service.Orchestrator.sln similarity index 84% rename from src/Service.Dashboard/Giantnodes.Service.Dashboard.sln rename to src/Service.Orchestrator/Giantnodes.Service.Orchestrator.sln index 9d0c82ec..c873802f 100644 --- a/src/Service.Dashboard/Giantnodes.Service.Dashboard.sln +++ b/src/Service.Orchestrator/Giantnodes.Service.Orchestrator.sln @@ -16,29 +16,29 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Infrastructure.M EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".services", ".services", "{8B9BA4E8-9DAF-47C9-9829-DAF932876C3B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.HttpApi", "src\HttpApi\Giantnodes.Service.Dashboard.HttpApi.csproj", "{41C6A8F1-A1D9-451B-9162-D8A5404A3C39}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.HttpApi", "src\HttpApi\Giantnodes.Service.Orchestrator.HttpApi.csproj", "{41C6A8F1-A1D9-451B-9162-D8A5404A3C39}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D6738E45-B322-4CF5-8AAA-10B3003D7EEA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Application.Components", "src\Application.Components\Giantnodes.Service.Dashboard.Application.Components.csproj", "{027CE64C-015E-442E-A233-696A4B89D2AE}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Application.Components", "src\Application.Components\Giantnodes.Service.Orchestrator.Application.Components.csproj", "{027CE64C-015E-442E-A233-696A4B89D2AE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Application.Contracts", "src\Application.Contracts\Giantnodes.Service.Dashboard.Application.Contracts.csproj", "{3337779A-A582-4B1C-A19E-0AD6C8F3E6AD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Application.Contracts", "src\Application.Contracts\Giantnodes.Service.Orchestrator.Application.Contracts.csproj", "{3337779A-A582-4B1C-A19E-0AD6C8F3E6AD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Domain", "src\Domain\Giantnodes.Service.Dashboard.Domain.csproj", "{B703C820-B6BF-4297-875E-07BE59FD4000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Domain", "src\Domain\Giantnodes.Service.Orchestrator.Domain.csproj", "{B703C820-B6BF-4297-875E-07BE59FD4000}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Domain.Shared", "src\Domain.Shared\Giantnodes.Service.Dashboard.Domain.Shared.csproj", "{FD25D825-DF1E-4C5F-AA33-D0A13739B4E0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Domain.Shared", "src\Domain.Shared\Giantnodes.Service.Orchestrator.Domain.Shared.csproj", "{FD25D825-DF1E-4C5F-AA33-D0A13739B4E0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Infrastructure", "src\Infrastructure\Giantnodes.Service.Dashboard.Infrastructure.csproj", "{B2239264-4E0C-4428-8BC1-D9D9C56EE389}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Infrastructure", "src\Infrastructure\Giantnodes.Service.Orchestrator.Infrastructure.csproj", "{B2239264-4E0C-4428-8BC1-D9D9C56EE389}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Persistence", "src\Persistence\Giantnodes.Service.Dashboard.Persistence.csproj", "{55626EB5-C72A-4D36-9BE0-4397BF170445}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Persistence", "src\Persistence\Giantnodes.Service.Orchestrator.Persistence.csproj", "{55626EB5-C72A-4D36-9BE0-4397BF170445}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{27214AD8-98E7-4A7D-B67B-575AC944C369}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Application.Components.Tests.Unit", "tests\Giantnodes.Service.Dashboard.Application.Components.Tests.Unit\Giantnodes.Service.Dashboard.Application.Components.Tests.Unit.csproj", "{2120E351-42AA-4478-86C6-DC35AB4E47DA}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit", "tests\Application.Components.Tests.Unit\Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit.csproj", "{2120E351-42AA-4478-86C6-DC35AB4E47DA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Domain.Tests.Unit", "tests\Giantnodes.Service.Dashboard.Domain.Tests.Unit\Giantnodes.Service.Dashboard.Domain.Tests.Unit.csproj", "{B170206F-710A-4314-9255-EF861FD3A135}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Domain.Tests.Unit", "tests\Domain.Tests.Unit\Giantnodes.Service.Orchestrator.Domain.Tests.Unit.csproj", "{B170206F-710A-4314-9255-EF861FD3A135}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Dashboard.Tests.Shared", "tests\Giantnodes.Service.Dashboard.Tests.Shared\Giantnodes.Service.Dashboard.Tests.Shared.csproj", "{80D27505-2E68-4F77-B7FD-78A1C0F237FD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giantnodes.Service.Orchestrator.Tests.Shared", "tests\Tests.Shared\Giantnodes.Service.Orchestrator.Tests.Shared.csproj", "{80D27505-2E68-4F77-B7FD-78A1C0F237FD}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/Service.Dashboard/Giantnodes.Service.Dashboard.sln.DotSettings b/src/Service.Orchestrator/Giantnodes.Service.Orchestrator.sln.DotSettings similarity index 100% rename from src/Service.Dashboard/Giantnodes.Service.Dashboard.sln.DotSettings rename to src/Service.Orchestrator/Giantnodes.Service.Orchestrator.sln.DotSettings diff --git a/src/Service.Dashboard/global.json b/src/Service.Orchestrator/global.json similarity index 100% rename from src/Service.Dashboard/global.json rename to src/Service.Orchestrator/global.json diff --git a/src/Service.Dashboard/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs similarity index 79% rename from src/Service.Dashboard/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs index 391c4d40..a37bf905 100644 --- a/src/Service.Dashboard/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Directories/Commands/DirectoryProbeConsumer.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Faults; -using Giantnodes.Service.Dashboard.Application.Contracts.Directories.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.Repositories; using Giantnodes.Service.Encoder.Application.Contracts.Probing.Jobs; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Directories.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Directories.Commands; public class DirectoryProbeConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs similarity index 80% rename from src/Service.Dashboard/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs index 7bce06ef..41ddce45 100644 --- a/src/Service.Dashboard/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Directories/Queries/GetFileResolutionDistributionConsumer.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Faults; -using Giantnodes.Service.Dashboard.Application.Contracts.Directories.Queries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Queries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Directories.Queries; +namespace Giantnodes.Service.Orchestrator.Application.Components.Directories.Queries; public class GetFileResolutionDistributionConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs similarity index 77% rename from src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs index 5f75b8d3..a9fff562 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeCancelConsumer.cs @@ -1,11 +1,11 @@ using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Commands; public class EncodeCancelConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs similarity index 80% rename from src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs index 41ad79bb..65cc2c56 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Commands/EncodeSubmitConsumer.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Commands; public class EncodeSubmitConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs similarity index 74% rename from src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs index f9a51fe2..4259153b 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeOutputtedTopic.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; using HotChocolate.Subscriptions; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Events; public class RaiseEncodeOutputtedTopic : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs similarity index 74% rename from src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs index 70a10dfd..fd4e20f6 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeProgressedTopic.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; using HotChocolate.Subscriptions; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Events; public class RaiseEncodeProgressedTopic : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs similarity index 74% rename from src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs index b21b2dd8..3a145313 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeSpeedTopic.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; using HotChocolate.Subscriptions; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Events; public class RaiseEncodeSpeedTopic : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs similarity index 74% rename from src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs index 65536a0f..62e8b9ba 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Events/RaiseEncodeStatusChangedTopic.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; using HotChocolate.Subscriptions; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Events; public class RaiseEncodeStatusChangedTopic : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs similarity index 89% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs index 4a59dbaf..0ab08128 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeFailedActivity.cs @@ -1,9 +1,9 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeFailedActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs similarity index 84% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs index 07217ca2..0f95c7bf 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationBuiltActivity.cs @@ -1,12 +1,12 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; -using Giantnodes.Service.Dashboard.Domain.Values; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Domain.Values; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeOperationBuiltActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs similarity index 87% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs index 1e62841d..c56a48da 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationCompletedActivity.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeOperationCompletedActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs index 1279d1ad..25bb1a73 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationOutputtedDataActivity.cs @@ -1,11 +1,11 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeOperationOutputtedDataActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs similarity index 88% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs index 2e19c30f..6a9be125 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationProgressedActivity.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeOperationProgressedActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs similarity index 84% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs index 6a4da83b..c808b216 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeOperationStartedActivity.cs @@ -1,11 +1,11 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeOperationStartedActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs index 2e12d9ea..6971c115 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeRequestActivity.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Commands; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeRequestActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs index ef5b031f..b52a2f06 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/EncodeSetupActivity.cs @@ -1,10 +1,10 @@ using System.IO.Abstractions; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class EncodeSetupActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs similarity index 94% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs index 479a679e..354f43de 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileCleanUpActivity.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.IO.Abstractions; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using MassTransit; using Microsoft.Extensions.Logging; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class FileCleanUpActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs index 2762ea0e..7e28735e 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/Activities/FileProbedActivity.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Probing.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; public class FileProbedActivity : IStateMachineActivity { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs similarity index 94% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs index 84cca5f5..0b1e8017 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachine.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas.Activities; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas.Activities; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Commands; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using Giantnodes.Service.Encoder.Application.Contracts.Probing.Events; @@ -8,7 +8,7 @@ using MassTransit; using MassTransit.Contracts.JobService; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas; public sealed class EncodeStateMachine : MassTransitStateMachine { diff --git a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs similarity index 88% rename from src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs rename to src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs index 5dfdd960..afa74534 100644 --- a/src/Service.Dashboard/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs +++ b/src/Service.Orchestrator/src/Application.Components/Encodes/Sagas/EncodeStateMachineDefinition.cs @@ -1,10 +1,10 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using Giantnodes.Service.Encoder.Application.Contracts.Encoding.Events; using Giantnodes.Service.Encoder.Application.Contracts.Probing.Events; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Encodes.Sagas; +namespace Giantnodes.Service.Orchestrator.Application.Components.Encodes.Sagas; public class EncodeStateMachineDefinition : SagaDefinition { diff --git a/src/Service.Dashboard/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs b/src/Service.Orchestrator/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs similarity index 83% rename from src/Service.Dashboard/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs rename to src/Service.Orchestrator/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs index 362cd9f0..6cd88027 100644 --- a/src/Service.Dashboard/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs +++ b/src/Service.Orchestrator/src/Application.Components/Files/Events/CreateFileSystemFileStreams.cs @@ -1,12 +1,12 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; using Giantnodes.Service.Encoder.Application.Contracts.Probing.Events; using MassTransit; -using FileStream = Giantnodes.Service.Dashboard.Domain.Values.FileStream; +using FileStream = Giantnodes.Service.Orchestrator.Domain.Values.FileStream; -namespace Giantnodes.Service.Dashboard.Application.Components.Files.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Files.Events; public class CreateFileSystemFileStreams : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Giantnodes.Service.Dashboard.Application.Components.csproj b/src/Service.Orchestrator/src/Application.Components/Giantnodes.Service.Orchestrator.Application.Components.csproj similarity index 88% rename from src/Service.Dashboard/src/Application.Components/Giantnodes.Service.Dashboard.Application.Components.csproj rename to src/Service.Orchestrator/src/Application.Components/Giantnodes.Service.Orchestrator.Application.Components.csproj index 8affa1d8..b65d6564 100644 --- a/src/Service.Dashboard/src/Application.Components/Giantnodes.Service.Dashboard.Application.Components.csproj +++ b/src/Service.Orchestrator/src/Application.Components/Giantnodes.Service.Orchestrator.Application.Components.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs index b7973d5f..4ef26a24 100644 --- a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryCreateConsumer.cs @@ -2,13 +2,13 @@ using EntityFramework.Exceptions.Common; using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; using MassTransit; using Npgsql; -namespace Giantnodes.Service.Dashboard.Application.Components.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Libraries.Commands; public class LibraryCreateConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs similarity index 83% rename from src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs index 5ef5920b..2d8142a8 100644 --- a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryScanConsumer.cs @@ -1,11 +1,11 @@ using System.IO.Abstractions; using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Libraries.Commands; public class LibraryScanConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs similarity index 88% rename from src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs index 11b9fdbc..8db11e9e 100644 --- a/src/Service.Dashboard/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Libraries/Commands/LibraryUpdateConsumer.cs @@ -1,12 +1,12 @@ using EntityFramework.Exceptions.Common; using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; using MassTransit; using Npgsql; -namespace Giantnodes.Service.Dashboard.Application.Components.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Libraries.Commands; public class LibraryUpdateConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs b/src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs similarity index 79% rename from src/Service.Dashboard/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs rename to src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs index ffc293d1..695b78ad 100644 --- a/src/Service.Dashboard/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs +++ b/src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnFileSystemChangedScan.cs @@ -1,10 +1,10 @@ using System.IO.Abstractions; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Libraries.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Libraries.Events; public class OnFileSystemChangedScan : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs b/src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs similarity index 80% rename from src/Service.Dashboard/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs rename to src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs index 698b77d1..376f1648 100644 --- a/src/Service.Dashboard/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs +++ b/src/Service.Orchestrator/src/Application.Components/Libraries/Events/OnLibraryMonitoringChange.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Libraries.Events; +namespace Giantnodes.Service.Orchestrator.Application.Components.Libraries.Events; public class OnLibraryMonitoringChange : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs similarity index 88% rename from src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs index a0f38759..a2064206 100644 --- a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeCreateConsumer.cs @@ -2,14 +2,14 @@ using Giantnodes.Infrastructure; using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; using MassTransit; using Npgsql; -namespace Giantnodes.Service.Dashboard.Application.Components.Recipes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Recipes.Commands; public class RecipeCreateConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs similarity index 81% rename from src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs index d3fe81e6..a0b57dfe 100644 --- a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeDeleteConsumer.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; using MassTransit; -namespace Giantnodes.Service.Dashboard.Application.Components.Recipes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Recipes.Commands; public class RecipeDeleteConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs rename to src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs index 7eeb51a0..51a8a8de 100644 --- a/src/Service.Dashboard/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs +++ b/src/Service.Orchestrator/src/Application.Components/Recipes/Commands/RecipeUpdateConsumer.cs @@ -2,13 +2,13 @@ using Giantnodes.Infrastructure; using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; using MassTransit; using Npgsql; -namespace Giantnodes.Service.Dashboard.Application.Components.Recipes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Recipes.Commands; public class RecipeUpdateConsumer : IConsumer { diff --git a/src/Service.Dashboard/src/Application.Components/Setup.cs b/src/Service.Orchestrator/src/Application.Components/Setup.cs similarity index 75% rename from src/Service.Dashboard/src/Application.Components/Setup.cs rename to src/Service.Orchestrator/src/Application.Components/Setup.cs index bd783a6c..fae7b075 100644 --- a/src/Service.Dashboard/src/Application.Components/Setup.cs +++ b/src/Service.Orchestrator/src/Application.Components/Setup.cs @@ -2,14 +2,14 @@ using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Giantnodes.Service.Dashboard.Application.Components; +namespace Giantnodes.Service.Orchestrator.Application.Components; public static class Setup { public static IServiceCollection SetupApplicationComponents(this IServiceCollection services) { services - .AddValidatorsFromAssembly(Assembly.Load("Giantnodes.Service.Dashboard.Application.Contracts")); + .AddValidatorsFromAssembly(Assembly.Load("Giantnodes.Service.Orchestrator.Application.Contracts")); return services; } diff --git a/src/Service.Dashboard/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs b/src/Service.Orchestrator/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs rename to src/Service.Orchestrator/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs index 3daf84c5..b3f4f7ab 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Directories/Commands/DirectoryProbe.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Directories.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Commands; public sealed class DirectoryProbe { diff --git a/src/Service.Dashboard/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs b/src/Service.Orchestrator/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs similarity index 79% rename from src/Service.Dashboard/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs rename to src/Service.Orchestrator/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs index 09bcf9c8..63c02c7c 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Directories/Queries/GetFileResolutionDistribution.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Directories.Queries; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Queries; public sealed class GetFileResolutionDistribution { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs index 30f2ecbf..21209d07 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeCancel.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; public sealed class EncodeCancel { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs similarity index 87% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs index 382aac90..9d552349 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Commands/EncodeSubmit.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; public sealed class EncodeSubmit { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs similarity index 66% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs index a3793b4c..16f84049 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCancelledEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeCancelledEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs similarity index 79% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs index 60ba5753..cc4ad3fe 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeCreatedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeCreatedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs similarity index 76% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs index df858923..57d7d8a8 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeOutputtedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeOutputtedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs similarity index 72% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs index ecde7fb2..d8a106d3 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeProgressedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeProgressedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs similarity index 79% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs index fd1ab492..b8a23894 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeSpeedChangedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeSpeedChangedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs similarity index 66% rename from src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs index d95f97f9..c89b1117 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Encodes/Events/EncodeStatusChangedEvent.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure.Domain.Events; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; public sealed record EncodeStatusChangedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Giantnodes.Service.Dashboard.Application.Contracts.csproj b/src/Service.Orchestrator/src/Application.Contracts/Giantnodes.Service.Orchestrator.Application.Contracts.csproj similarity index 90% rename from src/Service.Dashboard/src/Application.Contracts/Giantnodes.Service.Dashboard.Application.Contracts.csproj rename to src/Service.Orchestrator/src/Application.Contracts/Giantnodes.Service.Orchestrator.Application.Contracts.csproj index 26d1f6cc..0d622caf 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Giantnodes.Service.Dashboard.Application.Contracts.csproj +++ b/src/Service.Orchestrator/src/Application.Contracts/Giantnodes.Service.Orchestrator.Application.Contracts.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs rename to src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs index 5db6a6bc..33219b7e 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryCreate.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; public sealed class LibraryCreate { diff --git a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryScan.cs b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryScan.cs similarity index 85% rename from src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryScan.cs rename to src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryScan.cs index 6bd61c29..d5523fd5 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryScan.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryScan.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; public sealed class LibraryScan { diff --git a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs rename to src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs index f8b66baf..d57546c3 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Commands/LibraryUpdate.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; public sealed class LibraryUpdate { diff --git a/src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs similarity index 78% rename from src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs index 5d145875..1c26e99e 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryFileSystemChangedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; public sealed record LibraryFileSystemChangedEvent : IntegrationEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs similarity index 72% rename from src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs rename to src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs index 1a5747e9..7c342608 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Libraries/Events/LibraryMonitoringChangedEvent.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Events; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; public sealed record LibraryMonitoringChangedEvent : DomainEvent { diff --git a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeCreate.cs b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeCreate.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeCreate.cs rename to src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeCreate.cs index 9b589207..3b997eee 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeCreate.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeCreate.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Recipes; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; public sealed class RecipeCreate { diff --git a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeDelete.cs b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeDelete.cs similarity index 86% rename from src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeDelete.cs rename to src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeDelete.cs index 74808d9b..a10ba39d 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeDelete.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeDelete.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Recipes; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; public sealed class RecipeDelete { diff --git a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeUpdate.cs b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeUpdate.cs similarity index 91% rename from src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeUpdate.cs rename to src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeUpdate.cs index 31c7b461..2f85413f 100644 --- a/src/Service.Dashboard/src/Application.Contracts/Recipes/RecipeUpdate.cs +++ b/src/Service.Orchestrator/src/Application.Contracts/Recipes/RecipeUpdate.cs @@ -1,7 +1,7 @@ using FluentValidation; using Giantnodes.Infrastructure.Messages; -namespace Giantnodes.Service.Dashboard.Application.Contracts.Recipes; +namespace Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; public sealed class RecipeUpdate { diff --git a/src/Service.Dashboard/src/Domain.Shared/Enums/EncodeStatus.cs b/src/Service.Orchestrator/src/Domain.Shared/Enums/EncodeStatus.cs similarity index 66% rename from src/Service.Dashboard/src/Domain.Shared/Enums/EncodeStatus.cs rename to src/Service.Orchestrator/src/Domain.Shared/Enums/EncodeStatus.cs index 8a3206e4..d88de829 100644 --- a/src/Service.Dashboard/src/Domain.Shared/Enums/EncodeStatus.cs +++ b/src/Service.Orchestrator/src/Domain.Shared/Enums/EncodeStatus.cs @@ -1,4 +1,4 @@ -namespace Giantnodes.Service.Dashboard.Domain.Shared.Enums; +namespace Giantnodes.Service.Orchestrator.Domain.Shared.Enums; public enum EncodeStatus { diff --git a/src/Service.Dashboard/src/Domain.Shared/Enums/FileSystemStatus.cs b/src/Service.Orchestrator/src/Domain.Shared/Enums/FileSystemStatus.cs similarity index 51% rename from src/Service.Dashboard/src/Domain.Shared/Enums/FileSystemStatus.cs rename to src/Service.Orchestrator/src/Domain.Shared/Enums/FileSystemStatus.cs index 485966d2..ba1e192b 100644 --- a/src/Service.Dashboard/src/Domain.Shared/Enums/FileSystemStatus.cs +++ b/src/Service.Orchestrator/src/Domain.Shared/Enums/FileSystemStatus.cs @@ -1,4 +1,4 @@ -namespace Giantnodes.Service.Dashboard.Domain.Shared.Enums; +namespace Giantnodes.Service.Orchestrator.Domain.Shared.Enums; public enum FileSystemStatus { diff --git a/src/Service.Orchestrator/src/Domain.Shared/Enums/ProcessorType.cs b/src/Service.Orchestrator/src/Domain.Shared/Enums/ProcessorType.cs new file mode 100644 index 00000000..d3555a86 --- /dev/null +++ b/src/Service.Orchestrator/src/Domain.Shared/Enums/ProcessorType.cs @@ -0,0 +1,7 @@ +namespace Giantnodes.Service.Orchestrator.Domain.Shared.Enums; + +public enum ProcessorType +{ + Cpu, + Gpu +} \ No newline at end of file diff --git a/src/Service.Dashboard/src/Domain.Shared/Giantnodes.Service.Dashboard.Domain.Shared.csproj b/src/Service.Orchestrator/src/Domain.Shared/Giantnodes.Service.Orchestrator.Domain.Shared.csproj similarity index 100% rename from src/Service.Dashboard/src/Domain.Shared/Giantnodes.Service.Dashboard.Domain.Shared.csproj rename to src/Service.Orchestrator/src/Domain.Shared/Giantnodes.Service.Orchestrator.Domain.Shared.csproj diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Encode.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Encode.cs similarity index 92% rename from src/Service.Dashboard/src/Domain/Aggregates/Encodes/Encode.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Encode.cs index 16458cdb..d1c21969 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Encode.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Encode.cs @@ -1,16 +1,16 @@ using Ardalis.GuardClauses; using Giantnodes.Infrastructure.Domain.Entities; using Giantnodes.Infrastructure.Domain.Entities.Auditing; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Domain.Values; using MassTransit; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; public class Encode : AggregateRoot, ITimestampableEntity { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs similarity index 88% rename from src/Service.Dashboard/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs index e04767a3..f3329977 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Entities/EncodeSnapshot.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Domain.Entities; using Giantnodes.Infrastructure.Domain.Entities.Auditing; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; using MassTransit; -using FileStream = Giantnodes.Service.Dashboard.Domain.Values.FileStream; +using FileStream = Giantnodes.Service.Orchestrator.Domain.Values.FileStream; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; public class EncodeSnapshot : Entity, ITimestampableEntity { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs similarity index 58% rename from src/Service.Dashboard/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs index 63f4da2a..e3f281bd 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Repositories/IEncodeRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; public interface IEncodeRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs similarity index 88% rename from src/Service.Dashboard/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs index b3f83a29..531f416c 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Encodes/Values/EncodeSpeed.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Values; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values; public class EncodeSpeed : ValueObject { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs similarity index 82% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs index ce8a155d..4d19ffee 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/FileSystemDirectory.cs @@ -1,7 +1,7 @@ using System.IO.Abstractions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; public class FileSystemDirectory : FileSystemEntry { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs similarity index 60% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs index 6ebf9a39..50d401e4 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Directories/Repositories/IFileSystemDirectoryRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.Repositories; public interface IFileSystemDirectoryRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/FileSystemEntry.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/FileSystemEntry.cs similarity index 76% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/FileSystemEntry.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/FileSystemEntry.cs index 7e0d2a8b..646dffa1 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/FileSystemEntry.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/FileSystemEntry.cs @@ -1,15 +1,15 @@ using System.IO.Abstractions; using Giantnodes.Infrastructure.Domain.Entities; using Giantnodes.Infrastructure.Domain.Entities.Auditing; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services; -using Giantnodes.Service.Dashboard.Domain.Services; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services; +using Giantnodes.Service.Orchestrator.Domain.Services; +using Giantnodes.Service.Orchestrator.Domain.Values; using MassTransit; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; public abstract class FileSystemEntry : AggregateRoot, ITimestampableEntity { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs similarity index 79% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs index 00a9c534..83c255db 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/FileSystemFile.cs @@ -1,12 +1,12 @@ using System.IO.Abstractions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Values; -using FileStream = Giantnodes.Service.Dashboard.Domain.Values.FileStream; - -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Values; +using FileStream = Giantnodes.Service.Orchestrator.Domain.Values.FileStream; + +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; public class FileSystemFile : FileSystemEntry { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs similarity index 59% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs index 2769ae6e..e494d7e4 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Repositories/IFileSystemFileRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Repositories; public interface IFileSystemFileRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs similarity index 83% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs index ba217a01..8623ad66 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Files/Values/VideoQuality.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure.Domain.Values; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; public class VideoQuality : ValueObject { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs similarity index 61% rename from src/Service.Dashboard/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs index cb9bb10b..4beb5b59 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Entries/Repositories/IFileSystemEntryRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Repositories; public interface IFileSystemEntryRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Library.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Library.cs similarity index 91% rename from src/Service.Dashboard/src/Domain/Aggregates/Libraries/Library.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Library.cs index 714a38fc..e06e40cc 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Library.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Library.cs @@ -2,15 +2,15 @@ using System.Security; using Giantnodes.Infrastructure.Domain.Entities; using Giantnodes.Infrastructure.Domain.Entities.Auditing; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Domain.Values; using MassTransit; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; public class Library : AggregateRoot, ITimestampableEntity { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs similarity index 58% rename from src/Service.Dashboard/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs index 3bcf3cbc..f51fdd7d 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Repositories/ILibraryRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; public interface ILibraryRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs similarity index 92% rename from src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs index c4d1044f..7739f7d7 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/ILibraryMonitoringService.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure.DependencyInjection; using Giantnodes.Infrastructure.Domain.Services; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services; public interface ILibraryMonitoringService : IDomainService, ISingletonDependency { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs similarity index 81% rename from src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs index 0d2a5674..980e923a 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Libraries/Services/Impl/LibraryMonitoringService.cs @@ -1,9 +1,9 @@ using System.IO.Abstractions; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Events; -using Giantnodes.Service.Dashboard.Domain.Services; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Events; +using Giantnodes.Service.Orchestrator.Domain.Services; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services.Impl; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services.Impl; public class LibraryMonitoringService : ILibraryMonitoringService { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Recipe.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Recipe.cs similarity index 90% rename from src/Service.Dashboard/src/Domain/Aggregates/Recipes/Recipe.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Recipe.cs index bd8c8ab9..6fdf7d84 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Recipe.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Recipe.cs @@ -1,12 +1,12 @@ using Ardalis.GuardClauses; using Giantnodes.Infrastructure.Domain.Entities; using Giantnodes.Infrastructure.Domain.Entities.Auditing; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Specifications; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Specifications; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; using MassTransit; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; public class Recipe : AggregateRoot, ITimestampableEntity, ISoftDeletableEntity { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs similarity index 58% rename from src/Service.Dashboard/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs index 75d68a2d..e92cef95 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Repositories/IRecipeRepository.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Repositories; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; public interface IRecipeRepository : IRepository { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs similarity index 76% rename from src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs index db2a1da2..1e44f4b4 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsEncodableSpecification.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Specifications.Compositions; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Specifications; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Specifications; public class IsEncodableSpecification : AndSpecification { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs similarity index 82% rename from src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs index c7b4d288..7e969671 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsQualitySupportedSpecification.cs @@ -1,7 +1,7 @@ using System.Linq.Expressions; using Giantnodes.Infrastructure.Domain.Specifications; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Specifications; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Specifications; public class IsQualitySupportedSpecification : Specification { diff --git a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs similarity index 78% rename from src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs rename to src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs index f6b327f8..f06d1ecd 100644 --- a/src/Service.Dashboard/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs +++ b/src/Service.Orchestrator/src/Domain/Aggregates/Recipes/Specifications/IsTuneSupportedSpecification.cs @@ -1,7 +1,7 @@ using System.Linq.Expressions; using Giantnodes.Infrastructure.Domain.Specifications; -namespace Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Specifications; +namespace Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Specifications; public class IsTuneSupportedSpecification : Specification { diff --git a/src/Service.Dashboard/src/Domain/Enumerations/EncodeCodec.cs b/src/Service.Orchestrator/src/Domain/Enumerations/EncodeCodec.cs similarity index 98% rename from src/Service.Dashboard/src/Domain/Enumerations/EncodeCodec.cs rename to src/Service.Orchestrator/src/Domain/Enumerations/EncodeCodec.cs index 4f666622..1c7eaa70 100644 --- a/src/Service.Dashboard/src/Domain/Enumerations/EncodeCodec.cs +++ b/src/Service.Orchestrator/src/Domain/Enumerations/EncodeCodec.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure; -namespace Giantnodes.Service.Dashboard.Domain.Enumerations; +namespace Giantnodes.Service.Orchestrator.Domain.Enumerations; public sealed class EncodeCodec : Enumeration { diff --git a/src/Service.Dashboard/src/Domain/Enumerations/EncodePreset.cs b/src/Service.Orchestrator/src/Domain/Enumerations/EncodePreset.cs similarity index 97% rename from src/Service.Dashboard/src/Domain/Enumerations/EncodePreset.cs rename to src/Service.Orchestrator/src/Domain/Enumerations/EncodePreset.cs index 041f3a1c..be55bd25 100644 --- a/src/Service.Dashboard/src/Domain/Enumerations/EncodePreset.cs +++ b/src/Service.Orchestrator/src/Domain/Enumerations/EncodePreset.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure; -namespace Giantnodes.Service.Dashboard.Domain.Enumerations; +namespace Giantnodes.Service.Orchestrator.Domain.Enumerations; public sealed class EncodePreset : Enumeration { diff --git a/src/Service.Dashboard/src/Domain/Enumerations/EncodeTune.cs b/src/Service.Orchestrator/src/Domain/Enumerations/EncodeTune.cs similarity index 96% rename from src/Service.Dashboard/src/Domain/Enumerations/EncodeTune.cs rename to src/Service.Orchestrator/src/Domain/Enumerations/EncodeTune.cs index d9a71574..8dfe19e2 100644 --- a/src/Service.Dashboard/src/Domain/Enumerations/EncodeTune.cs +++ b/src/Service.Orchestrator/src/Domain/Enumerations/EncodeTune.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure; -namespace Giantnodes.Service.Dashboard.Domain.Enumerations; +namespace Giantnodes.Service.Orchestrator.Domain.Enumerations; public sealed class EncodeTune : Enumeration { diff --git a/src/Service.Dashboard/src/Domain/Enumerations/VideoFileContainer.cs b/src/Service.Orchestrator/src/Domain/Enumerations/VideoFileContainer.cs similarity index 98% rename from src/Service.Dashboard/src/Domain/Enumerations/VideoFileContainer.cs rename to src/Service.Orchestrator/src/Domain/Enumerations/VideoFileContainer.cs index 63e1ae58..821563c5 100644 --- a/src/Service.Dashboard/src/Domain/Enumerations/VideoFileContainer.cs +++ b/src/Service.Orchestrator/src/Domain/Enumerations/VideoFileContainer.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure; -namespace Giantnodes.Service.Dashboard.Domain.Enumerations; +namespace Giantnodes.Service.Orchestrator.Domain.Enumerations; public sealed class VideoFileContainer : Enumeration { diff --git a/src/Service.Dashboard/src/Domain/Enumerations/VideoResolution.cs b/src/Service.Orchestrator/src/Domain/Enumerations/VideoResolution.cs similarity index 95% rename from src/Service.Dashboard/src/Domain/Enumerations/VideoResolution.cs rename to src/Service.Orchestrator/src/Domain/Enumerations/VideoResolution.cs index e4363429..43a9544a 100644 --- a/src/Service.Dashboard/src/Domain/Enumerations/VideoResolution.cs +++ b/src/Service.Orchestrator/src/Domain/Enumerations/VideoResolution.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure; -namespace Giantnodes.Service.Dashboard.Domain.Enumerations; +namespace Giantnodes.Service.Orchestrator.Domain.Enumerations; public sealed class VideoResolution : Enumeration { diff --git a/src/Service.Dashboard/src/Domain/Extensions/FileSystemExtensions.cs b/src/Service.Orchestrator/src/Domain/Extensions/FileSystemExtensions.cs similarity index 95% rename from src/Service.Dashboard/src/Domain/Extensions/FileSystemExtensions.cs rename to src/Service.Orchestrator/src/Domain/Extensions/FileSystemExtensions.cs index 7b33d174..c378aa8c 100644 --- a/src/Service.Dashboard/src/Domain/Extensions/FileSystemExtensions.cs +++ b/src/Service.Orchestrator/src/Domain/Extensions/FileSystemExtensions.cs @@ -1,5 +1,5 @@ using System.Collections.ObjectModel; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; namespace System.IO.Abstractions; diff --git a/src/Service.Dashboard/src/Domain/Giantnodes.Service.Dashboard.Domain.csproj b/src/Service.Orchestrator/src/Domain/Giantnodes.Service.Orchestrator.Domain.csproj similarity index 85% rename from src/Service.Dashboard/src/Domain/Giantnodes.Service.Dashboard.Domain.csproj rename to src/Service.Orchestrator/src/Domain/Giantnodes.Service.Orchestrator.Domain.csproj index 20d1dc71..9564243e 100644 --- a/src/Service.Dashboard/src/Domain/Giantnodes.Service.Dashboard.Domain.csproj +++ b/src/Service.Orchestrator/src/Domain/Giantnodes.Service.Orchestrator.Domain.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/Service.Dashboard/src/Domain/Services/IFileSystemService.cs b/src/Service.Orchestrator/src/Domain/Services/IFileSystemService.cs similarity index 95% rename from src/Service.Dashboard/src/Domain/Services/IFileSystemService.cs rename to src/Service.Orchestrator/src/Domain/Services/IFileSystemService.cs index a6670f6c..cbd517c4 100644 --- a/src/Service.Dashboard/src/Domain/Services/IFileSystemService.cs +++ b/src/Service.Orchestrator/src/Domain/Services/IFileSystemService.cs @@ -3,7 +3,7 @@ using Giantnodes.Infrastructure.DependencyInjection; using Giantnodes.Infrastructure.Domain.Services; -namespace Giantnodes.Service.Dashboard.Domain.Services; +namespace Giantnodes.Service.Orchestrator.Domain.Services; public interface IFileSystemService : IApplicationService, ISingletonDependency { diff --git a/src/Service.Dashboard/src/Domain/Services/IFileSystemWatcherService.cs b/src/Service.Orchestrator/src/Domain/Services/IFileSystemWatcherService.cs similarity index 95% rename from src/Service.Dashboard/src/Domain/Services/IFileSystemWatcherService.cs rename to src/Service.Orchestrator/src/Domain/Services/IFileSystemWatcherService.cs index 0727c293..0db8e3cf 100644 --- a/src/Service.Dashboard/src/Domain/Services/IFileSystemWatcherService.cs +++ b/src/Service.Orchestrator/src/Domain/Services/IFileSystemWatcherService.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure.DependencyInjection; using Giantnodes.Infrastructure.Domain.Services; -namespace Giantnodes.Service.Dashboard.Domain.Services; +namespace Giantnodes.Service.Orchestrator.Domain.Services; public interface IFileSystemWatcherService : IApplicationService, ISingletonDependency { diff --git a/src/Service.Dashboard/src/Domain/Setup.cs b/src/Service.Orchestrator/src/Domain/Setup.cs similarity index 64% rename from src/Service.Dashboard/src/Domain/Setup.cs rename to src/Service.Orchestrator/src/Domain/Setup.cs index a3612648..2fbeb05d 100644 --- a/src/Service.Dashboard/src/Domain/Setup.cs +++ b/src/Service.Orchestrator/src/Domain/Setup.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services.Impl; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services.Impl; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -namespace Giantnodes.Service.Dashboard.Domain; +namespace Giantnodes.Service.Orchestrator.Domain; public static class Setup { diff --git a/src/Service.Dashboard/src/Domain/Values/AudioStream.cs b/src/Service.Orchestrator/src/Domain/Values/AudioStream.cs similarity index 94% rename from src/Service.Dashboard/src/Domain/Values/AudioStream.cs rename to src/Service.Orchestrator/src/Domain/Values/AudioStream.cs index d94d6964..00b87013 100644 --- a/src/Service.Dashboard/src/Domain/Values/AudioStream.cs +++ b/src/Service.Orchestrator/src/Domain/Values/AudioStream.cs @@ -1,4 +1,4 @@ -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public class AudioStream : FileStream { diff --git a/src/Service.Dashboard/src/Domain/Values/FileStream.cs b/src/Service.Orchestrator/src/Domain/Values/FileStream.cs similarity index 85% rename from src/Service.Dashboard/src/Domain/Values/FileStream.cs rename to src/Service.Orchestrator/src/Domain/Values/FileStream.cs index 266988d6..101d3521 100644 --- a/src/Service.Dashboard/src/Domain/Values/FileStream.cs +++ b/src/Service.Orchestrator/src/Domain/Values/FileStream.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Domain.Values; -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public abstract class FileStream : ValueObject { diff --git a/src/Service.Dashboard/src/Domain/Values/Machine.cs b/src/Service.Orchestrator/src/Domain/Values/Machine.cs similarity index 83% rename from src/Service.Dashboard/src/Domain/Values/Machine.cs rename to src/Service.Orchestrator/src/Domain/Values/Machine.cs index f6f26102..790ee850 100644 --- a/src/Service.Dashboard/src/Domain/Values/Machine.cs +++ b/src/Service.Orchestrator/src/Domain/Values/Machine.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure.Domain.Values; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public class Machine : ValueObject { diff --git a/src/Service.Dashboard/src/Domain/Values/PathInfo.cs b/src/Service.Orchestrator/src/Domain/Values/PathInfo.cs similarity index 94% rename from src/Service.Dashboard/src/Domain/Values/PathInfo.cs rename to src/Service.Orchestrator/src/Domain/Values/PathInfo.cs index 830dc4f3..37273b67 100644 --- a/src/Service.Dashboard/src/Domain/Values/PathInfo.cs +++ b/src/Service.Orchestrator/src/Domain/Values/PathInfo.cs @@ -1,7 +1,7 @@ using System.IO.Abstractions; using Giantnodes.Infrastructure.Domain.Values; -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public class PathInfo : ValueObject { diff --git a/src/Service.Dashboard/src/Domain/Values/SubtitleStream.cs b/src/Service.Orchestrator/src/Domain/Values/SubtitleStream.cs similarity index 88% rename from src/Service.Dashboard/src/Domain/Values/SubtitleStream.cs rename to src/Service.Orchestrator/src/Domain/Values/SubtitleStream.cs index f6a63cea..42af0e39 100644 --- a/src/Service.Dashboard/src/Domain/Values/SubtitleStream.cs +++ b/src/Service.Orchestrator/src/Domain/Values/SubtitleStream.cs @@ -1,4 +1,4 @@ -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public class SubtitleStream : FileStream { diff --git a/src/Service.Dashboard/src/Domain/Values/VideoStream.cs b/src/Service.Orchestrator/src/Domain/Values/VideoStream.cs similarity index 87% rename from src/Service.Dashboard/src/Domain/Values/VideoStream.cs rename to src/Service.Orchestrator/src/Domain/Values/VideoStream.cs index 735651b0..3d5f2ec5 100644 --- a/src/Service.Dashboard/src/Domain/Values/VideoStream.cs +++ b/src/Service.Orchestrator/src/Domain/Values/VideoStream.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; -namespace Giantnodes.Service.Dashboard.Domain.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Values; public class VideoStream : FileStream { diff --git a/src/Service.Dashboard/src/HttpApi/Cors/CorsConfigureOptions.cs b/src/Service.Orchestrator/src/HttpApi/Cors/CorsConfigureOptions.cs similarity index 94% rename from src/Service.Dashboard/src/HttpApi/Cors/CorsConfigureOptions.cs rename to src/Service.Orchestrator/src/HttpApi/Cors/CorsConfigureOptions.cs index 8fd601ad..94270a9b 100644 --- a/src/Service.Dashboard/src/HttpApi/Cors/CorsConfigureOptions.cs +++ b/src/Service.Orchestrator/src/HttpApi/Cors/CorsConfigureOptions.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Cors.Infrastructure; using Microsoft.Extensions.Options; -namespace Giantnodes.Service.Dashboard.HttpApi.Cors; +namespace Giantnodes.Service.Orchestrator.HttpApi.Cors; public class CorsConfigureOptions : IConfigureNamedOptions { diff --git a/src/Service.Orchestrator/src/HttpApi/Dockerfile b/src/Service.Orchestrator/src/HttpApi/Dockerfile new file mode 100644 index 00000000..d8ad20af --- /dev/null +++ b/src/Service.Orchestrator/src/HttpApi/Dockerfile @@ -0,0 +1,20 @@ +FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +WORKDIR /src +COPY ["src/Giantnodes.Service.Orchestrator.HttpApi/Giantnodes.Service.Orchestrator.HttpApi.csproj", "src/Giantnodes.Service.Orchestrator.HttpApi/"] +RUN dotnet restore "src/Giantnodes.Service.Orchestrator.HttpApi/Giantnodes.Service.Orchestrator.HttpApi.csproj" +COPY . . +WORKDIR "/src/src/Giantnodes.Service.Orchestrator.HttpApi" +RUN dotnet build "Giantnodes.Service.Orchestrator.HttpApi.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Giantnodes.Service.Orchestrator.HttpApi.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "Giantnodes.Service.Orchestrator.HttpApi.dll"] diff --git a/src/Service.Dashboard/src/HttpApi/Giantnodes.Service.Dashboard.HttpApi.csproj b/src/Service.Orchestrator/src/HttpApi/Giantnodes.Service.Orchestrator.HttpApi.csproj similarity index 92% rename from src/Service.Dashboard/src/HttpApi/Giantnodes.Service.Dashboard.HttpApi.csproj rename to src/Service.Orchestrator/src/HttpApi/Giantnodes.Service.Orchestrator.HttpApi.csproj index aae1f01e..a14ce367 100644 --- a/src/Service.Dashboard/src/HttpApi/Giantnodes.Service.Dashboard.HttpApi.csproj +++ b/src/Service.Orchestrator/src/HttpApi/Giantnodes.Service.Orchestrator.HttpApi.csproj @@ -27,8 +27,8 @@ - - + + diff --git a/src/Service.Dashboard/src/HttpApi/HttpApiServiceRegistration.cs b/src/Service.Orchestrator/src/HttpApi/HttpApiServiceRegistration.cs similarity index 92% rename from src/Service.Dashboard/src/HttpApi/HttpApiServiceRegistration.cs rename to src/Service.Orchestrator/src/HttpApi/HttpApiServiceRegistration.cs index 914170f7..11efd4cf 100644 --- a/src/Service.Dashboard/src/HttpApi/HttpApiServiceRegistration.cs +++ b/src/Service.Orchestrator/src/HttpApi/HttpApiServiceRegistration.cs @@ -2,14 +2,14 @@ using Giantnodes.Infrastructure.GraphQL; using Giantnodes.Infrastructure.GraphQL.Scalars; using Giantnodes.Infrastructure.MassTransit.Filters; -using Giantnodes.Service.Dashboard.HttpApi.Cors; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.HttpApi.Cors; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using HotChocolate.Data.Filters; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Pagination; using MassTransit; -namespace Giantnodes.Service.Dashboard.HttpApi; +namespace Giantnodes.Service.Orchestrator.HttpApi; public static class HttpApiServiceRegistration { @@ -32,10 +32,10 @@ private static void AddMassTransitServices(this IServiceCollection services) .AddDelayedMessageScheduler(); options - .AddConsumers(Assembly.Load("Giantnodes.Service.Dashboard.Application.Components")); + .AddConsumers(Assembly.Load("Giantnodes.Service.Orchestrator.Application.Components")); options - .AddSagaStateMachines(Assembly.Load("Giantnodes.Service.Dashboard.Application.Components")); + .AddSagaStateMachines(Assembly.Load("Giantnodes.Service.Orchestrator.Application.Components")); options .SetEntityFrameworkSagaRepositoryProvider(configure => diff --git a/src/Service.Dashboard/src/HttpApi/Program.cs b/src/Service.Orchestrator/src/HttpApi/Program.cs similarity index 90% rename from src/Service.Dashboard/src/HttpApi/Program.cs rename to src/Service.Orchestrator/src/HttpApi/Program.cs index 4d8c4903..e9a01a46 100644 --- a/src/Service.Dashboard/src/HttpApi/Program.cs +++ b/src/Service.Orchestrator/src/HttpApi/Program.cs @@ -1,6 +1,6 @@ using Serilog; -namespace Giantnodes.Service.Dashboard.HttpApi; +namespace Giantnodes.Service.Orchestrator.HttpApi; public static class Program { diff --git a/src/Service.Dashboard/src/HttpApi/Properties/launchSettings.json b/src/Service.Orchestrator/src/HttpApi/Properties/launchSettings.json similarity index 100% rename from src/Service.Dashboard/src/HttpApi/Properties/launchSettings.json rename to src/Service.Orchestrator/src/HttpApi/Properties/launchSettings.json diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs similarity index 87% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs index fe59e41a..aa0d7a2d 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Mutations/DirectoryProbeMutation.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Directories.Commands; +using Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Commands; using MassTransit; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Directories.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Directories.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class DirectoryProbeMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs similarity index 59% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs index 3353017e..40cf37a3 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/FileSystemDirectoryFindOne.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Interfaces; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.HttpApi.Types.Entries.Interfaces; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Directories.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Directories.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class FileSystemDirectoryFindOne diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs similarity index 83% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs index 992c2100..85373e6f 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Queries/GetFileResolutionDistributionQuery.cs @@ -2,12 +2,12 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Directories.Queries; -using Giantnodes.Service.Dashboard.Domain.Enumerations; -using Giantnodes.Service.Dashboard.HttpApi.Resolvers.Directories.Types; +using Giantnodes.Service.Orchestrator.Application.Contracts.Directories.Queries; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Directories.Types; using MassTransit; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Directories.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Directories.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class GetFileResolutionDistributionQuery diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs similarity index 77% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs index 915ac67c..e1287b44 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Directories/Types/FileQualityDistribution.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Directories.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Directories.Types; public sealed class FileResolutionDistribution { diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs similarity index 81% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs index a89eaccb..fdc058c3 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeCancelMutation.cs @@ -1,12 +1,12 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class EncodeCancelMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs similarity index 82% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs index c7d6ab7b..537635d1 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Mutations/EncodeSubmitMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class EncodeSubmitMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs similarity index 61% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs index de40e843..b7a8543c 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindMany.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodeFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs similarity index 61% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs index ea8afadc..14f35b1b 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeFindOne.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodeFindOne diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs similarity index 71% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs index 77af06a3..f645d8ea 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Queries/EncodeQueueFindMany.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodeQueueFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs similarity index 63% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs index 46221f30..274dcdf4 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeOutputtedSubscription.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Subscriptions; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Subscriptions; [ExtendObjectType(OperationTypeNames.Subscription)] public class EncodeOutputtedSubscription diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs similarity index 63% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs index 0cb54f81..7f100dee 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeProgressedSubscription.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Subscriptions; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Subscriptions; [ExtendObjectType(OperationTypeNames.Subscription)] public class EncodeProgressedSubscription diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs similarity index 63% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs index 098b1343..5b71ee59 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeSpeedChangeSubscription.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Subscriptions; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Subscriptions; [ExtendObjectType(OperationTypeNames.Subscription)] public class EncodeSpeedChangeSubscription diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs similarity index 64% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs index 76f2632c..6d381d5d 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Encodes/Subscriptions/EncodeStatusChangedSubscription.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Application.Contracts.Encodes.Events; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Encodes.Events; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Subscriptions; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Encodes.Subscriptions; [ExtendObjectType(OperationTypeNames.Subscription)] public class EncodeStatusChangedSubscription diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs similarity index 67% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs index 92b172f1..7342ccb9 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeCodecFindMany.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Enumerations.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Enumerations.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodeCodecFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs similarity index 67% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs index ba0f37ed..a6a87284 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodePresetFindMany.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Enumerations.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Enumerations.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodePresetFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs similarity index 67% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs index 02a7c258..c5e25190 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/EncodeTuneFindMany.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Enumerations.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Enumerations.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class EncodeTuneFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs similarity index 69% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs index 6642a733..6d943543 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Enumerations/Queries/VideoFileContainerFindMany.cs @@ -1,7 +1,7 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Enumerations.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Enumerations.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class VideoFileContainerFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs similarity index 82% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs index 78d36a46..ac6ffd4d 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryCreateMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Libraries.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Libraries.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class LibraryCreateMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs similarity index 82% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs index 195d2441..38c3743e 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Mutations/LibraryUpdateMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Libraries.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Libraries.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class LibraryUpdateMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs similarity index 61% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs index 7ad631c4..2b7086a6 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindMany.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Libraries.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Libraries.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class LibraryFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs similarity index 61% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs index 842b2f20..81d0f5d5 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Libraries/Queries/LibraryFindOne.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Libraries.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Libraries.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class LibraryFindOne diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs similarity index 85% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs index 8cebd08e..c2f92626 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeCreateMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Recipes.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Recipes.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class RecipeCreateMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs similarity index 82% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs index 80989d65..d4fac28f 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeDeleteMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Recipes.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Recipes.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class RecipeDeleteMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs similarity index 85% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs index a8d97ee0..bcc6b7bc 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Mutations/RecipeUpdateMutation.cs @@ -1,13 +1,13 @@ using Giantnodes.Infrastructure.Faults.Exceptions; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Validation.Exceptions; -using Giantnodes.Service.Dashboard.Application.Contracts.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Application.Contracts.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Recipes.Mutations; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Recipes.Mutations; [ExtendObjectType(OperationTypeNames.Mutation)] public class RecipeUpdateMutation diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs similarity index 66% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs index 78c593d6..0f50e914 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindMany.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Recipes.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Recipes.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class RecipeFindMany diff --git a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs similarity index 61% rename from src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs rename to src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs index ecc2612b..5f54f6fe 100644 --- a/src/Service.Dashboard/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs +++ b/src/Service.Orchestrator/src/HttpApi/Resolvers/Recipes/Queries/RecipeFindOne.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Recipes.Queries; +namespace Giantnodes.Service.Orchestrator.HttpApi.Resolvers.Recipes.Queries; [ExtendObjectType(OperationTypeNames.Query)] public class RecipeFindOne diff --git a/src/Service.Dashboard/src/HttpApi/Startup.cs b/src/Service.Orchestrator/src/HttpApi/Startup.cs similarity index 81% rename from src/Service.Dashboard/src/HttpApi/Startup.cs rename to src/Service.Orchestrator/src/HttpApi/Startup.cs index 103996be..c7e8c11f 100644 --- a/src/Service.Dashboard/src/HttpApi/Startup.cs +++ b/src/Service.Orchestrator/src/HttpApi/Startup.cs @@ -1,10 +1,10 @@ -using Giantnodes.Service.Dashboard.Application.Components; -using Giantnodes.Service.Dashboard.Domain; -using Giantnodes.Service.Dashboard.Infrastructure; -using Giantnodes.Service.Dashboard.Persistence; +using Giantnodes.Service.Orchestrator.Application.Components; +using Giantnodes.Service.Orchestrator.Domain; +using Giantnodes.Service.Orchestrator.Infrastructure; +using Giantnodes.Service.Orchestrator.Persistence; using HotChocolate.AspNetCore; -namespace Giantnodes.Service.Dashboard.HttpApi; +namespace Giantnodes.Service.Orchestrator.HttpApi; public class Startup { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs similarity index 78% rename from src/Service.Dashboard/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs index d8d33d03..0038318a 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Directories/Objects/FileSystemDirectoryType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Interfaces; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.HttpApi.Types.Entries.Interfaces; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Directories.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Directories.Objects; public class FileSystemDirectoryType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/DomainExceptionType.cs b/src/Service.Orchestrator/src/HttpApi/Types/DomainExceptionType.cs similarity index 94% rename from src/Service.Dashboard/src/HttpApi/Types/DomainExceptionType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/DomainExceptionType.cs index 1a549154..0f6c01e4 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/DomainExceptionType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/DomainExceptionType.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Faults.Exceptions; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class DomainExceptionType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/EncodeCodecType.cs b/src/Service.Orchestrator/src/HttpApi/Types/EncodeCodecType.cs similarity index 84% rename from src/Service.Dashboard/src/HttpApi/Types/EncodeCodecType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/EncodeCodecType.cs index b5b11139..9e9d39c1 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/EncodeCodecType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/EncodeCodecType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class EncodeCodecType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/EncodePresetType.cs b/src/Service.Orchestrator/src/HttpApi/Types/EncodePresetType.cs similarity index 79% rename from src/Service.Dashboard/src/HttpApi/Types/EncodePresetType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/EncodePresetType.cs index 9175d875..dc9566c1 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/EncodePresetType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/EncodePresetType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class EncodePresetType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/EncodeQualityType.cs b/src/Service.Orchestrator/src/HttpApi/Types/EncodeQualityType.cs similarity index 74% rename from src/Service.Dashboard/src/HttpApi/Types/EncodeQualityType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/EncodeQualityType.cs index 895bdb55..167ebe6d 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/EncodeQualityType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/EncodeQualityType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class EncodeQualityType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/EncodeTuneType.cs b/src/Service.Orchestrator/src/HttpApi/Types/EncodeTuneType.cs similarity index 79% rename from src/Service.Dashboard/src/HttpApi/Types/EncodeTuneType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/EncodeTuneType.cs index 150c39ac..f0028f05 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/EncodeTuneType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/EncodeTuneType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class EncodeTuneType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs similarity index 67% rename from src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs index aba98bbb..9e978b69 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; using HotChocolate.Data.Filters; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Encodes.Filters; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Encodes.Filters; public class EncodeFilterType : FilterInputType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs similarity index 84% rename from src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs index 96dd7567..2aa0dce1 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSnapshotType.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Encodes.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Encodes.Objects; public class EncodeSnapshotType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs similarity index 68% rename from src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs index a469f63c..cf96713f 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeSpeedType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Encodes.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Encodes.Objects; public class EncodeSpeedType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeType.cs similarity index 87% rename from src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeType.cs index 834512b2..262cac0b 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Objects/EncodeType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Encodes/Objects/EncodeType.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Encodes.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Encodes.Objects; public class EncodeType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs similarity index 69% rename from src/Service.Dashboard/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs index a55db402..c857882f 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Entries/Filters/FileSystemEntryFilterType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; using HotChocolate.Data.Filters; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Filters; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Entries.Filters; public class FileSystemEntryFilterType : FilterInputType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs similarity index 80% rename from src/Service.Dashboard/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs index 81deaa95..47f953fd 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Entries/Interfaces/FileSystemEntryType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Interfaces; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Entries.Interfaces; public class FileSystemEntryType : InterfaceType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/AudioStreamType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/AudioStreamType.cs similarity index 76% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/AudioStreamType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/AudioStreamType.cs index e3b2fe0e..a91485ce 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/AudioStreamType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/AudioStreamType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class AudioStreamType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs similarity index 85% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs index 17aebf6e..b69a8f48 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/FileSystemFileType.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Interfaces; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.HttpApi.Types.Entries.Interfaces; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class FileSystemFileType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs similarity index 65% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs index ff19d57f..4c9e80bd 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/SubtitleStreamType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class SubtitleStreamType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoQualityType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoQualityType.cs similarity index 65% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoQualityType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoQualityType.cs index 55016f2a..68272369 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoQualityType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoQualityType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class VideoQualityType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs similarity index 75% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs index a77af823..5e37d065 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoResolutionType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class VideoResolutionType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoStreamType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoStreamType.cs similarity index 72% rename from src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoStreamType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoStreamType.cs index f8b93a67..23896a24 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Files/Objects/VideoStreamType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Files/Objects/VideoStreamType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Files.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Files.Objects; public class VideoStreamType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs similarity index 67% rename from src/Service.Dashboard/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs index 9684f518..2f3b2a45 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Libraries/Filters/LibraryFilterType.cs @@ -1,7 +1,7 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; using HotChocolate.Data.Filters; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Libraries.Filters; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Libraries.Filters; public class LibraryFilterType : FilterInputType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Libraries/Objects/LibraryType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Libraries/Objects/LibraryType.cs similarity index 80% rename from src/Service.Dashboard/src/HttpApi/Types/Libraries/Objects/LibraryType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Libraries/Objects/LibraryType.cs index 4ceb5cae..f7f8768b 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Libraries/Objects/LibraryType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Libraries/Objects/LibraryType.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Libraries.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Libraries.Objects; public class LibraryType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/MachineType.cs b/src/Service.Orchestrator/src/HttpApi/Types/MachineType.cs similarity index 74% rename from src/Service.Dashboard/src/HttpApi/Types/MachineType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/MachineType.cs index 1a42aa96..2e4b6871 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/MachineType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/MachineType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class MachineType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/PathInfoType.cs b/src/Service.Orchestrator/src/HttpApi/Types/PathInfoType.cs similarity index 79% rename from src/Service.Dashboard/src/HttpApi/Types/PathInfoType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/PathInfoType.cs index 09c75740..289de340 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/PathInfoType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/PathInfoType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Values; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class PathInfoType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/Recipes/Objects/RecipeType.cs b/src/Service.Orchestrator/src/HttpApi/Types/Recipes/Objects/RecipeType.cs similarity index 84% rename from src/Service.Dashboard/src/HttpApi/Types/Recipes/Objects/RecipeType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/Recipes/Objects/RecipeType.cs index f6a8bdf4..ecd8d554 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/Recipes/Objects/RecipeType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/Recipes/Objects/RecipeType.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Recipes.Objects; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types.Recipes.Objects; public class RecipeType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/ValidationExceptionType.cs b/src/Service.Orchestrator/src/HttpApi/Types/ValidationExceptionType.cs similarity index 93% rename from src/Service.Dashboard/src/HttpApi/Types/ValidationExceptionType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/ValidationExceptionType.cs index 468a7a72..6f1d97ff 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/ValidationExceptionType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/ValidationExceptionType.cs @@ -1,6 +1,6 @@ using Giantnodes.Infrastructure.Validation.Exceptions; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class ValidationExceptionType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/Types/VideoFileContainerType.cs b/src/Service.Orchestrator/src/HttpApi/Types/VideoFileContainerType.cs similarity index 78% rename from src/Service.Dashboard/src/HttpApi/Types/VideoFileContainerType.cs rename to src/Service.Orchestrator/src/HttpApi/Types/VideoFileContainerType.cs index e91e1db2..7fa9fb13 100644 --- a/src/Service.Dashboard/src/HttpApi/Types/VideoFileContainerType.cs +++ b/src/Service.Orchestrator/src/HttpApi/Types/VideoFileContainerType.cs @@ -1,6 +1,6 @@ -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; -namespace Giantnodes.Service.Dashboard.HttpApi.Types; +namespace Giantnodes.Service.Orchestrator.HttpApi.Types; public class VideoFileContainerType : ObjectType { diff --git a/src/Service.Dashboard/src/HttpApi/appsettings.Development.json b/src/Service.Orchestrator/src/HttpApi/appsettings.Development.json similarity index 65% rename from src/Service.Dashboard/src/HttpApi/appsettings.Development.json rename to src/Service.Orchestrator/src/HttpApi/appsettings.Development.json index 62e45b43..86403140 100644 --- a/src/Service.Dashboard/src/HttpApi/appsettings.Development.json +++ b/src/Service.Orchestrator/src/HttpApi/appsettings.Development.json @@ -1,12 +1,10 @@ { "AllowedOrigins": "http://localhost:3000", "ConnectionStrings": { - "DatabaseConnection": "Host=localhost;Database=giantnodes.service.dashboard;Username=postgres;Password=password;Include Error Detail=true" + "DatabaseConnection": "Host=localhost;Database=Giantnodes.Service.Orchestrator;Username=postgres;Password=password;Include Error Detail=true" }, "Serilog": { - "Using": [ - "Serilog.Sinks.Console" - ], + "Using": ["Serilog.Sinks.Console"], "MinimumLevel": { "Default": "Debug", "Override": { diff --git a/src/Service.Dashboard/src/HttpApi/appsettings.json b/src/Service.Orchestrator/src/HttpApi/appsettings.json similarity index 100% rename from src/Service.Dashboard/src/HttpApi/appsettings.json rename to src/Service.Orchestrator/src/HttpApi/appsettings.json diff --git a/src/Service.Dashboard/src/Infrastructure/Giantnodes.Service.Dashboard.Infrastructure.csproj b/src/Service.Orchestrator/src/Infrastructure/Giantnodes.Service.Orchestrator.Infrastructure.csproj similarity index 76% rename from src/Service.Dashboard/src/Infrastructure/Giantnodes.Service.Dashboard.Infrastructure.csproj rename to src/Service.Orchestrator/src/Infrastructure/Giantnodes.Service.Orchestrator.Infrastructure.csproj index 766635a3..69083385 100644 --- a/src/Service.Dashboard/src/Infrastructure/Giantnodes.Service.Dashboard.Infrastructure.csproj +++ b/src/Service.Orchestrator/src/Infrastructure/Giantnodes.Service.Orchestrator.Infrastructure.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/src/Service.Dashboard/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs b/src/Service.Orchestrator/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs similarity index 84% rename from src/Service.Dashboard/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs rename to src/Service.Orchestrator/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs index 1b296f57..e611680b 100644 --- a/src/Service.Dashboard/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs +++ b/src/Service.Orchestrator/src/Infrastructure/HostedServices/FileSystemWatcherBackgroundService.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Services; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Services; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Giantnodes.Service.Dashboard.Infrastructure.HostedServices; +namespace Giantnodes.Service.Orchestrator.Infrastructure.HostedServices; public sealed class FileSystemWatcherBackgroundService : BackgroundService { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/EncodeRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/EncodeRepository.cs similarity index 85% rename from src/Service.Dashboard/src/Infrastructure/Repositories/EncodeRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/EncodeRepository.cs index 2d69ade5..3bc80ccd 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/EncodeRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/EncodeRepository.cs @@ -1,10 +1,10 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public class EncodeRepository : IEncodeRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs similarity index 86% rename from src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs index 9cce8217..0f9e54b0 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemDirectoryRepository.cs @@ -1,10 +1,10 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public class FileSystemDirectoryRepository : IFileSystemDirectoryRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemEntryRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemEntryRepository.cs similarity index 83% rename from src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemEntryRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemEntryRepository.cs index 9803a7f7..48a55812 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemEntryRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemEntryRepository.cs @@ -1,12 +1,12 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public class FileSystemEntryRepository : IFileSystemEntryRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemFileRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemFileRepository.cs similarity index 86% rename from src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemFileRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemFileRepository.cs index 61352e14..3317d4dd 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/FileSystemFileRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/FileSystemFileRepository.cs @@ -1,10 +1,10 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public class FileSystemFileRepository : IFileSystemFileRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/LibraryRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/LibraryRepository.cs similarity index 85% rename from src/Service.Dashboard/src/Infrastructure/Repositories/LibraryRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/LibraryRepository.cs index 4ea4d6a6..d3a1f485 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/LibraryRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/LibraryRepository.cs @@ -1,10 +1,10 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public sealed class LibraryRepository : ILibraryRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Repositories/RecipeRepository.cs b/src/Service.Orchestrator/src/Infrastructure/Repositories/RecipeRepository.cs similarity index 84% rename from src/Service.Dashboard/src/Infrastructure/Repositories/RecipeRepository.cs rename to src/Service.Orchestrator/src/Infrastructure/Repositories/RecipeRepository.cs index 2cc43025..cc72b8c1 100644 --- a/src/Service.Dashboard/src/Infrastructure/Repositories/RecipeRepository.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Repositories/RecipeRepository.cs @@ -1,10 +1,10 @@ using System.Linq.Expressions; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Infrastructure.Repositories; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Repositories; public class RecipeRepository : IRecipeRepository { diff --git a/src/Service.Dashboard/src/Infrastructure/Services/FileSystemService.cs b/src/Service.Orchestrator/src/Infrastructure/Services/FileSystemService.cs similarity index 85% rename from src/Service.Dashboard/src/Infrastructure/Services/FileSystemService.cs rename to src/Service.Orchestrator/src/Infrastructure/Services/FileSystemService.cs index 88d62386..eae62bfb 100644 --- a/src/Service.Dashboard/src/Infrastructure/Services/FileSystemService.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Services/FileSystemService.cs @@ -1,10 +1,10 @@ using System.Collections.ObjectModel; using System.IO.Abstractions; using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Enumerations; -using Giantnodes.Service.Dashboard.Domain.Services; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Services; -namespace Giantnodes.Service.Dashboard.Infrastructure.Services; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Services; public class FileSystemService : IFileSystemService { diff --git a/src/Service.Dashboard/src/Infrastructure/Services/FileSystemWatcherService.cs b/src/Service.Orchestrator/src/Infrastructure/Services/FileSystemWatcherService.cs similarity index 96% rename from src/Service.Dashboard/src/Infrastructure/Services/FileSystemWatcherService.cs rename to src/Service.Orchestrator/src/Infrastructure/Services/FileSystemWatcherService.cs index 8954e43e..bc4a9d19 100644 --- a/src/Service.Dashboard/src/Infrastructure/Services/FileSystemWatcherService.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Services/FileSystemWatcherService.cs @@ -1,10 +1,10 @@ using System.IO.Abstractions; using System.Reactive.Linq; -using Giantnodes.Service.Dashboard.Domain.Services; +using Giantnodes.Service.Orchestrator.Domain.Services; using MassTransit; using Microsoft.Extensions.Logging; -namespace Giantnodes.Service.Dashboard.Infrastructure.Services; +namespace Giantnodes.Service.Orchestrator.Infrastructure.Services; public class FileSystemWatcherService : IFileSystemWatcherService { diff --git a/src/Service.Dashboard/src/Infrastructure/Setup.cs b/src/Service.Orchestrator/src/Infrastructure/Setup.cs similarity index 68% rename from src/Service.Dashboard/src/Infrastructure/Setup.cs rename to src/Service.Orchestrator/src/Infrastructure/Setup.cs index 982c033e..94b2ae3d 100644 --- a/src/Service.Dashboard/src/Infrastructure/Setup.cs +++ b/src/Service.Orchestrator/src/Infrastructure/Setup.cs @@ -3,21 +3,21 @@ using Giantnodes.Infrastructure.EntityFrameworkCore.Uow; using Giantnodes.Infrastructure.MassTransit.Uow; using Giantnodes.Infrastructure.Uow.DependencyInjection; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Repositories; -using Giantnodes.Service.Dashboard.Domain.Services; -using Giantnodes.Service.Dashboard.Infrastructure.HostedServices; -using Giantnodes.Service.Dashboard.Infrastructure.Repositories; -using Giantnodes.Service.Dashboard.Infrastructure.Services; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Repositories; +using Giantnodes.Service.Orchestrator.Domain.Services; +using Giantnodes.Service.Orchestrator.Infrastructure.HostedServices; +using Giantnodes.Service.Orchestrator.Infrastructure.Repositories; +using Giantnodes.Service.Orchestrator.Infrastructure.Services; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -namespace Giantnodes.Service.Dashboard.Infrastructure; +namespace Giantnodes.Service.Orchestrator.Infrastructure; public static class Setup { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/EncodeConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/EncodeConfiguration.cs similarity index 83% rename from src/Service.Dashboard/src/Persistence/Configurations/EncodeConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/EncodeConfiguration.cs index 4c8d628a..13f73d5d 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/EncodeConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/EncodeConfiguration.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class EncodeConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs similarity index 82% rename from src/Service.Dashboard/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs index e4fff3c3..336d4785 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/EncodeSnapshotConfiguration.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class EncodeSnapshotConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs similarity index 62% rename from src/Service.Dashboard/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs index 3c62c7de..33627225 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemDirectoryConfiguration.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Values; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class FileSystemDirectoryConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemEntryConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemEntryConfiguration.cs similarity index 69% rename from src/Service.Dashboard/src/Persistence/Configurations/FileSystemEntryConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/FileSystemEntryConfiguration.cs index b47de677..b960fc3a 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemEntryConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemEntryConfiguration.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class FileSystemEntryConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemFileConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemFileConfiguration.cs similarity index 80% rename from src/Service.Dashboard/src/Persistence/Configurations/FileSystemFileConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/FileSystemFileConfiguration.cs index 712941a0..c53275c6 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/FileSystemFileConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/FileSystemFileConfiguration.cs @@ -1,11 +1,11 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Enumerations; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Values; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class FileSystemFileConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/LibraryConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/LibraryConfiguration.cs similarity index 77% rename from src/Service.Dashboard/src/Persistence/Configurations/LibraryConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/LibraryConfiguration.cs index 8eb57aa3..5b61445f 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/LibraryConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/LibraryConfiguration.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Values; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Values; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class LibraryConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/Configurations/RecipeConfiguration.cs b/src/Service.Orchestrator/src/Persistence/Configurations/RecipeConfiguration.cs similarity index 86% rename from src/Service.Dashboard/src/Persistence/Configurations/RecipeConfiguration.cs rename to src/Service.Orchestrator/src/Persistence/Configurations/RecipeConfiguration.cs index ff1e06ea..fb0cd0c9 100644 --- a/src/Service.Dashboard/src/Persistence/Configurations/RecipeConfiguration.cs +++ b/src/Service.Orchestrator/src/Persistence/Configurations/RecipeConfiguration.cs @@ -1,10 +1,10 @@ using Giantnodes.Infrastructure; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Enumerations; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Enumerations; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Giantnodes.Service.Dashboard.Persistence.Configurations; +namespace Giantnodes.Service.Orchestrator.Persistence.Configurations; public class RecipeConfiguration : IEntityTypeConfiguration { diff --git a/src/Service.Dashboard/src/Persistence/DbContexts/ApplicationDbContext.cs b/src/Service.Orchestrator/src/Persistence/DbContexts/ApplicationDbContext.cs similarity index 69% rename from src/Service.Dashboard/src/Persistence/DbContexts/ApplicationDbContext.cs rename to src/Service.Orchestrator/src/Persistence/DbContexts/ApplicationDbContext.cs index 15769239..17d11ce2 100644 --- a/src/Service.Dashboard/src/Persistence/DbContexts/ApplicationDbContext.cs +++ b/src/Service.Orchestrator/src/Persistence/DbContexts/ApplicationDbContext.cs @@ -1,22 +1,22 @@ using Giantnodes.Infrastructure.EntityFrameworkCore; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes; -using Giantnodes.Service.Dashboard.Domain.Values; -using Giantnodes.Service.Dashboard.Persistence.Sagas; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes; +using Giantnodes.Service.Orchestrator.Domain.Values; +using Giantnodes.Service.Orchestrator.Persistence.Sagas; using MassTransit; using MassTransit.EntityFrameworkCoreIntegration; using Microsoft.EntityFrameworkCore; -namespace Giantnodes.Service.Dashboard.Persistence.DbContexts; +namespace Giantnodes.Service.Orchestrator.Persistence.DbContexts; public class ApplicationDbContext : GiantnodesDbContext { - internal const string Schema = "dashboard"; + internal const string Schema = "orchestrator"; public ApplicationDbContext(DbContextOptions options) : base(options) diff --git a/src/Service.Dashboard/src/Persistence/Giantnodes.Service.Dashboard.Persistence.csproj b/src/Service.Orchestrator/src/Persistence/Giantnodes.Service.Orchestrator.Persistence.csproj similarity index 97% rename from src/Service.Dashboard/src/Persistence/Giantnodes.Service.Dashboard.Persistence.csproj rename to src/Service.Orchestrator/src/Persistence/Giantnodes.Service.Orchestrator.Persistence.csproj index 21062839..f90016d4 100644 --- a/src/Service.Dashboard/src/Persistence/Giantnodes.Service.Dashboard.Persistence.csproj +++ b/src/Service.Orchestrator/src/Persistence/Giantnodes.Service.Orchestrator.Persistence.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs b/src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs similarity index 89% rename from src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs rename to src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs index f915e8e8..40a47e91 100644 --- a/src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs +++ b/src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ #nullable disable -namespace Giantnodes.Service.Dashboard.Persistence.Migrations +namespace Giantnodes.Service.Orchestrator.Persistence.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240528095559_v0.0.1")] @@ -20,13 +20,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasDefaultSchema("dashboard") + .HasDefaultSchema("orchestrator") .HasAnnotation("ProductVersion", "8.0.5") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { b.Property("Id") .HasColumnType("uuid") @@ -104,10 +104,10 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.HasIndex("RecipeId") .HasDatabaseName("ix_encodes_recipe_id"); - b.ToTable("encodes", "dashboard"); + b.ToTable("encodes", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => { b.Property("Id") .HasColumnType("uuid") @@ -139,10 +139,10 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.HasIndex("EncodeId") .HasDatabaseName("ix_encode_snapshots_encode_id"); - b.ToTable("encode_snapshots", "dashboard"); + b.ToTable("encode_snapshots", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry", b => { b.Property("Id") .HasColumnType("uuid") @@ -188,7 +188,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.UseTpcMappingStrategy(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { b.Property("Id") .HasColumnType("uuid") @@ -237,10 +237,10 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_libraries_slug"); - b.ToTable("libraries", "dashboard"); + b.ToTable("libraries", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", b => { b.Property("Id") .HasColumnType("uuid") @@ -303,10 +303,10 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_recipes_name"); - b.ToTable("recipes", "dashboard"); + b.ToTable("recipes", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Persistence.Sagas.EncodeSagaState", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Persistence.Sagas.EncodeSagaState", b => { b.Property("CorrelationId") .HasColumnType("uuid") @@ -364,7 +364,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_encode_saga_state_output_file_path"); - b.ToTable("encode_saga_state", "dashboard"); + b.ToTable("encode_saga_state", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.InboxState", b => @@ -427,7 +427,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.HasIndex("Delivered") .HasDatabaseName("ix_inbox_state_delivered"); - b.ToTable("inbox_state", "dashboard"); + b.ToTable("inbox_state", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.OutboxMessage", b => @@ -544,7 +544,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_outbox_message_inbox_message_id_inbox_consumer_id_sequence_"); - b.ToTable("outbox_message", "dashboard"); + b.ToTable("outbox_message", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.OutboxState", b => @@ -582,44 +582,44 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.HasIndex("Created") .HasDatabaseName("ix_outbox_state_created"); - b.ToTable("outbox_state", "dashboard"); + b.ToTable("outbox_state", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { - b.HasBaseType("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry"); + b.HasBaseType("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry"); - b.ToTable("file_system_directories", "dashboard"); + b.ToTable("file_system_directories", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { - b.HasBaseType("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry"); + b.HasBaseType("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry"); b.Property("ProbedAt") .HasColumnType("timestamp with time zone") .HasColumnName("probed_at"); - b.ToTable("file_system_files", "dashboard"); + b.ToTable("file_system_files", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", "File") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", "File") .WithMany("Encodes") .HasForeignKey("FileId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encodes_file_system_files_file_id"); - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", "Recipe") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", "Recipe") .WithMany("Encodes") .HasForeignKey("RecipeId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encodes_recipes_recipe_id"); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values.EncodeSpeed", "Speed", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values.EncodeSpeed", "Speed", b1 => { b1.Property("EncodeId") .HasColumnType("uuid") @@ -639,14 +639,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("EncodeId"); - b1.ToTable("encodes", "dashboard"); + b1.ToTable("encodes", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeId") .HasConstraintName("fk_encodes_encodes_id"); }); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.Machine", "Machine", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.Machine", "Machine", b1 => { b1.Property("EncodeId") .HasColumnType("uuid") @@ -669,7 +669,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("EncodeId"); - b1.ToTable("encodes", "dashboard"); + b1.ToTable("encodes", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeId") @@ -685,16 +685,16 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("Speed"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", "Encode") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", "Encode") .WithMany("Snapshots") .HasForeignKey("EncodeId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encode_snapshots_encodes_encode_id"); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.AudioStream", "AudioStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.AudioStream", "AudioStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -743,14 +743,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_audio_streams"); - b1.ToTable("encode_snapshots_audio_streams", "dashboard"); + b1.ToTable("encode_snapshots_audio_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_audio_streams_encode_snapshots_encode_snap"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -783,14 +783,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_subtitle_streams"); - b1.ToTable("encode_snapshots_subtitle_streams", "dashboard"); + b1.ToTable("encode_snapshots_subtitle_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_subtitle_streams_encode_snapshots_encode_s"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.VideoStream", "VideoStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.VideoStream", "VideoStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -832,13 +832,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_video_streams"); - b1.ToTable("encode_snapshots_video_streams", "dashboard"); + b1.ToTable("encode_snapshots_video_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_video_streams_encode_snapshots_encode_snap"); - b1.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => + b1.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => { b2.Property("VideoStreamEncodeSnapshotId") .HasColumnType("uuid") @@ -867,7 +867,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b2.HasKey("VideoStreamEncodeSnapshotId", "VideoStreamId"); - b2.ToTable("encode_snapshots_video_streams", "dashboard"); + b2.ToTable("encode_snapshots_video_streams", "orchestrator"); b2.WithOwner() .HasForeignKey("VideoStreamEncodeSnapshotId", "VideoStreamId") @@ -887,15 +887,15 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("VideoStreams"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", "Library") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", "Library") .WithMany("Entries") .HasForeignKey("LibraryId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", "ParentDirectory") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", "ParentDirectory") .WithMany("Entries") .HasForeignKey("ParentDirectoryId"); @@ -904,9 +904,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("ParentDirectory"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("LibraryId") .HasColumnType("uuid") @@ -936,7 +936,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("LibraryId"); - b1.ToTable("libraries", "dashboard"); + b1.ToTable("libraries", "orchestrator"); b1.WithOwner() .HasForeignKey("LibraryId") @@ -947,9 +947,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsRequired(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("FileSystemDirectoryId") .HasColumnType("uuid") @@ -979,7 +979,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemDirectoryId"); - b1.ToTable("file_system_directories", "dashboard"); + b1.ToTable("file_system_directories", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemDirectoryId") @@ -990,9 +990,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsRequired(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.AudioStream", "AudioStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.AudioStream", "AudioStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1041,14 +1041,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_audio_streams"); - b1.ToTable("file_system_files_audio_streams", "dashboard"); + b1.ToTable("file_system_files_audio_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_audio_streams_file_system_files_file_syst"); }); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1078,14 +1078,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId"); - b1.ToTable("file_system_files", "dashboard"); + b1.ToTable("file_system_files", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_file_system_files_id"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1118,14 +1118,14 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_subtitle_streams"); - b1.ToTable("file_system_files_subtitle_streams", "dashboard"); + b1.ToTable("file_system_files_subtitle_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_subtitle_streams_file_system_files_file_s"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.VideoStream", "VideoStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.VideoStream", "VideoStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1167,13 +1167,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_video_streams"); - b1.ToTable("file_system_files_video_streams", "dashboard"); + b1.ToTable("file_system_files_video_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_video_streams_file_system_files_file_syst"); - b1.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => + b1.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => { b2.Property("VideoStreamFileSystemFileId") .HasColumnType("uuid") @@ -1202,7 +1202,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b2.HasKey("VideoStreamFileSystemFileId", "VideoStreamId"); - b2.ToTable("file_system_files_video_streams", "dashboard"); + b2.ToTable("file_system_files_video_streams", "orchestrator"); b2.WithOwner() .HasForeignKey("VideoStreamFileSystemFileId", "VideoStreamId") @@ -1223,27 +1223,27 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("VideoStreams"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { b.Navigation("Snapshots"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { b.Navigation("Entries"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", b => { b.Navigation("Encodes"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { b.Navigation("Entries"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { b.Navigation("Encodes"); }); diff --git a/src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.cs b/src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.cs similarity index 92% rename from src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.cs rename to src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.cs index 4e989d16..b425804e 100644 --- a/src/Service.Dashboard/src/Persistence/Migrations/20240528095559_v0.0.1.cs +++ b/src/Service.Orchestrator/src/Persistence/Migrations/20240528095559_v0.0.1.cs @@ -4,7 +4,7 @@ #nullable disable -namespace Giantnodes.Service.Dashboard.Persistence.Migrations +namespace Giantnodes.Service.Orchestrator.Persistence.Migrations { /// public partial class v001 : Migration @@ -13,11 +13,11 @@ public partial class v001 : Migration protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.EnsureSchema( - name: "dashboard"); + name: "orchestrator"); migrationBuilder.CreateTable( name: "encode_saga_state", - schema: "dashboard", + schema: "orchestrator", columns: table => new { correlation_id = table.Column(type: "uuid", nullable: false), @@ -38,7 +38,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "inbox_state", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "bigint", nullable: false) @@ -62,7 +62,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "libraries", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -86,7 +86,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "outbox_message", - schema: "dashboard", + schema: "orchestrator", columns: table => new { sequence_number = table.Column(type: "bigint", nullable: false) @@ -119,7 +119,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "outbox_state", - schema: "dashboard", + schema: "orchestrator", columns: table => new { outbox_id = table.Column(type: "uuid", nullable: false), @@ -136,7 +136,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "recipes", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -160,7 +160,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "file_system_directories", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -183,13 +183,13 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "FK_file_system_directories_file_system_directories_parent_dire~", column: x => x.parent_directory_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_directories", principalColumn: "id"); table.ForeignKey( name: "FK_file_system_directories_libraries_library_id", column: x => x.library_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "libraries", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -197,7 +197,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "file_system_files", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -221,13 +221,13 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "FK_file_system_files_file_system_directories_parent_directory_~", column: x => x.parent_directory_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_directories", principalColumn: "id"); table.ForeignKey( name: "FK_file_system_files_libraries_library_id", column: x => x.library_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "libraries", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -235,7 +235,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "encodes", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -267,14 +267,14 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_encodes_file_system_files_file_id", column: x => x.file_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_files", principalColumn: "id", onDelete: ReferentialAction.Cascade); table.ForeignKey( name: "fk_encodes_recipes_recipe_id", column: x => x.recipe_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "recipes", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -282,7 +282,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "file_system_files_audio_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { file_system_file_id = table.Column(type: "uuid", nullable: false), @@ -303,7 +303,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_file_system_files_audio_streams_file_system_files_file_syst", column: x => x.file_system_file_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_files", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -311,7 +311,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "file_system_files_subtitle_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { file_system_file_id = table.Column(type: "uuid", nullable: false), @@ -328,7 +328,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_file_system_files_subtitle_streams_file_system_files_file_s", column: x => x.file_system_file_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_files", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -336,7 +336,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "file_system_files_video_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { file_system_file_id = table.Column(type: "uuid", nullable: false), @@ -359,7 +359,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_file_system_files_video_streams_file_system_files_file_syst", column: x => x.file_system_file_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "file_system_files", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -367,7 +367,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "encode_snapshots", - schema: "dashboard", + schema: "orchestrator", columns: table => new { id = table.Column(type: "uuid", nullable: false), @@ -383,7 +383,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_encode_snapshots_encodes_encode_id", column: x => x.encode_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "encodes", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -391,7 +391,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "encode_snapshots_audio_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { encode_snapshot_id = table.Column(type: "uuid", nullable: false), @@ -412,7 +412,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_encode_snapshots_audio_streams_encode_snapshots_encode_snap", column: x => x.encode_snapshot_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "encode_snapshots", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -420,7 +420,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "encode_snapshots_subtitle_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { encode_snapshot_id = table.Column(type: "uuid", nullable: false), @@ -437,7 +437,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_encode_snapshots_subtitle_streams_encode_snapshots_encode_s", column: x => x.encode_snapshot_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "encode_snapshots", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -445,7 +445,7 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateTable( name: "encode_snapshots_video_streams", - schema: "dashboard", + schema: "orchestrator", columns: table => new { encode_snapshot_id = table.Column(type: "uuid", nullable: false), @@ -468,7 +468,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table.ForeignKey( name: "fk_encode_snapshots_video_streams_encode_snapshots_encode_snap", column: x => x.encode_snapshot_id, - principalSchema: "dashboard", + principalSchema: "orchestrator", principalTable: "encode_snapshots", principalColumn: "id", onDelete: ReferentialAction.Cascade); @@ -476,115 +476,115 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.CreateIndex( name: "ix_encode_saga_state_input_file_path", - schema: "dashboard", + schema: "orchestrator", table: "encode_saga_state", column: "input_file_path", unique: true); migrationBuilder.CreateIndex( name: "ix_encode_saga_state_output_file_path", - schema: "dashboard", + schema: "orchestrator", table: "encode_saga_state", column: "output_file_path", unique: true); migrationBuilder.CreateIndex( name: "ix_encode_snapshots_encode_id", - schema: "dashboard", + schema: "orchestrator", table: "encode_snapshots", column: "encode_id"); migrationBuilder.CreateIndex( name: "ix_encodes_file_id", - schema: "dashboard", + schema: "orchestrator", table: "encodes", column: "file_id"); migrationBuilder.CreateIndex( name: "ix_encodes_recipe_id", - schema: "dashboard", + schema: "orchestrator", table: "encodes", column: "recipe_id"); migrationBuilder.CreateIndex( name: "IX_file_system_directories_library_id", - schema: "dashboard", + schema: "orchestrator", table: "file_system_directories", column: "library_id"); migrationBuilder.CreateIndex( name: "IX_file_system_directories_parent_directory_id", - schema: "dashboard", + schema: "orchestrator", table: "file_system_directories", column: "parent_directory_id"); migrationBuilder.CreateIndex( name: "IX_file_system_files_library_id", - schema: "dashboard", + schema: "orchestrator", table: "file_system_files", column: "library_id"); migrationBuilder.CreateIndex( name: "IX_file_system_files_parent_directory_id", - schema: "dashboard", + schema: "orchestrator", table: "file_system_files", column: "parent_directory_id"); migrationBuilder.CreateIndex( name: "ix_inbox_state_delivered", - schema: "dashboard", + schema: "orchestrator", table: "inbox_state", column: "delivered"); migrationBuilder.CreateIndex( name: "ix_libraries_name", - schema: "dashboard", + schema: "orchestrator", table: "libraries", column: "name", unique: true); migrationBuilder.CreateIndex( name: "ix_libraries_slug", - schema: "dashboard", + schema: "orchestrator", table: "libraries", column: "slug", unique: true); migrationBuilder.CreateIndex( name: "ix_outbox_message_enqueue_time", - schema: "dashboard", + schema: "orchestrator", table: "outbox_message", column: "enqueue_time"); migrationBuilder.CreateIndex( name: "ix_outbox_message_expiration_time", - schema: "dashboard", + schema: "orchestrator", table: "outbox_message", column: "expiration_time"); migrationBuilder.CreateIndex( name: "ix_outbox_message_inbox_message_id_inbox_consumer_id_sequence_", - schema: "dashboard", + schema: "orchestrator", table: "outbox_message", columns: new[] { "inbox_message_id", "inbox_consumer_id", "sequence_number" }, unique: true); migrationBuilder.CreateIndex( name: "ix_outbox_message_outbox_id_sequence_number", - schema: "dashboard", + schema: "orchestrator", table: "outbox_message", columns: new[] { "outbox_id", "sequence_number" }, unique: true); migrationBuilder.CreateIndex( name: "ix_outbox_state_created", - schema: "dashboard", + schema: "orchestrator", table: "outbox_state", column: "created"); migrationBuilder.CreateIndex( name: "ix_recipes_name", - schema: "dashboard", + schema: "orchestrator", table: "recipes", column: "name", unique: true); @@ -595,67 +595,67 @@ protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "encode_saga_state", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "encode_snapshots_audio_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "encode_snapshots_subtitle_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "encode_snapshots_video_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "file_system_files_audio_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "file_system_files_subtitle_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "file_system_files_video_streams", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "inbox_state", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "outbox_message", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "outbox_state", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "encode_snapshots", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "encodes", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "file_system_files", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "recipes", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "file_system_directories", - schema: "dashboard"); + schema: "orchestrator"); migrationBuilder.DropTable( name: "libraries", - schema: "dashboard"); + schema: "orchestrator"); } } } diff --git a/src/Service.Dashboard/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs b/src/Service.Orchestrator/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs similarity index 89% rename from src/Service.Dashboard/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs rename to src/Service.Orchestrator/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs index a741a047..a0a71329 100644 --- a/src/Service.Dashboard/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/src/Service.Orchestrator/src/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; @@ -8,7 +8,7 @@ #nullable disable -namespace Giantnodes.Service.Dashboard.Persistence.Migrations +namespace Giantnodes.Service.Orchestrator.Persistence.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot @@ -17,13 +17,13 @@ protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasDefaultSchema("dashboard") + .HasDefaultSchema("orchestrator") .HasAnnotation("ProductVersion", "8.0.5") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { b.Property("Id") .HasColumnType("uuid") @@ -101,10 +101,10 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.HasIndex("RecipeId") .HasDatabaseName("ix_encodes_recipe_id"); - b.ToTable("encodes", "dashboard"); + b.ToTable("encodes", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => { b.Property("Id") .HasColumnType("uuid") @@ -136,10 +136,10 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.HasIndex("EncodeId") .HasDatabaseName("ix_encode_snapshots_encode_id"); - b.ToTable("encode_snapshots", "dashboard"); + b.ToTable("encode_snapshots", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry", b => { b.Property("Id") .HasColumnType("uuid") @@ -185,7 +185,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.UseTpcMappingStrategy(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { b.Property("Id") .HasColumnType("uuid") @@ -234,10 +234,10 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_libraries_slug"); - b.ToTable("libraries", "dashboard"); + b.ToTable("libraries", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", b => { b.Property("Id") .HasColumnType("uuid") @@ -300,10 +300,10 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_recipes_name"); - b.ToTable("recipes", "dashboard"); + b.ToTable("recipes", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Persistence.Sagas.EncodeSagaState", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Persistence.Sagas.EncodeSagaState", b => { b.Property("CorrelationId") .HasColumnType("uuid") @@ -361,7 +361,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_encode_saga_state_output_file_path"); - b.ToTable("encode_saga_state", "dashboard"); + b.ToTable("encode_saga_state", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.InboxState", b => @@ -424,7 +424,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.HasIndex("Delivered") .HasDatabaseName("ix_inbox_state_delivered"); - b.ToTable("inbox_state", "dashboard"); + b.ToTable("inbox_state", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.OutboxMessage", b => @@ -541,7 +541,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsUnique() .HasDatabaseName("ix_outbox_message_inbox_message_id_inbox_consumer_id_sequence_"); - b.ToTable("outbox_message", "dashboard"); + b.ToTable("outbox_message", "orchestrator"); }); modelBuilder.Entity("MassTransit.EntityFrameworkCoreIntegration.OutboxState", b => @@ -579,44 +579,44 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.HasIndex("Created") .HasDatabaseName("ix_outbox_state_created"); - b.ToTable("outbox_state", "dashboard"); + b.ToTable("outbox_state", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { - b.HasBaseType("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry"); + b.HasBaseType("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry"); - b.ToTable("file_system_directories", "dashboard"); + b.ToTable("file_system_directories", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { - b.HasBaseType("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry"); + b.HasBaseType("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry"); b.Property("ProbedAt") .HasColumnType("timestamp with time zone") .HasColumnName("probed_at"); - b.ToTable("file_system_files", "dashboard"); + b.ToTable("file_system_files", "orchestrator"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", "File") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", "File") .WithMany("Encodes") .HasForeignKey("FileId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encodes_file_system_files_file_id"); - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", "Recipe") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", "Recipe") .WithMany("Encodes") .HasForeignKey("RecipeId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encodes_recipes_recipe_id"); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Values.EncodeSpeed", "Speed", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Values.EncodeSpeed", "Speed", b1 => { b1.Property("EncodeId") .HasColumnType("uuid") @@ -636,14 +636,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("EncodeId"); - b1.ToTable("encodes", "dashboard"); + b1.ToTable("encodes", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeId") .HasConstraintName("fk_encodes_encodes_id"); }); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.Machine", "Machine", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.Machine", "Machine", b1 => { b1.Property("EncodeId") .HasColumnType("uuid") @@ -666,7 +666,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("EncodeId"); - b1.ToTable("encodes", "dashboard"); + b1.ToTable("encodes", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeId") @@ -682,16 +682,16 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("Speed"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Entities.EncodeSnapshot", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", "Encode") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", "Encode") .WithMany("Snapshots") .HasForeignKey("EncodeId") .OnDelete(DeleteBehavior.Cascade) .IsRequired() .HasConstraintName("fk_encode_snapshots_encodes_encode_id"); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.AudioStream", "AudioStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.AudioStream", "AudioStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -740,14 +740,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_audio_streams"); - b1.ToTable("encode_snapshots_audio_streams", "dashboard"); + b1.ToTable("encode_snapshots_audio_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_audio_streams_encode_snapshots_encode_snap"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -780,14 +780,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_subtitle_streams"); - b1.ToTable("encode_snapshots_subtitle_streams", "dashboard"); + b1.ToTable("encode_snapshots_subtitle_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_subtitle_streams_encode_snapshots_encode_s"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.VideoStream", "VideoStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.VideoStream", "VideoStreams", b1 => { b1.Property("EncodeSnapshotId") .HasColumnType("uuid") @@ -829,13 +829,13 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("EncodeSnapshotId", "Id") .HasName("pk_encode_snapshots_video_streams"); - b1.ToTable("encode_snapshots_video_streams", "dashboard"); + b1.ToTable("encode_snapshots_video_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("EncodeSnapshotId") .HasConstraintName("fk_encode_snapshots_video_streams_encode_snapshots_encode_snap"); - b1.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => + b1.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => { b2.Property("VideoStreamEncodeSnapshotId") .HasColumnType("uuid") @@ -864,7 +864,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b2.HasKey("VideoStreamEncodeSnapshotId", "VideoStreamId"); - b2.ToTable("encode_snapshots_video_streams", "dashboard"); + b2.ToTable("encode_snapshots_video_streams", "orchestrator"); b2.WithOwner() .HasForeignKey("VideoStreamEncodeSnapshotId", "VideoStreamId") @@ -884,15 +884,15 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("VideoStreams"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.FileSystemEntry", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.FileSystemEntry", b => { - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", "Library") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", "Library") .WithMany("Entries") .HasForeignKey("LibraryId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", "ParentDirectory") + b.HasOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", "ParentDirectory") .WithMany("Entries") .HasForeignKey("ParentDirectoryId"); @@ -901,9 +901,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("ParentDirectory"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("LibraryId") .HasColumnType("uuid") @@ -933,7 +933,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("LibraryId"); - b1.ToTable("libraries", "dashboard"); + b1.ToTable("libraries", "orchestrator"); b1.WithOwner() .HasForeignKey("LibraryId") @@ -944,9 +944,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsRequired(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("FileSystemDirectoryId") .HasColumnType("uuid") @@ -976,7 +976,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemDirectoryId"); - b1.ToTable("file_system_directories", "dashboard"); + b1.ToTable("file_system_directories", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemDirectoryId") @@ -987,9 +987,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) .IsRequired(); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.AudioStream", "AudioStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.AudioStream", "AudioStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1038,14 +1038,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_audio_streams"); - b1.ToTable("file_system_files_audio_streams", "dashboard"); + b1.ToTable("file_system_files_audio_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_audio_streams_file_system_files_file_syst"); }); - b.OwnsOne("Giantnodes.Service.Dashboard.Domain.Values.PathInfo", "PathInfo", b1 => + b.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Values.PathInfo", "PathInfo", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1075,14 +1075,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId"); - b1.ToTable("file_system_files", "dashboard"); + b1.ToTable("file_system_files", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_file_system_files_id"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.SubtitleStream", "SubtitleStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1115,14 +1115,14 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_subtitle_streams"); - b1.ToTable("file_system_files_subtitle_streams", "dashboard"); + b1.ToTable("file_system_files_subtitle_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_subtitle_streams_file_system_files_file_s"); }); - b.OwnsMany("Giantnodes.Service.Dashboard.Domain.Values.VideoStream", "VideoStreams", b1 => + b.OwnsMany("Giantnodes.Service.Orchestrator.Domain.Values.VideoStream", "VideoStreams", b1 => { b1.Property("FileSystemFileId") .HasColumnType("uuid") @@ -1164,13 +1164,13 @@ protected override void BuildModel(ModelBuilder modelBuilder) b1.HasKey("FileSystemFileId", "Id") .HasName("pk_file_system_files_video_streams"); - b1.ToTable("file_system_files_video_streams", "dashboard"); + b1.ToTable("file_system_files_video_streams", "orchestrator"); b1.WithOwner() .HasForeignKey("FileSystemFileId") .HasConstraintName("fk_file_system_files_video_streams_file_system_files_file_syst"); - b1.OwnsOne("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => + b1.OwnsOne("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.Values.VideoQuality", "Quality", b2 => { b2.Property("VideoStreamFileSystemFileId") .HasColumnType("uuid") @@ -1199,7 +1199,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b2.HasKey("VideoStreamFileSystemFileId", "VideoStreamId"); - b2.ToTable("file_system_files_video_streams", "dashboard"); + b2.ToTable("file_system_files_video_streams", "orchestrator"); b2.WithOwner() .HasForeignKey("VideoStreamFileSystemFileId", "VideoStreamId") @@ -1220,27 +1220,27 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("VideoStreams"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes.Encode", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Encodes.Encode", b => { b.Navigation("Snapshots"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Library", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Library", b => { b.Navigation("Entries"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Recipes.Recipe", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Recipes.Recipe", b => { b.Navigation("Encodes"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories.FileSystemDirectory", b => { b.Navigation("Entries"); }); - modelBuilder.Entity("Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files.FileSystemFile", b => + modelBuilder.Entity("Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files.FileSystemFile", b => { b.Navigation("Encodes"); }); diff --git a/src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaState.cs b/src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaState.cs similarity index 96% rename from src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaState.cs rename to src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaState.cs index fa4dfd8f..149abdca 100644 --- a/src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaState.cs +++ b/src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaState.cs @@ -1,6 +1,6 @@ using MassTransit; -namespace Giantnodes.Service.Dashboard.Persistence.Sagas; +namespace Giantnodes.Service.Orchestrator.Persistence.Sagas; public class EncodeSagaState : SagaStateMachineInstance { diff --git a/src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaStateMap.cs b/src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaStateMap.cs similarity index 90% rename from src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaStateMap.cs rename to src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaStateMap.cs index 511564c0..9d856437 100644 --- a/src/Service.Dashboard/src/Persistence/Sagas/EncodeSagaStateMap.cs +++ b/src/Service.Orchestrator/src/Persistence/Sagas/EncodeSagaStateMap.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Giantnodes.Service.Dashboard.Persistence.Sagas; +namespace Giantnodes.Service.Orchestrator.Persistence.Sagas; public class EncodeSagaStateMap : SagaClassMap { diff --git a/src/Service.Dashboard/src/Persistence/Setup.cs b/src/Service.Orchestrator/src/Persistence/Setup.cs similarity index 94% rename from src/Service.Dashboard/src/Persistence/Setup.cs rename to src/Service.Orchestrator/src/Persistence/Setup.cs index ab3e627e..0d0ac486 100644 --- a/src/Service.Dashboard/src/Persistence/Setup.cs +++ b/src/Service.Orchestrator/src/Persistence/Setup.cs @@ -1,13 +1,13 @@ using EntityFramework.Exceptions.PostgreSQL; using Giantnodes.Infrastructure.EntityFrameworkCore; -using Giantnodes.Service.Dashboard.Persistence.DbContexts; +using Giantnodes.Service.Orchestrator.Persistence.DbContexts; using MassTransit; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Npgsql; -namespace Giantnodes.Service.Dashboard.Persistence; +namespace Giantnodes.Service.Orchestrator.Persistence; public static class Setup { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit.csproj b/src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit.csproj similarity index 82% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit.csproj rename to src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit.csproj index 333ca3c6..dc8b19b5 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit.csproj +++ b/src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit.csproj @@ -6,7 +6,7 @@ enable false true - Giantnodes.Service.Dashboard.Application.Components.Tests.Unit + Giantnodes.Service.Orchestrator.Application.Components.Tests.Unit @@ -27,8 +27,8 @@ - - + + diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs b/src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs similarity index 88% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs rename to src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs index 46b081d4..d6ff7e15 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs +++ b/src/Service.Orchestrator/tests/Application.Components.Tests.Unit/Libraries/Commands/LibraryCreateConsumerTests.cs @@ -3,18 +3,18 @@ using Giantnodes.Infrastructure.Faults; using Giantnodes.Infrastructure.Faults.Types; using Giantnodes.Infrastructure.Uow.Services; -using Giantnodes.Service.Dashboard.Application.Components.Libraries.Commands; -using Giantnodes.Service.Dashboard.Application.Contracts.Libraries.Commands; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries.Repositories; -using Giantnodes.Service.Dashboard.Tests.Shared.Fixtures; +using Giantnodes.Service.Orchestrator.Application.Components.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Application.Contracts.Libraries.Commands; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries.Repositories; +using Giantnodes.Service.Orchestrator.Tests.Shared.Fixtures; using MassTransit; using MassTransit.Testing; using Microsoft.Extensions.DependencyInjection; using NSubstitute; using Xunit; -namespace Giantnodes.Service.Dashboard.Application.Components.Tests.Libraries.Commands; +namespace Giantnodes.Service.Orchestrator.Application.Components.Tests.Libraries.Commands; public class LibraryCreateConsumerTests : FileSystemFixture { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs similarity index 76% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs rename to src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs index d0b4e2e3..805b7ac3 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs +++ b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Entries/FileSystemEntryTests.cs @@ -1,11 +1,11 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Directories; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries.Files; -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Tests.Shared.Fixtures; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Directories; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Entries.Files; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Tests.Shared.Fixtures; using Xunit; -namespace Giantnodes.Service.Dashboard.Domain.Tests.Aggregates.Entries; +namespace Giantnodes.Service.Orchestrator.Domain.Tests.Aggregates.Entries; public class FileSystemEntryTests : FileSystemFixture { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs similarity index 84% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs rename to src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs index ddd0eba3..cee09046 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs +++ b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Aggregates/Libraries/LibraryTests.cs @@ -1,9 +1,9 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Libraries; -using Giantnodes.Service.Dashboard.Domain.Shared.Enums; -using Giantnodes.Service.Dashboard.Tests.Shared.Fixtures; +using Giantnodes.Service.Orchestrator.Domain.Aggregates.Libraries; +using Giantnodes.Service.Orchestrator.Domain.Shared.Enums; +using Giantnodes.Service.Orchestrator.Tests.Shared.Fixtures; using Xunit; -namespace Giantnodes.Service.Dashboard.Domain.Tests.Aggregates.Libraries; +namespace Giantnodes.Service.Orchestrator.Domain.Tests.Aggregates.Libraries; public class LibraryTests : FileSystemFixture { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Giantnodes.Service.Dashboard.Domain.Tests.Unit.csproj b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Giantnodes.Service.Orchestrator.Domain.Tests.Unit.csproj similarity index 82% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Giantnodes.Service.Dashboard.Domain.Tests.Unit.csproj rename to src/Service.Orchestrator/tests/Domain.Tests.Unit/Giantnodes.Service.Orchestrator.Domain.Tests.Unit.csproj index 412a8f5c..2ef8235e 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Giantnodes.Service.Dashboard.Domain.Tests.Unit.csproj +++ b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Giantnodes.Service.Orchestrator.Domain.Tests.Unit.csproj @@ -6,7 +6,7 @@ enable false true - Giantnodes.Service.Dashboard.Domain.Tests.Unit + Giantnodes.Service.Orchestrator.Domain.Tests.Unit @@ -24,8 +24,8 @@ - - + + diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Values/PathInfoTests.cs b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Values/PathInfoTests.cs similarity index 87% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Values/PathInfoTests.cs rename to src/Service.Orchestrator/tests/Domain.Tests.Unit/Values/PathInfoTests.cs index 6054a232..f67028f1 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Domain.Tests.Unit/Values/PathInfoTests.cs +++ b/src/Service.Orchestrator/tests/Domain.Tests.Unit/Values/PathInfoTests.cs @@ -1,8 +1,8 @@ -using Giantnodes.Service.Dashboard.Domain.Values; -using Giantnodes.Service.Dashboard.Tests.Shared.Fixtures; +using Giantnodes.Service.Orchestrator.Domain.Values; +using Giantnodes.Service.Orchestrator.Tests.Shared.Fixtures; using Xunit; -namespace Giantnodes.Service.Dashboard.Domain.Tests.Values; +namespace Giantnodes.Service.Orchestrator.Domain.Tests.Values; public class PathInfoTests : FileSystemFixture { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Tests.Shared/Fixtures/FileSystemFixture.cs b/src/Service.Orchestrator/tests/Tests.Shared/Fixtures/FileSystemFixture.cs similarity index 98% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Tests.Shared/Fixtures/FileSystemFixture.cs rename to src/Service.Orchestrator/tests/Tests.Shared/Fixtures/FileSystemFixture.cs index 7fbac1cc..8a725614 100644 --- a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Tests.Shared/Fixtures/FileSystemFixture.cs +++ b/src/Service.Orchestrator/tests/Tests.Shared/Fixtures/FileSystemFixture.cs @@ -1,7 +1,7 @@ using System.IO.Abstractions.TestingHelpers; using Xunit; -namespace Giantnodes.Service.Dashboard.Tests.Shared.Fixtures; +namespace Giantnodes.Service.Orchestrator.Tests.Shared.Fixtures; public class FileSystemFixture : IDisposable { diff --git a/src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Tests.Shared/Giantnodes.Service.Dashboard.Tests.Shared.csproj b/src/Service.Orchestrator/tests/Tests.Shared/Giantnodes.Service.Orchestrator.Tests.Shared.csproj similarity index 100% rename from src/Service.Dashboard/tests/Giantnodes.Service.Dashboard.Tests.Shared/Giantnodes.Service.Dashboard.Tests.Shared.csproj rename to src/Service.Orchestrator/tests/Tests.Shared/Giantnodes.Service.Orchestrator.Tests.Shared.csproj