Skip to content

Commit

Permalink
Rename DeliveryChannelPolicies folders to DeliveryChannels
Browse files Browse the repository at this point in the history
  • Loading branch information
griffri committed Feb 21, 2024
1 parent cabdd4c commit 078bafe
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using API.Features.DeliveryChannelPolicies.Validation;
using API.Features.DeliveryChannels.Validation;

namespace API.Tests.Features.DeliveryChannelPolicies.Validation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using API.Features.DeliveryChannelPolicies.Validation;
using API.Features.DeliveryChannels.Validation;
using DLCS.HydraModel;
using FluentValidation.TestHelper;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace API.Features.DeliveryChannelPolicies.Converters;
namespace API.Features.DeliveryChannels.Converters;

public static class DeliveryChannelPolicyConverter
{
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -14,7 +14,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;

namespace API.Features.DeliveryChannelPolicies;
namespace API.Features.DeliveryChannels;

/// <summary>
/// DLCS REST API Operations for delivery channel policies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using API.Features.DeliveryChannelPolicies.Validation;
using API.Features.DeliveryChannels.Validation;
using API.Infrastructure.Requests;
using DLCS.Core;
using DLCS.Model.Policies;
using DLCS.Repository;
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class CreateDeliveryChannelPolicy : IRequest<ModifyEntityResult<DeliveryChannelPolicy>>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class DeleteDeliveryChannelPolicy: IRequest<ResultMessage<DeleteResult>>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class GetDeliveryChannelPolicies: IRequest<FetchEntityResult<IReadOnlyCollection<DeliveryChannelPolicy>>>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class GetDeliveryChannelPolicy: IRequest<FetchEntityResult<DeliveryChannelPolicy>>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -7,7 +7,7 @@
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class PatchDeliveryChannelPolicy : IRequest<ModifyEntityResult<DeliveryChannelPolicy>>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using API.Features.DeliveryChannelPolicies.Validation;
using API.Features.DeliveryChannels.Validation;
using API.Infrastructure.Requests;
using DLCS.Core;
using DLCS.Model.Policies;
using DLCS.Repository;
using MediatR;
using Microsoft.EntityFrameworkCore;

namespace API.Features.DeliveryChannelPolicies.Requests;
namespace API.Features.DeliveryChannels.Requests;

public class UpdateDeliveryChannelPolicy : IRequest<ModifyEntityResult<DeliveryChannelPolicy>>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using DLCS.Model.Assets;
using IIIF.ImageApi;

namespace API.Features.DeliveryChannelPolicies.Validation;
namespace API.Features.DeliveryChannels.Validation;

public class DeliveryChannelPolicyDataValidator
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace API.Features.DeliveryChannelPolicies.Validation;
namespace API.Features.DeliveryChannels.Validation;

/// <summary>
/// Validator for model sent to POST /deliveryChannelPolicies and PUT/PATCH /deliveryChannelPolicies/{id}
Expand Down
2 changes: 1 addition & 1 deletion src/protagonist/API/Startup.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 078bafe

Please sign in to comment.