-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
…untry consumers
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Continents; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentCreatedEventConsumer : IConsumer<ContinentCreatedEvent> | ||
{ | ||
public Task Consume(ConsumeContext<ContinentCreatedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentCreatedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Continents/ContinentCreatedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<ContinentCreatedEventConsumer> | ||
{ | ||
public ContinentCreatedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-continent-created"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Continents; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentDeletedEventConsumer : IConsumer<ContinentDeletedEvent> | ||
Check warning on line 5 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Continents/ContinentDeletedEventConsumer.cs
|
||
{ | ||
public Task Consume(ConsumeContext<ContinentDeletedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentDeletedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Continents/ContinentDeletedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<ContinentDeletedEventConsumer> | ||
{ | ||
public ContinentDeletedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-continent-deleted"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Continents; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentUpdatedEventConsumer : IConsumer<ContinentUpdatedEvent> | ||
Check warning on line 5 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Continents/ContinentUpdatedEventConsumer.cs
|
||
{ | ||
public Task Consume(ConsumeContext<ContinentUpdatedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Continents; | ||
|
||
internal sealed class ContinentUpdatedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Continents/ContinentUpdatedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<ContinentUpdatedEventConsumer> | ||
{ | ||
public ContinentUpdatedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-continent-updated"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Countries; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryCreatedEventConsumer : IConsumer<CountryCreatedEvent> | ||
{ | ||
public Task Consume(ConsumeContext<CountryCreatedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryCreatedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Countries/CountryCreatedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<CountryCreatedEventConsumer> | ||
{ | ||
public CountryCreatedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-country-created"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Countries; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryDeletedEventConsumer : IConsumer<CountryDeletedEvent> | ||
Check warning on line 5 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Countries/CountryDeletedEventConsumer.cs
|
||
{ | ||
public Task Consume(ConsumeContext<CountryDeletedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryDeletedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Countries/CountryDeletedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<CountryDeletedEventConsumer> | ||
{ | ||
public CountryDeletedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-country-deleted"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ace.Geograpi.Domain.Events.Countries; | ||
|
||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryUpdatedEventConsumer : IConsumer<CountryUpdatedEvent> | ||
Check warning on line 5 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Countries/CountryUpdatedEventConsumer.cs
|
||
{ | ||
public Task Consume(ConsumeContext<CountryUpdatedEvent> context) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Ace.Geograpi.Infrastructure.MessageBus.Consumers.Countries; | ||
|
||
internal sealed class CountryUpdatedEventConsumerDefinition | ||
Check warning on line 3 in src/Ace.Geograpi.Infrastructure/MessageBus/Consumers/Countries/CountryUpdatedEventConsumerDefinition.cs
|
||
: ConsumerDefinition<CountryUpdatedEventConsumer> | ||
{ | ||
public CountryUpdatedEventConsumerDefinition() | ||
{ | ||
EndpointName = "geograpi-country-updated"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"ConnectionStrings": { | ||
"Database": "Host=ace.geograpi.db;Port=5432;Database=geograpi;Username=postgres;Password=postgres", | ||
"_Database": "Host=localhost;Port=5432;Database=geograpi;Username=postgres;Password=postgres" | ||
"_Database": "Host=localhost;Port=5432;Database=geograpi;Username=postgres;Password=postgres", | ||
"RabbitMQ": "amqp://guest:[email protected]:5672" | ||
}, | ||
"Serilog": { | ||
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ], | ||
|