@itentialopensource/adapter-sectigo_certification_manager 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +45 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +1323 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +13 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +646 -0
  13. package/README.md +343 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +18 -0
  16. package/TAB1.md +10 -0
  17. package/TAB2.md +325 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +20171 -0
  20. package/adapterBase.js +1452 -0
  21. package/entities/.generic/action.json +214 -0
  22. package/entities/.generic/schema.json +28 -0
  23. package/entities/.system/action.json +50 -0
  24. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  25. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  26. package/entities/.system/schema.json +19 -0
  27. package/entities/.system/schemaTokenReq.json +53 -0
  28. package/entities/.system/schemaTokenResp.json +53 -0
  29. package/entities/ACMEEVDetailsValidation/action.json +24 -0
  30. package/entities/ACMEEVDetailsValidation/schema.json +19 -0
  31. package/entities/Administrators/action.json +230 -0
  32. package/entities/Administrators/schema.json +29 -0
  33. package/entities/AssignmentRules/action.json +127 -0
  34. package/entities/AssignmentRules/schema.json +24 -0
  35. package/entities/AzureAccounts/action.json +67 -0
  36. package/entities/AzureAccounts/schema.json +21 -0
  37. package/entities/CertificateBuckets/action.json +207 -0
  38. package/entities/CertificateBuckets/schema.json +28 -0
  39. package/entities/ClientCertificates/action.json +270 -0
  40. package/entities/ClientCertificates/schema.json +31 -0
  41. package/entities/CustomFields/action.json +106 -0
  42. package/entities/CustomFields/schema.json +23 -0
  43. package/entities/DeviceCertificates/action.json +289 -0
  44. package/entities/DeviceCertificates/schema.json +32 -0
  45. package/entities/DomainControlValidation/action.json +265 -0
  46. package/entities/DomainControlValidation/schema.json +31 -0
  47. package/entities/Domains/action.json +206 -0
  48. package/entities/Domains/schema.json +28 -0
  49. package/entities/MSADDiscoveryTasks/action.json +126 -0
  50. package/entities/MSADDiscoveryTasks/schema.json +24 -0
  51. package/entities/MSAgents/action.json +106 -0
  52. package/entities/MSAgents/schema.json +23 -0
  53. package/entities/NetworkAgents/action.json +250 -0
  54. package/entities/NetworkAgents/schema.json +30 -0
  55. package/entities/NetworkDiscoveryTasks/action.json +126 -0
  56. package/entities/NetworkDiscoveryTasks/schema.json +24 -0
  57. package/entities/Notifications/action.json +106 -0
  58. package/entities/Notifications/schema.json +23 -0
  59. package/entities/Operations/action.json +66 -0
  60. package/entities/Operations/schema.json +21 -0
  61. package/entities/Organizations/action.json +148 -0
  62. package/entities/Organizations/schema.json +36 -0
  63. package/entities/Persons/action.json +209 -0
  64. package/entities/Persons/schema.json +28 -0
  65. package/entities/Reports/action.json +104 -0
  66. package/entities/Reports/schema.json +34 -0
  67. package/entities/SSLCertificates/action.json +370 -0
  68. package/entities/SSLCertificates/schema.json +36 -0
  69. package/entities/SectigoPublicACMEAccounts/action.json +208 -0
  70. package/entities/SectigoPublicACMEAccounts/schema.json +28 -0
  71. package/entities/SectigoPublicACMEServers/action.json +25 -0
  72. package/entities/SectigoPublicACMEServers/schema.json +19 -0
  73. package/entities/TemplateAdministrators/action.json +106 -0
  74. package/entities/TemplateAdministrators/schema.json +23 -0
  75. package/entities/UniversalACMEAccounts/action.json +147 -0
  76. package/entities/UniversalACMEAccounts/schema.json +25 -0
  77. package/error.json +190 -0
  78. package/metadata.json +81 -0
  79. package/package.json +81 -0
  80. package/pronghorn.json +11368 -0
  81. package/propertiesDecorators.json +14 -0
  82. package/propertiesSchema.json +1574 -0
  83. package/refs?service=git-upload-pack +0 -0
  84. package/report/Sectigo-Certificate-Management-OpenAPI.json +20192 -0
  85. package/report/adapterInfo.json +10 -0
  86. package/report/auto-adapter-openapi.json +8898 -0
  87. package/report/creationReport.json +1485 -0
  88. package/sampleProperties.json +265 -0
  89. package/test/integration/adapterTestBasicGet.js +83 -0
  90. package/test/integration/adapterTestConnectivity.js +118 -0
  91. package/test/integration/adapterTestIntegration.js +5256 -0
  92. package/test/unit/adapterBaseTestUnit.js +1024 -0
  93. package/test/unit/adapterTestUnit.js +7204 -0
  94. package/utils/adapterInfo.js +206 -0
  95. package/utils/addAuth.js +94 -0
  96. package/utils/artifactize.js +146 -0
  97. package/utils/basicGet.js +50 -0
  98. package/utils/checkMigrate.js +63 -0
  99. package/utils/entitiesToDB.js +179 -0
  100. package/utils/findPath.js +74 -0
  101. package/utils/methodDocumentor.js +273 -0
  102. package/utils/modify.js +152 -0
  103. package/utils/packModificationScript.js +35 -0
  104. package/utils/patches2bundledDeps.js +90 -0
  105. package/utils/pre-commit.sh +32 -0
  106. package/utils/removeHooks.js +20 -0
  107. package/utils/setup.js +33 -0
  108. package/utils/taskMover.js +309 -0
  109. package/utils/tbScript.js +239 -0
  110. package/utils/tbUtils.js +489 -0
  111. package/utils/testRunner.js +298 -0
  112. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,250 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getNetworkAgentServerNodeDetails",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server/{pathv2}/node/{pathv3}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getNetworkAgentServersList",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "addServerToNetworkAgent",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getNetworkAgentList",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/api/agent/v1/network?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "addNetworkAgent",
