-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to granualarly filter events (#364)
* removed posix-api dependency from pom * added plugin side filtering functionality and unit test cases * mainly UI changes and event naming changed * added environment variable tests * removed config changed event, added conflicting fig checks and tests * Update src/main/java/org/datadog/jenkins/plugins/datadog/DatadogUtilities.java Co-authored-by: Sarah Witt <[email protected]> * Update src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java Co-authored-by: Sarah Witt <[email protected]> * Update src/test/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfigurationTest.java Co-authored-by: Sarah Witt <[email protected]> * Update src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java Co-authored-by: Sarah Witt <[email protected]> * changed naming of utilities check to send event method * removed previously deprecated config change getters and setters * removed event name from class and checking event send method uses name string rather than event * moved inclusion list creation to datadog utilities and adjusted tests for env variable conflicts * renamed config check method in global config * updated documentation * Remove explicit check for overlapping filters * Fix tests to assert error message rather than exception * Update spacing * Apply suggestions from code review Co-authored-by: Brett Blue <[email protected]> * change to shouldSendEvent * move isTemporarily to base class and still send metrics if event category is excluded * Update src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/config.jelly Co-authored-by: NouemanKHAL <[email protected]> * Move event names to constants * Update README.md Co-authored-by: Brett Blue <[email protected]> --------- Co-authored-by: Dawit Girma <[email protected]> Co-authored-by: dawitgirm <[email protected]> Co-authored-by: Brett Blue <[email protected]> Co-authored-by: NouemanKHAL <[email protected]>
- Loading branch information
1 parent
f206645
commit 77642c6
Showing
30 changed files
with
1,103 additions
and
406 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 |
---|---|---|
|
@@ -8,3 +8,5 @@ target/* | |
nb-configuration.xml | ||
.idea | ||
*.iml | ||
docker-compose.yaml | ||
/.vscode/ |
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
Oops, something went wrong.