55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json.schemastore.org/template",
|
|
"author": "StellaOps",
|
|
"classifications": ["StellaOps", "Plugin", "Connector"],
|
|
"identity": "StellaOps.Plugin.Connector",
|
|
"name": "StellaOps Connector Plugin",
|
|
"shortName": "stellaops-plugin-connector",
|
|
"description": "A template for creating StellaOps connector plugins (e.g., VEX, advisory, or feed connectors)",
|
|
"tags": {
|
|
"language": "C#",
|
|
"type": "project"
|
|
},
|
|
"sourceName": "MyConnector",
|
|
"preferNameDirectory": true,
|
|
"symbols": {
|
|
"connectorName": {
|
|
"type": "parameter",
|
|
"datatype": "text",
|
|
"description": "The name of the connector (e.g., 'Acme' for AcmeConnector)",
|
|
"defaultValue": "MyConnector",
|
|
"replaces": "MyConnector",
|
|
"fileRename": "MyConnector"
|
|
},
|
|
"connectorId": {
|
|
"type": "parameter",
|
|
"datatype": "text",
|
|
"description": "The unique connector identifier (e.g., 'acme-vex')",
|
|
"defaultValue": "my-connector",
|
|
"replaces": "my-connector"
|
|
},
|
|
"namespace": {
|
|
"type": "parameter",
|
|
"datatype": "text",
|
|
"description": "The root namespace for the plugin",
|
|
"defaultValue": "StellaOps.Plugin.MyConnector",
|
|
"replaces": "StellaOps.Plugin.MyConnector"
|
|
},
|
|
"pluginVersion": {
|
|
"type": "parameter",
|
|
"datatype": "text",
|
|
"description": "The initial plugin version",
|
|
"defaultValue": "1.0.0",
|
|
"replaces": "1.0.0-template"
|
|
}
|
|
},
|
|
"postActions": [
|
|
{
|
|
"description": "Restore NuGet packages required by this project",
|
|
"manualInstructions": [{ "text": "Run 'dotnet restore'" }],
|
|
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
}
|