Skip to content

Commit

Permalink
Merge branch 'main' into xvibe/show-only-relevant-grid-areas
Browse files Browse the repository at this point in the history
  • Loading branch information
vbelinschi committed Dec 12, 2024
2 parents 14eceb5 + c0738f4 commit 7fd3b01
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ private static readonly IReadOnlyDictionary<AuditIdentity, KnownAuditIdentityPro
{ KnownAuditIdentityProvider.Migration.IdentityId, KnownAuditIdentityProvider.Migration },
{ KnownAuditIdentityProvider.TestFramework.IdentityId, KnownAuditIdentityProvider.TestFramework },
{ KnownAuditIdentityProvider.OrganizationBackgroundService.IdentityId, KnownAuditIdentityProvider.OrganizationBackgroundService },
{ KnownAuditIdentityProvider.ProcessManagerBackgroundJobs.IdentityId, KnownAuditIdentityProvider.ProcessManagerBackgroundJobs },
};

private readonly IUserRepository _userRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Energinet.DataHub.MarketParticipant.Domain.Model;
using Energinet.DataHub.MarketParticipant.Domain.Repositories;
using MediatR;
using NodaTime;

namespace Energinet.DataHub.MarketParticipant.Application.Handlers.GridAreas;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ private KnownAuditIdentityProvider(string friendlyName, string identityId)
public static KnownAuditIdentityProvider Migration { get; } = new("Migrated Data", "00000000-FFFF-FFFF-FFFF-000000000000");
public static KnownAuditIdentityProvider TestFramework { get; } = new("Test Framework", "AAAAAAAA-BBBB-CCCC-DDDD-000000000000");
public static KnownAuditIdentityProvider OrganizationBackgroundService { get; } = new("Organization Background Service", "00000000-1111-0000-0001-000000000000");
public static KnownAuditIdentityProvider ProcessManagerBackgroundJobs { get; } = new("Process Manager Background Jobs", "C861C5E2-8DDA-43E5-A5D0-B94834EE3FF6");

public AuditIdentity IdentityId { get; }
public string FriendlyName { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
using System.Threading.Tasks;
using Energinet.DataHub.MarketParticipant.Application.Commands;
using Energinet.DataHub.MarketParticipant.Application.Commands.GridAreas;
using Energinet.DataHub.MarketParticipant.Application.Commands.Users;
using Energinet.DataHub.MarketParticipant.Domain.Model;
using Energinet.DataHub.MarketParticipant.EntryPoint.WebApi.Revision;
using Energinet.DataHub.RevisionLog.Integration.WebApi;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using NodaTime;

namespace Energinet.DataHub.MarketParticipant.EntryPoint.WebApi.Controllers;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void ControllerEndpoint_Exists_MustHaveAuthorizationAttribute()
$"{nameof(ActorQueryController)}.{nameof(ActorQueryController.GetSelectionActorsAsync)}",
$"{nameof(GridAreaController)}.{nameof(GridAreaController.GetGridAreasAsync)}",
$"{nameof(GridAreaController)}.{nameof(GridAreaController.GetGridAreaAsync)}",
$"{nameof(GridAreaController)}.{nameof(GridAreaController.GetRelevantGridAreasAsync)}",
$"{nameof(GridAreaController)}.{nameof(GridAreaController.GetAuditAsync)}",
$"{nameof(GridAreaOverviewController)}.{nameof(GridAreaOverviewController.GetGridAreaOverviewAsync)}",
$"{nameof(OrganizationController)}.{nameof(OrganizationController.ListAllAsync)}",
Expand Down

0 comments on commit 7fd3b01

Please sign in to comment.