-
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.
DATAGO-84852: C-EMA restart resilience for scan jobs (#208)
- Loading branch information
Showing
15 changed files
with
599 additions
and
84 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
3 changes: 3 additions & 0 deletions
3
.../java/com/solace/maas/ep/event/management/agent/repository/scan/ScanStatusRepository.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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.solace.maas.ep.event.management.agent.repository.scan; | ||
|
||
import com.solace.maas.ep.event.management.agent.repository.model.scan.ScanStatusEntity; | ||
import com.solace.maas.ep.event.management.agent.repository.model.scan.ScanTypeEntity; | ||
import org.springframework.data.repository.CrudRepository; | ||
|
||
public interface ScanStatusRepository extends CrudRepository<ScanStatusEntity, String> { | ||
|
||
ScanStatusEntity findByScanType(ScanTypeEntity scanType); | ||
} |
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
9 changes: 9 additions & 0 deletions
9
...lace/maas/ep/event/management/agent/subscriber/PersistentMessageHandlerObserverPhase.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,9 @@ | ||
package com.solace.maas.ep.event.management.agent.subscriber; | ||
|
||
public enum PersistentMessageHandlerObserverPhase { | ||
RECEIVED, | ||
INITIATED, | ||
COMPLETED, | ||
ACKNOWLEDGED, | ||
FAILED | ||
} |
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
...ace/maas/ep/event/management/agent/subscriber/SolacePersistentMessageHandlerObserver.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,15 @@ | ||
package com.solace.maas.ep.event.management.agent.subscriber; | ||
|
||
import com.solace.messaging.receiver.InboundMessage; | ||
|
||
/** | ||
* The SolacePersistentMessageHandlerObserver interface defines methods to observe | ||
* the lifecycle of messages handled by a Solace message handler. Implementers can | ||
* use this interface to react to various stages of message processing. | ||
* Primary use case is for testing purposes. | ||
*/ | ||
public interface SolacePersistentMessageHandlerObserver { | ||
|
||
void onPhaseChange(InboundMessage message, PersistentMessageHandlerObserverPhase phase); | ||
|
||
} |
Oops, something went wrong.