-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Separate queue service and implement factory for webhooks (#…
…599) * refactor: Separate queue service and implement factory for webhooks Signed-off-by: Oleg Kopysov <[email protected]> * fix: Fix for the async start of threds Signed-off-by: Oleg Kopysov <[email protected]> * fix: Apply fix after code review Signed-off-by: Oleg Kopysov <[email protected]> --------- Signed-off-by: Oleg Kopysov <[email protected]>
- Loading branch information
Showing
11 changed files
with
1,269 additions
and
998 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,11 @@ | ||
/** | ||
* Copyright (c) 2024, Samsung Electronics Co., Ltd. All rights reserved. | ||
* | ||
* Use of this source code is governed by a MIT license that can be | ||
* found in the LICENSE file. | ||
*/ | ||
|
||
/** | ||
* This package contains entity classes that represent various types of reports generated by the LPVS service. | ||
*/ | ||
package com.lpvs.entity.report; |
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
22 changes: 22 additions & 0 deletions
22
src/main/java/com/lpvs/service/webhook/LPVSWebhookService.java
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,22 @@ | ||
/** | ||
* Copyright (c) 2024, Samsung Electronics Co., Ltd. All rights reserved. | ||
* | ||
* Use of this source code is governed by a MIT license that can be | ||
* found in the LICENSE file. | ||
*/ | ||
package com.lpvs.service.webhook; | ||
|
||
import com.lpvs.entity.LPVSQueue; | ||
|
||
/** | ||
* The LPVSWebhookService interface defines the contract for processing LPVSQueue elements and handling webhook events. | ||
*/ | ||
public interface LPVSWebhookService { | ||
|
||
/** | ||
* Processes the LPVSQueue element, handling webhook events. | ||
* | ||
* @param webhookConfig The LPVSQueue element to be processed. | ||
*/ | ||
void processWebHook(LPVSQueue webhookConfig); | ||
} |
Oops, something went wrong.