-
Notifications
You must be signed in to change notification settings - Fork 0
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 #77 from intergral/76_plugins
feat(plugins): change the way plugins are loaded
- Loading branch information
Showing
49 changed files
with
657 additions
and
859 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
81 changes: 0 additions & 81 deletions
81
agent-api/src/main/java/com/intergral/deep/agent/api/auth/AuthProvider.java
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
98 changes: 0 additions & 98 deletions
98
agent-api/src/main/java/com/intergral/deep/agent/api/plugin/IPlugin.java
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
agent-api/src/main/java/com/intergral/deep/agent/api/plugin/ISnapshotDecorator.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,38 @@ | ||
/* | ||
* Copyright (C) 2023 Intergral GmbH | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package com.intergral.deep.agent.api.plugin; | ||
|
||
import com.intergral.deep.agent.api.resource.Resource; | ||
import com.intergral.deep.agent.api.settings.ISettings; | ||
|
||
/** | ||
* This type allows a plugin to provide additional attributes to captured snapshots. | ||
*/ | ||
public interface ISnapshotDecorator { | ||
|
||
/** | ||
* This method is called by Deep after a snapshot is created. | ||
* <p> | ||
* This method is executed inline with the tracepoint code. | ||
* | ||
* @param settings the current settings of Deep | ||
* @param snapshot the {@link ISnapshotContext} describing the snapshot | ||
* @return a new {@link Resource} to be added to the snapshot, or {@code null} to do nothing | ||
*/ | ||
Resource decorate(final ISettings settings, final ISnapshotContext snapshot); | ||
} |
81 changes: 0 additions & 81 deletions
81
agent-api/src/main/java/com/intergral/deep/agent/api/reflection/ReflectionUtils.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.