-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SASL OAUTHCONFIG for Kafka Broker * SASL OAUTHCONFIG for Kafka Broker * bcps authorization and user update * kafka OauthTokenRefreshCallback Handler * topic name change * merge updates * Merged from build branch - cleanup * Merged from build branch - cleanup * Minor changes for dev deployments * Remove IDP options on login page Enable different scope/consumer groups * IDP update * Add some additional logging * Minor UI tweaks, test removing a completed migration job * Helm updates and fixes for typos * Use vanity URL * Test auto dev deploy * 2 replicas by default * consumer retry logic and architecure diagram for edt * consumer retry logic and architecure diagram for edt * Update Readme.md * Update Readme.md * Update Readme.md * manually commit offset store * Changes to helm charts and minor UI tweaks Oauth kafka updates * Minor change to trigger deploy * Fix issues with secrets being in appsettings and not environment * Get all refresh values from environment * Clear launch - secrets updated * Helm updates * Update assigned groups for a user * Generate user create (provision) messages on new topic for JUSTIN Add SEQ chart and connect to logging for PIDP and EDT * launch settings - new key * Updated dockerfile and new xml config * Changes for helm, dynamic retry topics and notifications. * Schema aware producer for user modifications Helm updates * Library update * Remove config value Base URI cannot start with slash if baseurl has additional paths * Helm updates for vanity URLS * Add helm values for registry * Add client id to producer and consumer Co-authored-by: Stanley Okeke <[email protected]> Co-authored-by: Stanley Okeke <[email protected]>
- Loading branch information
1 parent
fed60c9
commit 66d783e
Showing
78 changed files
with
3,697 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Solution Architecture | ||
|
||
<img align="center" width="1110" src="/docs/Future State Solution Architecture.drawio (3).png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin/ | ||
obj/ |
13 changes: 13 additions & 0 deletions
13
backend/service.edt/Data/Configuration/FailedEventLogConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace edt.service.Data.Configuration; | ||
|
||
using edt.service.ServiceEvents.UserAccountCreation.Models; | ||
using Microsoft.EntityFrameworkCore; | ||
using Microsoft.EntityFrameworkCore.Metadata.Builders; | ||
|
||
public class FailedLogEventConfiguration : IEntityTypeConfiguration<FailedEventLog> | ||
{ | ||
public void Configure(EntityTypeBuilder<FailedEventLog> builder) | ||
{ | ||
//builder.Property(e=>e.EventPayload).HasJsonConversion<> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 146 additions & 0 deletions
146
backend/service.edt/Data/Migrations/20221129204729_FailedEvent.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
backend/service.edt/Data/Migrations/20221129204729_FailedEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace edt.service.Data.Migrations | ||
{ | ||
public partial class FailedEvent : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.CreateTable( | ||
name: "FailedEventLogs", | ||
schema: "edt", | ||
columns: table => new | ||
{ | ||
EventId = table.Column<string>(type: "nvarchar(450)", nullable: false), | ||
Producer = table.Column<string>(type: "nvarchar(max)", nullable: true), | ||
ConsumerGroupId = table.Column<string>(type: "nvarchar(max)", nullable: true), | ||
ConsumerId = table.Column<string>(type: "nvarchar(max)", nullable: true), | ||
Created = table.Column<DateTime>(type: "datetime2", nullable: false), | ||
Modified = table.Column<DateTime>(type: "datetime2", nullable: false) | ||
}, | ||
constraints: table => | ||
{ | ||
table.PrimaryKey("PK_FailedEventLogs", x => x.EventId); | ||
}); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropTable( | ||
name: "FailedEventLogs", | ||
schema: "edt"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace edt.service.Exceptions; | ||
|
||
using System.Runtime.Serialization; | ||
|
||
[Serializable] | ||
public class EdtServiceException : Exception | ||
{ | ||
public EdtServiceException() : base() { } | ||
public EdtServiceException(string message) : base(message ?? "EDT Service not responding") { } | ||
|
||
protected EdtServiceException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace edt.service.Exceptions; | ||
using System.Runtime.Serialization; | ||
|
||
[Serializable] | ||
public class UserOnboardingException : Exception | ||
{ | ||
public UserOnboardingException() : base() { } | ||
public UserOnboardingException(string message) : base(message ?? "User not a valid Justin User.") { } | ||
public UserOnboardingException(string message, Exception innerException) : base(message ?? "UserId not found.", innerException) { } | ||
protected UserOnboardingException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } | ||
} |
Oops, something went wrong.