-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: add shutdown into extension plugin (#4924)
* ENH: add shutdown into extension plugin Signed-off-by: George Chen <[email protected]>
- Loading branch information
1 parent
0d121bc
commit af9cab8
Showing
6 changed files
with
54 additions
and
33 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
20 changes: 20 additions & 0 deletions
20
...repper-api/src/test/java/org/opensearch/dataprepper/model/plugin/ExtensionPluginTest.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,20 @@ | ||
package org.opensearch.dataprepper.model.plugin; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class ExtensionPluginTest { | ||
|
||
@Test | ||
void testShutdown() { | ||
final ExtensionPlugin extensionPlugin = new ExtensionPluginTestImpl(); | ||
extensionPlugin.shutdown(); | ||
} | ||
|
||
static class ExtensionPluginTestImpl implements ExtensionPlugin { | ||
|
||
@Override | ||
public void apply(ExtensionPoints extensionPoints) { | ||
|
||
} | ||
} | ||
} |
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
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