Skip to content

Commit

Permalink
Merge pull request #757 from Klantinteractie-Servicesysteem/PC-95-Con…
Browse files Browse the repository at this point in the history
…figureerbare-kanalenlijst

Pc 95 configureerbare kanalenlijst
  • Loading branch information
felixcicatt authored Apr 8, 2024
2 parents 7fbbecc + 7c63d0d commit 11a3af3
Show file tree
Hide file tree
Showing 106 changed files with 1,258 additions and 220 deletions.
9 changes: 5 additions & 4 deletions Kiss.Bff.Test/AuthorizationCheckTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
using Kiss.Bff.Beheer.Faq;
using Kiss.Bff.Beheer.Data;
using Microsoft.EntityFrameworkCore;
using Kiss.Bff.Beheer.Gespreksresultaten.Controllers;
using Kiss.Bff.Beheer.Links.Controllers;
using static Kiss.Bff.Beheer.Links.Controllers.LinksController;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;

using static Kiss.Bff.Intern.Links.Features.LinksController;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.Beheer.Verwerking;
using Kiss.Bff.Intern.Links.Features;
using Kiss.Bff.Intern.Gespreksresultaten.Features;

namespace Kiss.Bff.Test
{
Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/BerichtenControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Microsoft.AspNetCore.Mvc;

Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/CategorienControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.Beheer.Links.Controllers;
using Kiss.Bff.Beheer.Links.Data.Entities;
using Kiss.Bff.Intern.Links.Features;
using Microsoft.AspNetCore.Mvc;

namespace Kiss.Bff.Test
Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/GespreksresultatenUnitTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.Beheer.Gespreksresultaten.Controllers;
using Kiss.Bff.Intern.Gespreksresultaten.Features;
using Kiss.Bff.Beheer.Gespreksresultaten.Data.Entities;
using Microsoft.AspNetCore.Mvc;

Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/GetFeaturedCountControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Microsoft.AspNetCore.Mvc;

Expand Down
4 changes: 2 additions & 2 deletions Kiss.Bff.Test/LinksControllerUnitTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.Beheer.Links.Controllers;
using Kiss.Bff.Beheer.Links.Data.Entities;
using Kiss.Bff.Intern.Links.Features;
using Microsoft.AspNetCore.Mvc;
using static Kiss.Bff.Beheer.Links.Controllers.LinksController;
using static Kiss.Bff.Intern.Links.Features.LinksController;

namespace Kiss.Bff.Test
{
Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/MarkeerGelezenControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Security.Claims;
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/SearchBerichtenControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Security.Claims;
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
Expand Down
2 changes: 1 addition & 1 deletion Kiss.Bff.Test/SkillsUnitTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using Kiss.Bff.Beheer.Data;
using Kiss.Bff.NieuwsEnWerkinstructies.Controllers;
using Kiss.Bff.NieuwsEnWerkinstructies.Features;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Microsoft.EntityFrameworkCore;

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Kiss.Bff.Beheer.Gespreksresultaten.Data.Entities;
using Kiss.Bff.Beheer.Links.Data.Entities;
using Kiss.Bff.Beheer.Verwerking;
using Kiss.Bff.Intern.Kanalen.Data.Entities;
using Kiss.Bff.NieuwsEnWerkinstructies.Data.Entities;
using Kiss.Bff.ZaakGerichtWerken.Contactmomenten;
using Kiss.Bff.ZaakGerichtWerken.Contactverzoeken;
Expand Down Expand Up @@ -50,6 +51,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Entity<ContactVerzoekVragenSet>()
.Property(p => p.JsonVragen)
.HasColumnType("json");

modelBuilder.Entity<Kanaal>(k => {
k.HasIndex(p => p.Naam).IsUnique();
k.Property(p => p.Naam).IsRequired();

});
}

public DbSet<Bericht> Berichten { get; set; } = null!;
Expand All @@ -61,5 +68,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
public DbSet<VerwerkingsLog> VerwerkingsLogs { get; set; } = null!;
public DbSet<ContactmomentDetails> ContactMomentDetails { get; set; } = null!;
public DbSet<ContactVerzoekVragenSet> ContactVerzoekVragenSets { get; set; } = null!;
public DbSet<Kanaal> Kanalen { get; set; } = null!;
}
}
Loading

0 comments on commit 11a3af3

Please sign in to comment.