diff --git a/src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidatorTests.cs b/src/protagonist/API.Tests/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidatorTests.cs similarity index 98% rename from src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidatorTests.cs rename to src/protagonist/API.Tests/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidatorTests.cs index 993ae9980..5990e5e1a 100644 --- a/src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidatorTests.cs +++ b/src/protagonist/API.Tests/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidatorTests.cs @@ -1,4 +1,4 @@ -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; namespace API.Tests.Features.DeliveryChannelPolicies.Validation; diff --git a/src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidatorTests.cs b/src/protagonist/API.Tests/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidatorTests.cs similarity index 98% rename from src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidatorTests.cs rename to src/protagonist/API.Tests/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidatorTests.cs index fc48ff84b..4db3bbb04 100644 --- a/src/protagonist/API.Tests/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidatorTests.cs +++ b/src/protagonist/API.Tests/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidatorTests.cs @@ -1,5 +1,5 @@ using System; -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; using DLCS.HydraModel; using FluentValidation.TestHelper; diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Converters/DeliveryChannelPolicyConverter.cs b/src/protagonist/API/Features/DeliveryChannels/Converters/DeliveryChannelPolicyConverter.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Converters/DeliveryChannelPolicyConverter.cs rename to src/protagonist/API/Features/DeliveryChannels/Converters/DeliveryChannelPolicyConverter.cs index 21c1b9b1a..62e4326f3 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Converters/DeliveryChannelPolicyConverter.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Converters/DeliveryChannelPolicyConverter.cs @@ -1,4 +1,4 @@ -namespace API.Features.DeliveryChannelPolicies.Converters; +namespace API.Features.DeliveryChannels.Converters; public static class DeliveryChannelPolicyConverter { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/DeliveryChannelPoliciesController.cs b/src/protagonist/API/Features/DeliveryChannels/DeliveryChannelPoliciesController.cs similarity index 98% rename from src/protagonist/API/Features/DeliveryChannelPolicies/DeliveryChannelPoliciesController.cs rename to src/protagonist/API/Features/DeliveryChannels/DeliveryChannelPoliciesController.cs index 92742052b..a5567a482 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/DeliveryChannelPoliciesController.cs +++ b/src/protagonist/API/Features/DeliveryChannels/DeliveryChannelPoliciesController.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; -using API.Features.DeliveryChannelPolicies.Converters; -using API.Features.DeliveryChannelPolicies.Requests; -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Converters; +using API.Features.DeliveryChannels.Requests; +using API.Features.DeliveryChannels.Validation; using API.Infrastructure; using API.Settings; using DLCS.HydraModel; @@ -14,7 +14,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; -namespace API.Features.DeliveryChannelPolicies; +namespace API.Features.DeliveryChannels; /// /// DLCS REST API Operations for delivery channel policies diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/CreateDeliveryChannelPolicy.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/CreateDeliveryChannelPolicy.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/CreateDeliveryChannelPolicy.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/CreateDeliveryChannelPolicy.cs index 21ad1de9e..61a212345 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/CreateDeliveryChannelPolicy.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/CreateDeliveryChannelPolicy.cs @@ -1,4 +1,4 @@ -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; using API.Infrastructure.Requests; using DLCS.Core; using DLCS.Model.Policies; @@ -6,7 +6,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class CreateDeliveryChannelPolicy : IRequest> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/DeleteDeliveryChannelPolicy.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/DeleteDeliveryChannelPolicy.cs similarity index 97% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/DeleteDeliveryChannelPolicy.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/DeleteDeliveryChannelPolicy.cs index 16145246f..ba46db874 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/DeleteDeliveryChannelPolicy.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/DeleteDeliveryChannelPolicy.cs @@ -4,7 +4,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class DeleteDeliveryChannelPolicy: IRequest> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicies.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicies.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicies.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicies.cs index 189ff9caf..acef5ed80 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicies.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicies.cs @@ -5,7 +5,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class GetDeliveryChannelPolicies: IRequest>> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicy.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicy.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicy.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicy.cs index 03e54926d..929ffc7d5 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/GetDeliveryChannelPolicy.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/GetDeliveryChannelPolicy.cs @@ -4,7 +4,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class GetDeliveryChannelPolicy: IRequest> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/PatchDeliveryChannelPolicy.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/PatchDeliveryChannelPolicy.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/PatchDeliveryChannelPolicy.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/PatchDeliveryChannelPolicy.cs index 0c6615330..4b815aa1a 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/PatchDeliveryChannelPolicy.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/PatchDeliveryChannelPolicy.cs @@ -1,4 +1,4 @@ -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; using API.Infrastructure.Requests; using DLCS.Core; using DLCS.Core.Strings; @@ -7,7 +7,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class PatchDeliveryChannelPolicy : IRequest> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/UpdateDeliveryChannelPolicy.cs b/src/protagonist/API/Features/DeliveryChannels/Requests/UpdateDeliveryChannelPolicy.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Requests/UpdateDeliveryChannelPolicy.cs rename to src/protagonist/API/Features/DeliveryChannels/Requests/UpdateDeliveryChannelPolicy.cs index bb6c10462..00e99f90a 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Requests/UpdateDeliveryChannelPolicy.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Requests/UpdateDeliveryChannelPolicy.cs @@ -1,4 +1,4 @@ -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; using API.Infrastructure.Requests; using DLCS.Core; using DLCS.Model.Policies; @@ -6,7 +6,7 @@ using MediatR; using Microsoft.EntityFrameworkCore; -namespace API.Features.DeliveryChannelPolicies.Requests; +namespace API.Features.DeliveryChannels.Requests; public class UpdateDeliveryChannelPolicy : IRequest> { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidator.cs b/src/protagonist/API/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidator.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidator.cs rename to src/protagonist/API/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidator.cs index 8e9c253c3..ed2d1096c 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Validation/DeliveryChannelPolicyDataValidator.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Validation/DeliveryChannelPolicyDataValidator.cs @@ -3,7 +3,7 @@ using DLCS.Model.Assets; using IIIF.ImageApi; -namespace API.Features.DeliveryChannelPolicies.Validation; +namespace API.Features.DeliveryChannels.Validation; public class DeliveryChannelPolicyDataValidator { diff --git a/src/protagonist/API/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidator.cs b/src/protagonist/API/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidator.cs similarity index 96% rename from src/protagonist/API/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidator.cs rename to src/protagonist/API/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidator.cs index 8f8ca9c1e..f2acf6335 100644 --- a/src/protagonist/API/Features/DeliveryChannelPolicies/Validation/HydraDeliveryChannelPolicyValidator.cs +++ b/src/protagonist/API/Features/DeliveryChannels/Validation/HydraDeliveryChannelPolicyValidator.cs @@ -1,6 +1,6 @@ using FluentValidation; -namespace API.Features.DeliveryChannelPolicies.Validation; +namespace API.Features.DeliveryChannels.Validation; /// /// Validator for model sent to POST /deliveryChannelPolicies and PUT/PATCH /deliveryChannelPolicies/{id} diff --git a/src/protagonist/API/Startup.cs b/src/protagonist/API/Startup.cs index 0668bd7b4..d34c72c0d 100644 --- a/src/protagonist/API/Startup.cs +++ b/src/protagonist/API/Startup.cs @@ -1,6 +1,6 @@ using System.Security.Claims; using API.Auth; -using API.Features.DeliveryChannelPolicies.Validation; +using API.Features.DeliveryChannels.Validation; using API.Features.Image.Ingest; using API.Features.OriginStrategies.Credentials; using API.Infrastructure;