-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hidapple/develop
Development for initial release
- Loading branch information
Showing
24 changed files
with
1,416 additions
and
212 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 |
---|---|---|
|
@@ -11,4 +11,6 @@ node_modules | |
node | ||
build | ||
build.config.js.sample | ||
cache | ||
|
||
.DS_Store |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,21 @@ | ||
package org.graylog.plugins.teams; | ||
|
||
import org.graylog.plugins.teams.alerts.TeamsNotification; | ||
import org.graylog2.plugin.PluginConfigBean; | ||
import org.graylog2.plugin.PluginModule; | ||
|
||
import java.util.Collections; | ||
import java.util.Set; | ||
|
||
/** | ||
* Extend the PluginModule abstract class here to add you plugin to the system. | ||
*/ | ||
public class TeamsModule extends PluginModule { | ||
|
||
/** | ||
* Returns all configuration beans required by this plugin. | ||
* | ||
* Implementing this method is optional. The default method returns an empty {@link Set}. | ||
*/ | ||
@Override | ||
public Set<? extends PluginConfigBean> getConfigBeans() { | ||
return Collections.emptySet(); | ||
} | ||
|
||
@Override | ||
protected void configure() { | ||
/* | ||
* Register your plugin types here. | ||
* | ||
* Examples: | ||
* | ||
* addMessageInput(Class<? extends MessageInput>); | ||
* addMessageFilter(Class<? extends MessageFilter>); | ||
* addMessageOutput(Class<? extends MessageOutput>); | ||
* addPeriodical(Class<? extends Periodical>); | ||
* addAlarmCallback(Class<? extends AlarmCallback>); | ||
* addInitializer(Class<? extends Service>); | ||
* addRestResource(Class<? extends PluginRestResource>); | ||
* | ||
* | ||
* Add all configuration beans returned by getConfigBeans(): | ||
* | ||
* addConfigBeans(); | ||
*/ | ||
addAlarmCallback(TeamsNotification.class); | ||
} | ||
} |
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
Oops, something went wrong.