generated from Brightscout/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.json
80 lines (80 loc) · 3.45 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"id": "mattermost-plugin-servicenow",
"name": "ServiceNow",
"description": "This plugin serves as an integration between Mattermost and ServiceNow.",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-servicenow",
"support_url": "https://github.com/mattermost/mattermost-plugin-servicenow/issues",
"icon_path": "assets/icon.svg",
"min_server_version": "6.3.0",
"server": {
"executables": {
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"linux-amd64": "server/dist/plugin-linux-amd64",
"linux-arm64": "server/dist/plugin-linux-arm64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
},
"executable": ""
},
"webapp": {
"bundle_path": "webapp/dist/main.js"
},
"settings_schema": {
"header": "",
"footer": "",
"settings": [
{
"key": "ServiceNowBaseURL",
"display_name": "ServiceNow Server Base URL:",
"type": "text",
"help_text": "The base URL for the ServiceNow server.",
"placeholder": "https://servicenow.com",
"default": null
},
{
"key": "WebhookSecret",
"display_name": "Webhook Secret:",
"type": "generated",
"help_text": "The webhook secret used by the ServiceNow API calls to Mattermost for sending notifications. Regenerating this key will stop the subscription notifications. Refer to the [documentation](https://github.com/mattermost/mattermost-plugin-servicenow) to update the secret in the ServiceNow instance and start receiving notifications again.",
"regenerate_help_text": "Regenerate a new webhook secret. This webhook secret is used to authenticate the HTTP requests from ServiceNow to Mattermost.",
"placeholder": "",
"default": null,
"secret": true
},
{
"key": "ServiceNowOAuthClientID",
"display_name": "ServiceNow OAuth Client ID:",
"type": "text",
"help_text": "The client ID for the OAuth app registered with ServiceNow.",
"placeholder": "",
"default": null
},
{
"key": "ServiceNowOAuthClientSecret",
"display_name": "ServiceNow OAuth Client Secret:",
"type": "text",
"help_text": "The client secret for the OAuth app registered with ServiceNow.",
"placeholder": "",
"default": null,
"secret": true
},
{
"key": "EncryptionSecret",
"display_name": "Encryption Secret:",
"type": "generated",
"help_text": "The secret key used to encrypt and decrpyt OAuth token.",
"placeholder": "",
"default": null,
"secret": true
},
{
"key": "ServiceNowUpdateSetDownload",
"display_name": "Download ServiceNow Update Set:",
"type": "custom",
"help_text": "The update set XML file that needs to be uploaded in ServiceNow for enabling subscriptions.",
"placeholder": "",
"default": ""
}
]
}
}