File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 8
8
"apiToken" : " <apiToken>"
9
9
},
10
10
"actionMappings" : {
11
- "acknowledgeNotification" : {
11
+ "Acknowledge" : {
12
+ "filepath" : " <path_of_script>" ,
13
+ "sourceType" : " <local | git>" ,
14
+ "env" : [],
15
+ "stdout" : " <path_of_output_file_of_script>"
16
+ },
17
+ "AddNote" : {
18
+ "filepath" : " <path_of_script>" ,
19
+ "sourceType" : " <local | git>" ,
20
+ "env" : [],
21
+ "stdout" : " <path_of_output_file_of_script>"
22
+ },
23
+ "Close" : {
12
24
"filepath" : " <path_of_script>" ,
13
25
"sourceType" : " <local | git>" ,
14
26
"env" : [],
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def send_close_request():
48
48
logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
49
49
else :
50
50
logging .error (
51
- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
51
+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
52
52
response .content ))
53
53
54
54
@@ -66,7 +66,7 @@ def send_acknowledge_request():
66
66
logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
67
67
else :
68
68
logging .error (
69
- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
69
+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
70
70
response .content ))
71
71
72
72
@@ -100,7 +100,7 @@ def send_add_note_request():
100
100
logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
101
101
else :
102
102
logging .error (
103
- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
103
+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
104
104
response .content ))
105
105
106
106
You can’t perform that action at this time.
0 commit comments