-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Make capture more extendable with 3rd party plugins.
[Draft] Plugin API Contract
| StatusCode(Required) | Body(Optional) | Description |
|---|---|---|
| 0 | All system operational. | Success 🟢 |
| 1 | This feature will be deprecated soon. | Warning |
| 2 | Unable to retrieve data. | Failure 🔴 |
| 3 | I don't know. | Unknown ⚫ |
How to store plugins?
- We need to make Capture configurable with a config file to define plugins.
- Capture configuration file #81
Plugin Configuration
# YAML
plugins:
- name: my_custom_plugin
location: "./plugins/my_custom_plugin"// JSON
{
"plugins": [
{
"name": "my_custom_plugin",
"location": "./plugins/my_custom_plugin"
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status
[ // SUCCESS { "status_code": 0, "body": "All system operational." }, // WARNING { "status_code": 1, "body": "This feature will be deprecated soon." }, // FAILURE { "status_code": 2, "body": "Unable to retrieve data." }, // UNKNOWN { "status_code": 3, "body": "I don't know." } ]