-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Create `FeedbackAnalysisResultCreatedEvent` and `FeedbackAnalysisWorkflowResultUpdateEvent`
- Loading branch information
Showing
49 changed files
with
3,667 additions
and
335 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
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
2 changes: 1 addition & 1 deletion
2
src/Feedback.Analyzer.Backend/Feedback.Analyzer.Application/Clients/Models/ClientFilter.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
90 changes: 0 additions & 90 deletions
90
...edback.Analyzer.Backend/Feedback.Analyzer.Application/Common/Caching/MemoryCacheBroker.cs
This file was deleted.
Oops, something went wrong.
105 changes: 0 additions & 105 deletions
105
...lyzer.Backend/Feedback.Analyzer.Application/Common/Caching/RedisDistributedCacheBroker.cs
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...ackend/Feedback.Analyzer.Application/Common/PromptCategory/Models/PromptCategoryFilter.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
2 changes: 1 addition & 1 deletion
2
...back.Analyzer.Backend/Feedback.Analyzer.Application/Common/Prompts/Models/PromptFilter.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
2 changes: 1 addition & 1 deletion
2
....Backend/Feedback.Analyzer.Application/CustomerFeedbacks/Models/CustomerFeedbackFilter.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
15 changes: 15 additions & 0 deletions
15
...Analyzer.Application/FeedbackAnalysisResults/Events/FeedbackAnalysisResultCreatedEvent.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,15 @@ | ||
using Feedback.Analyzer.Domain.Common.Events; | ||
using Feedback.Analyzer.Domain.Entities; | ||
|
||
namespace Feedback.Analyzer.Application.FeedbackAnalysisResults.Events; | ||
|
||
/// <summary> | ||
/// Represents feedback analysis result creation event | ||
/// </summary> | ||
public record FeedbackAnalysisResultCreatedEvent : EventBase | ||
{ | ||
/// <summary> | ||
/// Created feedback analysis result | ||
/// </summary> | ||
public FeedbackAnalysisResult FeedbackAnalysisResult { get; init; } = default!; | ||
} |
2 changes: 1 addition & 1 deletion
2
...dback.Analyzer.Application/FeedbackAnalysisResults/Models/FeedbackAnalysisResultFilter.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
9 changes: 9 additions & 0 deletions
9
...ation/FeedbackAnalysisWorkflowResults/Events/FeedbackAnalysisWorkflowResultUpdateEvent.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,9 @@ | ||
using Feedback.Analyzer.Domain.Common.Events; | ||
|
||
namespace Feedback.Analyzer.Application.FeedbackAnalysisWorkflowResults.Events; | ||
|
||
/// <summary> | ||
/// Represents feedback analysis workflow result update event | ||
/// </summary> | ||
/// <param name="WorkflowResultId">Workflow result id to update</param> | ||
public record FeedbackAnalysisWorkflowResultUpdateEvent(Guid WorkflowResultId) : EventBase; |
2 changes: 1 addition & 1 deletion
2
...pplication/FeedbackAnalysisWorkflowResults/Models/FeedbackAnalysisWorkflowResultFilter.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
24 changes: 24 additions & 0 deletions
24
...lication/FeedbackAnalysisWorkflowResults/Models/FeedbackAnalysisWorkflowResultProgress.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,24 @@ | ||
using Feedback.Analyzer.Domain.Entities; | ||
|
||
namespace Feedback.Analyzer.Application.FeedbackAnalysisWorkflowResults.Models; | ||
|
||
/// <summary> | ||
/// Represents the progress of a feedback analysis workflow result. | ||
/// </summary> | ||
public struct FeedbackAnalysisWorkflowResultProgress(FeedbackAnalysisWorkflowResult workflowResult) | ||
{ | ||
/// <summary> | ||
/// Gets or the identifier of the workflow result. | ||
/// </summary> | ||
public Guid WorkflowResultId { get; init; } = workflowResult.Id; | ||
|
||
/// <summary> | ||
/// Gets the total number of feedbacks. | ||
/// </summary> | ||
public uint FeedbacksCount { get; init; } = workflowResult.FeedbacksCount; | ||
|
||
/// <summary> | ||
/// Gets or sets the number of feedbacks that have been analysed. | ||
/// </summary> | ||
public uint AnalyzedFeedbacksCount { get; set; } = default; | ||
} |
2 changes: 1 addition & 1 deletion
2
...k.Analyzer.Application/FeedbackAnalysisWorkflows/Models/FeedbackAnalysisWorkflowFilter.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
2 changes: 1 addition & 1 deletion
2
...Analyzer.Backend/Feedback.Analyzer.Application/Organizations/Models/OrganizationFilter.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
2 changes: 1 addition & 1 deletion
2
src/Feedback.Analyzer.Backend/Feedback.Analyzer.Application/Products/Models/ProductFilter.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
Oops, something went wrong.