-
Notifications
You must be signed in to change notification settings - Fork 561
Add Async Operation Status Tracking OSGi Component #6641
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
Add Async Operation Status Tracking OSGi Component #6641
Conversation
PR builder started |
PR builder completed |
|
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
Test failures are known intermittent failures.
|
Current Limitation
WSO2 Identity Server (IS) performs various asynchronous operations, such as sharing applications and users across organizations, bulk user imports, and outbound provisioning. While error logs exist, they are not convenient for administrators to filter and analyze, making it difficult to identify failures and take corrective actions efficiently. Without such notifications, administrators may be unaware of failures or issues, leading to inconsistencies and delays in corrective actions.
Purpose
This pull request introduces a new OSGi component designed to enhance the WSO2 Carbon Identity framework's ability to manage and track the status of asynchronous operations. This component provides a comprehensive solution for monitoring the progress and outcomes of long-running tasks.
This component takes care of providing an overview of the most recent sharing status related with an asynchronous operation at the feature level.
Key Features and Changes:
Asynchronous Operation Status Tracking: Implements a robust and persistent mechanism for recording and monitoring the status of asynchronous operations within the WSO2 Carbon Identity framework.
Database Persistence:
Introduces two new database tables to persist operation statuses, ensuring data durability across system restarts:
IDN_ASYNC_OPERATION_STATUS
andIDN_ASYNC_OPERATION_STATUS_UNIT
.OSGi Service Component:
Develops an OSGi service component, comprising the
AsyncStatusMgtService
interface and its implementation classAsyncStatusMgtServiceImpl
, to manage the lifecycle and data access for asynchronous operation statuses.The
AsyncStatusMgtService
interface defines the core methods for registering, updating, retrieving, and querying operation statuses.The
AsyncStatusMgtServiceImpl
class provides the concrete implementation, handling database interactions and business logic.Related Issues