[
https://issues.apache.org/jira/browse/EAGLE-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120762#comment-15120762
]
Senthilkumar commented on EAGLE-81:
-----------------------------------
@RalphSu , thanks for pointing out . Yes , Eagle has Entity Repository Scanner.
If i want to use EntityScanner, the entity should be registered with Entity
Repository..
Here requirement is different..
Say , as a user i want to use eagle monitoring , eagle provides end to end
components ..but as user i want to forward generated alert to Other System for
Visuvalization .. in this case in Eagle we provide Plugin to implement and
write their OWN business logic .. During deployment , users will upload their
integrated library .. At the time of Topology Start Eagle should start load all
API's which implements NotificationPlugin ..
I was thinking that Using Reflection API we could achieve this requirement :) ..
Per @yonzhang Edward's Suggestion , We can follow How PolicyManager Loads
(Using JAVA SPI )..
I'll change from Reflection to JAVA SPI , i think that will avoid another
dependency library :) .
TO summarize this :
1) For Entity Scanning - EntityRepositoryScanner
2) Loading API's which implements Specific Interface - JAVA SPI
> Notification Plugin Framework
> -----------------------------
>
> Key: EAGLE-81
> URL: https://issues.apache.org/jira/browse/EAGLE-81
> Project: Eagle
> Issue Type: New Feature
> Reporter: Senthilkumar
> Assignee: Senthilkumar
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Today notification is only allowed for email .. We need more notification
> methods to send alert to external system .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)