Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump event-handling + hide events #1283

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ nuget Be.Vlaanderen.Basisregisters.Auth.AcmIdm 3.0.0
nuget Be.Vlaanderen.Basisregisters.Aws.DistributedMutex 4.0.1
nuget Be.Vlaanderen.Basisregisters.Aws.Lambda 4.0.0

nuget Be.Vlaanderen.Basisregisters.EventHandling 5.0.0
nuget Be.Vlaanderen.Basisregisters.EventHandling.Autofac 5.0.0
nuget Be.Vlaanderen.Basisregisters.EventHandling 6.0.0
nuget Be.Vlaanderen.Basisregisters.EventHandling.Autofac 6.0.0

nuget Be.Vlaanderen.Basisregisters.MessageHandling.AwsSqs.Simple 5.1.0
nuget Be.Vlaanderen.Basisregisters.MessageHandling.Kafka.Producer 5.1.0
Expand Down
6 changes: 3 additions & 3 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ NUGET
NodaTime (>= 3.1.11)
Be.Vlaanderen.Basisregisters.DockerUtilities (3.0)
Ductus.FluentDocker (>= 2.10.59)
Be.Vlaanderen.Basisregisters.EventHandling (5.0)
Be.Vlaanderen.Basisregisters.EventHandling (6.0)
Be.Vlaanderen.Basisregisters.Converters.TrimString (>= 4.0)
Newtonsoft.Json (>= 13.0.3)
NodaTime.Serialization.JsonNet (>= 3.1)
Be.Vlaanderen.Basisregisters.EventHandling.Autofac (5.0)
Be.Vlaanderen.Basisregisters.EventHandling.Autofac (6.0)
Autofac.Extensions.DependencyInjection (>= 9.0)
Be.Vlaanderen.Basisregisters.EventHandling (5.0)
Be.Vlaanderen.Basisregisters.EventHandling (6.0)
Be.Vlaanderen.Basisregisters.Generators.Guid.Deterministic (4.0)
Be.Vlaanderen.Basisregisters.GrAr.Common (21.14.1)
Be.Vlaanderen.Basisregisters.AggregateSource (>= 9.0.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.AllStream.Events
using BuildingRegistry.Building;
using Newtonsoft.Json;

[HideEvent]
[EventName(EventName)]
[EventDescription("Nieuwe OSLO snapshots werd aangevraagd voor de gebouwen.")]
public sealed class BuildingOsloSnapshotsWereRequested : IHasProvenance, ISetProvenance, IMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ namespace BuildingRegistry.AllStream.Events
using BuildingRegistry.Building;
using Newtonsoft.Json;

[HideEvent]
[EventName(EventName)]
[EventDescription("Nieuwe OSLO snapshots werd aangevraagd voor de gebouweenheden.")]
public sealed class BuildingUnitOsloSnapshotsWereRequested : IHasProvenance, ISetProvenance, IMessage
{
public const string EventName = "BuildingUnitOsloSnapshotsWereRequested"; // BE CAREFUL CHANGING THIS!!

[EventPropertyDescription("Objectidentificatoren van de gebouweenheden.")]
public IEnumerable<int> BuildingUnitPersistentLocalIds { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace BuildingRegistry.Building.Events
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[EventTags(Tag.Building)]
[EventName(EventName)]
[EventDescription("Het gebouw werd geïmporteerd door GRB.")]
Expand Down
1 change: 1 addition & 0 deletions src/BuildingRegistry/Building/Events/BuildingSnapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Building.Events
using Be.Vlaanderen.Basisregisters.GrAr.Provenance;
using Newtonsoft.Json;

[HideEvent]
[EventName("BuildingSnapshot")]
[EventSnapshot(nameof(SnapshotContainer) + "<BuildingSnapshot>", typeof(SnapshotContainer))]
[EventDescription("Snapshot of Building with BuildingUnits")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressHouseNumberPositionWasImportedFromCrab")]
[EventDescription("Legacy event om tblAdresPositie en tblAdresPositie_hist te importeren voor huisnummers.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressHouseNumberStatusWasImportedFromCrab")]
[EventDescription("Legacy event om tblHuisnummerStatus en tblHuisnummerStatus_hist te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressHouseNumberWasImportedFromCrab")]
[EventDescription("Legacy event om tblHuisnummer en tblHuisnummer_hist te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressSubaddressPositionWasImportedFromCrab")]
[EventDescription("Legacy event om tblAdresPositie en tblAdresPositie_hist te importeren voor subadressen.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressSubaddressStatusWasImportedFromCrab")]
[EventDescription("Legacy event om tblSubadresStatus en tblSubadresStatus_hist te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("AddressSubaddressWasImportedFromCrab")]
[EventDescription("Legacy event om tblSubadres en tblSubadres_hist te importeren voor gemGebouwen.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("BuildingGeometryWasImportedFromCrab")]
[EventDescription("Legacy event om tblgebouwgeometrie en tblgebouwgeometrie_hist te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("BuildingStatusWasImportedFromCrab")]
[EventDescription("Legacy event om tblgebouwstatus en tblgebouwstatus_hist te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("HouseNumberWasReaddressedFromCrab")]
[EventDescription("Legacy event om heradressing van huisnummers te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("SubaddressWasReaddressedFromCrab")]
[EventDescription("Legacy event om heradressing van subadressen te importeren.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("TerrainObjectHouseNumberWasImportedFromCrab")]
[EventDescription("Legacy event om tblterreinobject_huisnummer en tblterreinobject_huisnummer_hist te importeren voor gemGebouwen.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace BuildingRegistry.Legacy.Events.Crab
using Newtonsoft.Json;
using NodaTime;

[HideEvent]
[Obsolete("CRAB events are obsolete.")]
[EventName("TerrainObjectWasImportedFromCrab")]
[EventDescription("Legacy event om tblterreinobject en tblterreinobject_hist te importeren voor gemGebouwen.")]
Expand Down
Loading