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

Create FeedbackAnalysisResultCreatedEventHandler event handler #98

Open
sulton-max opened this issue Mar 11, 2024 · 0 comments · Fixed by #159
Open

Create FeedbackAnalysisResultCreatedEventHandler event handler #98

sulton-max opened this issue Mar 11, 2024 · 0 comments · Fixed by #159
Assignees
Labels
backend Server-side logic, backend API feature New functionality or enhancementsy or enhancements high Important with high priority

Comments

@sulton-max
Copy link
Contributor

Create FeedbackAnalysisResultCreatedEventHandler event handler

Description

FeedbackAnalysisResultCreatedEvent event is published when feedback analysis is finished to notify the system about the result, in the event handler we need to update workflow result.

FeedbackAnalysisResultCreatedEvent must be published by orchestration service that orchestrates feedback analysis. In the handler we need to update analyzed feedbacks count in the in memory cache and if the analyzed feedbacks count reaches the total count of feedbacks, we need to update workflow result

Requirements

  • project should be runnable
  • must FeedbackAnalysisResult from Entity type

Deliverables

  • FeedbackAnalysisResultCreatedEvent - event to notify that feedback analysis is finished and feedback result is created
  • FeedbackAnalysisResultCreatedEventHandler - event handler to do something for created feedback analysis result
  • FeedbackWorkflowResultUpdateEvent - event to update workflow result
  • FeedbackWorkflowResultUpdateEventHandler - event handler that updates workflow result

Architecture

image

@sulton-max sulton-max added backend Server-side logic, backend API ai-training Machine learning models, AI training processes high Important with high priority labels Mar 11, 2024
@sulton-max sulton-max added feature New functionality or enhancementsy or enhancements and removed ai-training Machine learning models, AI training processes labels Mar 29, 2024
sulton-max added a commit that referenced this issue Mar 29, 2024
Create `FeedbackAnalysisResultCreatedEvent` and `FeedbackAnalysisWorkflowResultUpdateEvent`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Server-side logic, backend API feature New functionality or enhancementsy or enhancements high Important with high priority
Projects
Status: In Progress
2 participants