88
+ "protocol": "REST",
89
+ "method": "POST",
90
+ "entitypath": "{base_path}/{version}/api/agent/v1/network?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "getNetworkAgentServerDetails",
108
+ "protocol": "REST",
109
+ "method": "GET",
110
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server/{pathv2}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "sendGetBody": false,
116
+ "requestDatatype": "JSON",
117
+ "responseDatatype": "JSON",
118
+ "headers": {},
119
+ "responseObjects": [
120
+ {
121
+ "type": "default",
122
+ "key": "",
123
+ "mockFile": ""
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "name": "updateServerDetails",
129
+ "protocol": "REST",
130
+ "method": "PUT",
131
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server/{pathv2}?{query}",
132
+ "requestSchema": "schema.json",
133
+ "responseSchema": "schema.json",
134
+ "timeout": 0,
135
+ "sendEmpty": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "deleteServerFromNetworkAgent",
149
+ "protocol": "REST",
150
+ "method": "DELETE",
151
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server/{pathv2}?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "getNetworkAgentDetails",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": ""
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "updateNetworkAgent",
190
+ "protocol": "REST",
191
+ "method": "PUT",
192
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "requestDatatype": "JSON",
198
+ "responseDatatype": "JSON",
199
+ "headers": {},
200
+ "responseObjects": [
201
+ {
202
+ "type": "default",
203
+ "key": "",
204
+ "mockFile": ""
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "name": "deleteNetworkAgent",
210
+ "protocol": "REST",
211
+ "method": "DELETE",
212
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}?{query}",
213
+ "requestSchema": "schema.json",
214
+ "responseSchema": "schema.json",
215
+ "timeout": 0,
216
+ "sendEmpty": false,
217
+ "requestDatatype": "JSON",
218
+ "responseDatatype": "JSON",
219
+ "headers": {},
220
+ "responseObjects": [
221
+ {
222
+ "type": "default",
223
+ "key": "",
224
+ "mockFile": ""
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "getNetworkAgentServersList1",
230
+ "protocol": "REST",
231
+ "method": "GET",
232
+ "entitypath": "{base_path}/{version}/api/agent/v1/network/{pathv1}/server/{pathv2}/node?{query}",
233
+ "requestSchema": "schema.json",
234
+ "responseSchema": "schema.json",
235
+ "timeout": 0,
236
+ "sendEmpty": false,
237
+ "sendGetBody": false,
238
+ "requestDatatype": "JSON",
239
+ "responseDatatype": "JSON",
240
+ "headers": {},
241
+ "responseObjects": [
242
+ {
243
+ "type": "default",
244
+ "key": "",
245
+ "mockFile": ""
246
+ }
247
+ ]
248
+ }
249
+ ]
250
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getNetworkAgentServerNodeDetails",
12
+ "enum": [
13
+ "getNetworkAgentServerNodeDetails",
14
+ "getNetworkAgentServersList",
15
+ "addServerToNetworkAgent",
16
+ "getNetworkAgentList",
17
+ "addNetworkAgent",
18
+ "getNetworkAgentServerDetails",
19
+ "updateServerDetails",
20
+ "deleteServerFromNetworkAgent",
21
+ "getNetworkAgentDetails",
22
+ "updateNetworkAgent",
23
+ "deleteNetworkAgent",
24
+ "getNetworkAgentServersList1"
25
+ ],
26
+ "external_name": "ph_request_type"
27
+ }
28
+ },
29
+ "definitions": {}
30
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "startNetworkScanTask",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task/{pathv1}/start?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "getNetworkScanTaskList",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "createNetworkTask",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "updateNetworkTask",
66
+ "protocol": "REST",
67
+ "method": "PUT",
68
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "getNetworkTask",
86
+ "protocol": "REST",
87
+ "method": "GET",
88
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task/{pathv1}?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "sendGetBody": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "deleteNetworkScanTask",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/api/discovery/v4/net_task/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "startNetworkScanTask",
12
+ "enum": [
13
+ "startNetworkScanTask",
14
+ "getNetworkScanTaskList",
15
+ "createNetworkTask",
16
+ "updateNetworkTask",
17
+ "getNetworkTask",
18
+ "deleteNetworkScanTask"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getNotifyTypes",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/notification/v1/types?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getNotifyList",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/api/notification/v1?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "createNotification",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/api/notification/v1?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "updateNotification",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/api/notification/v1/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "deleteNotification",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/api/notification/v1/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getNotifyTypes",
12
+ "enum": [
13
+ "getNotifyTypes",
14
+ "getNotifyList",
15
+ "createNotification",
16
+ "updateNotification",
17
+ "deleteNotification"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getOperationsList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/discovery/v1/{pathv1}/{pathv2}/operation?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "stopOperation",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/api/discovery/v1/{pathv1}/{pathv2}/operation/{pathv3}/stop?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "getOperationResult",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/discovery/v1/{pathv1}/{pathv2}/operation/{pathv3}/result?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getOperationsList",
12
+ "enum": [
13
+ "getOperationsList",
14
+ "stopOperation",
15
+ "getOperationResult"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }