Skip to content

Commit 23bb012

Browse files
committed
minor naming changes
1 parent 6296930 commit 23bb012

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/Services/SagaManager/SagaManager/IntegrationEvents/ISagaManagingIntegrationEventService.cs renamed to src/Services/SagaManager/SagaManager/IntegrationEvents/ISagaManagerIntegrationEventService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
44

5-
public interface ISagaManagingIntegrationEventService
5+
public interface ISagaManagerIntegrationEventService
66
{
77
void PublishThroughEventBus(IntegrationEvent evt);
88
}

src/Services/SagaManager/SagaManager/IntegrationEvents/SagaManagingIntegrationEventService.cs renamed to src/Services/SagaManager/SagaManager/IntegrationEvents/SagaManagerIntegrationEventService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
55
using System;
66

7-
public class SagaManagingIntegrationEventService : ISagaManagingIntegrationEventService
7+
public class SagaManagerIntegrationEventService : ISagaManagerIntegrationEventService
88
{
99
private readonly IEventBus _eventBus;
1010

11-
public SagaManagingIntegrationEventService(IEventBus eventBus)
11+
public SagaManagerIntegrationEventService(IEventBus eventBus)
1212
{
1313
_eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus));
1414
}

src/Services/SagaManager/SagaManager/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static IServiceProvider ConfigureServices(IServiceCollection services)
5858
.AddOptions()
5959
.Configure<SagaManagerSettings>(Configuration)
6060
.AddSingleton<ISagaManagerService, SagaManagerService>()
61-
.AddSingleton<ISagaManagingIntegrationEventService, SagaManagingIntegrationEventService>()
61+
.AddSingleton<ISagaManagerIntegrationEventService, SagaManagerIntegrationEventService>()
6262
.AddSingleton<IEventBus, EventBusRabbitMQ>()
6363
.AddSingleton<IEventBusSubscriptionsManager, InMemoryEventBusSubscriptionsManager>()
6464
.AddSingleton<IRabbitMQPersistentConnection>(sp =>

src/Services/SagaManager/SagaManager/Services/SagaManagerService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ namespace SagaManager.Services
1414
public class SagaManagerService : ISagaManagerService
1515
{
1616
private readonly SagaManagerSettings _settings;
17-
private readonly ISagaManagingIntegrationEventService _sagaManagingIntegrationEventService;
17+
private readonly ISagaManagerIntegrationEventService _sagaManagerIntegrationEventService;
1818
private readonly ILogger<SagaManagerService> _logger;
1919

2020
public SagaManagerService(IOptions<SagaManagerSettings> settings,
21-
ISagaManagingIntegrationEventService sagaManagingIntegrationEventService,
21+
ISagaManagerIntegrationEventService sagaManagerIntegrationEventService,
2222
ILogger<SagaManagerService> logger)
2323
{
2424
_settings = settings.Value;
25-
_sagaManagingIntegrationEventService = sagaManagingIntegrationEventService;
25+
_sagaManagerIntegrationEventService = sagaManagerIntegrationEventService;
2626
_logger = logger;
2727
}
2828

@@ -66,7 +66,7 @@ private void Publish(int orderId)
6666
var confirmGracePeriodEvent = new ConfirmGracePeriodCommandMsg(orderId);
6767

6868
// Publish through the Event Bus
69-
_sagaManagingIntegrationEventService.PublishThroughEventBus(confirmGracePeriodEvent);
69+
_sagaManagerIntegrationEventService.PublishThroughEventBus(confirmGracePeriodEvent);
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)