@itentialopensource/adapter-checkpoint_gaia 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 (146) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +38 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +1112 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TAB1.md +5 -0
  22. package/TAB2.md +2333 -0
  23. package/TROUBLESHOOT.md +47 -0
  24. package/adapter.js +16218 -0
  25. package/adapterBase.js +1452 -0
  26. package/entities/.generic/action.json +214 -0
  27. package/entities/.generic/schema.json +28 -0
  28. package/entities/.system/action.json +50 -0
  29. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  30. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  31. package/entities/.system/schema.json +19 -0
  32. package/entities/.system/schemaTokenReq.json +53 -0
  33. package/entities/.system/schemaTokenResp.json +53 -0
  34. package/entities/01SessionManagement/action.json +64 -0
  35. package/entities/01SessionManagement/schema.json +21 -0
  36. package/entities/04Interfaces/action.json +64 -0
  37. package/entities/04Interfaces/schema.json +21 -0
  38. package/entities/06AllowedClients/action.json +44 -0
  39. package/entities/06AllowedClients/schema.json +20 -0
  40. package/entities/08System/action.json +144 -0
  41. package/entities/08System/schema.json +25 -0
  42. package/entities/10Snmp/action.json +44 -0
  43. package/entities/10Snmp/schema.json +20 -0
  44. package/entities/11Cluster/action.json +24 -0
  45. package/entities/11Cluster/schema.json +19 -0
  46. package/entities/13Files/action.json +24 -0
  47. package/entities/13Files/schema.json +19 -0
  48. package/entities/14Misc/action.json +44 -0
  49. package/entities/14Misc/schema.json +20 -0
  50. package/entities/15Licensing/action.json +64 -0
  51. package/entities/15Licensing/schema.json +21 -0
  52. package/entities/AliasInterface/action.json +84 -0
  53. package/entities/AliasInterface/schema.json +22 -0
  54. package/entities/BondInterfaces/action.json +104 -0
  55. package/entities/BondInterfaces/schema.json +23 -0
  56. package/entities/BridgeInterface/action.json +104 -0
  57. package/entities/BridgeInterface/schema.json +23 -0
  58. package/entities/CustomIntelligenceFeeds/action.json +144 -0
  59. package/entities/CustomIntelligenceFeeds/schema.json +25 -0
  60. package/entities/CustomTrap/action.json +104 -0
  61. package/entities/CustomTrap/schema.json +23 -0
  62. package/entities/DHCP/action.json +44 -0
  63. package/entities/DHCP/schema.json +20 -0
  64. package/entities/DNS/action.json +44 -0
  65. package/entities/DNS/schema.json +20 -0
  66. package/entities/DateAndTime/action.json +104 -0
  67. package/entities/DateAndTime/schema.json +23 -0
  68. package/entities/GREInterfaces/action.json +104 -0
  69. package/entities/GREInterfaces/schema.json +23 -0
  70. package/entities/Groups/action.json +104 -0
  71. package/entities/Groups/schema.json +23 -0
  72. package/entities/Hostname/action.json +44 -0
  73. package/entities/Hostname/schema.json +20 -0
  74. package/entities/IPv6/action.json +44 -0
  75. package/entities/IPv6/schema.json +20 -0
  76. package/entities/LoopbackInterfaces/action.json +104 -0
  77. package/entities/LoopbackInterfaces/schema.json +23 -0
  78. package/entities/Messages/action.json +124 -0
  79. package/entities/Messages/schema.json +24 -0
  80. package/entities/PhysicalInterfaces/action.json +64 -0
  81. package/entities/PhysicalInterfaces/schema.json +21 -0
  82. package/entities/PolicyBasedRouting/action.json +184 -0
  83. package/entities/PolicyBasedRouting/schema.json +27 -0
  84. package/entities/PreDefinedTrap/action.json +44 -0
  85. package/entities/PreDefinedTrap/schema.json +20 -0
  86. package/entities/Proxy/action.json +64 -0
  87. package/entities/Proxy/schema.json +21 -0
  88. package/entities/Radius/action.json +44 -0
  89. package/entities/Radius/schema.json +20 -0
  90. package/entities/Routes/action.json +164 -0
  91. package/entities/Routes/schema.json +26 -0
  92. package/entities/ScheduledBackups/action.json +104 -0
  93. package/entities/ScheduledBackups/schema.json +23 -0
  94. package/entities/ScheduledSnapshots/action.json +44 -0
  95. package/entities/ScheduledSnapshots/schema.json +20 -0
  96. package/entities/StaticRoutes/action.json +104 -0
  97. package/entities/StaticRoutes/schema.json +23 -0
  98. package/entities/Syslog/action.json +144 -0
  99. package/entities/Syslog/schema.json +25 -0
  100. package/entities/Tacacs/action.json +44 -0
  101. package/entities/Tacacs/schema.json +20 -0
  102. package/entities/TrapReceiver/action.json +104 -0
  103. package/entities/TrapReceiver/schema.json +23 -0
  104. package/entities/USM/action.json +104 -0
  105. package/entities/USM/schema.json +23 -0
  106. package/entities/Users/action.json +104 -0
  107. package/entities/Users/schema.json +23 -0
  108. package/entities/VlanInterface/action.json +104 -0
  109. package/entities/VlanInterface/schema.json +23 -0
  110. package/entities/VxlanInterface/action.json +104 -0
  111. package/entities/VxlanInterface/schema.json +23 -0
  112. package/error.json +190 -0
  113. package/metadata.json +53 -0
  114. package/package.json +83 -0
  115. package/pronghorn.json +7737 -0
  116. package/propertiesDecorators.json +14 -0
  117. package/propertiesSchema.json +1569 -0
  118. package/refs?service=git-upload-pack +0 -0
  119. package/report/GAIA API-1.6.postman_collection.json-OpenApi3Json.json +12507 -0
  120. package/report/adapterInfo.json +10 -0
  121. package/report/creationReport.json +1565 -0
  122. package/sampleProperties.json +256 -0
  123. package/test/integration/adapterTestBasicGet.js +83 -0
  124. package/test/integration/adapterTestConnectivity.js +142 -0
  125. package/test/integration/adapterTestIntegration.js +5145 -0
  126. package/test/unit/adapterBaseTestUnit.js +1024 -0
  127. package/test/unit/adapterTestUnit.js +6055 -0
  128. package/utils/adapterInfo.js +206 -0
  129. package/utils/addAuth.js +94 -0
  130. package/utils/artifactize.js +146 -0
  131. package/utils/basicGet.js +50 -0
  132. package/utils/checkMigrate.js +63 -0
  133. package/utils/entitiesToDB.js +179 -0
  134. package/utils/findPath.js +74 -0
  135. package/utils/methodDocumentor.js +273 -0
  136. package/utils/modify.js +152 -0
  137. package/utils/packModificationScript.js +35 -0
  138. package/utils/patches2bundledDeps.js +90 -0
  139. package/utils/pre-commit.sh +32 -0
  140. package/utils/removeHooks.js +20 -0
  141. package/utils/setup.js +33 -0
  142. package/utils/taskMover.js +309 -0
  143. package/utils/tbScript.js +239 -0
  144. package/utils/tbUtils.js +489 -0
  145. package/utils/testRunner.js +298 -0
  146. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,124 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "sethostnameonloginpage",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1.6/set-hostname-on-login-page?{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": "setbanner",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1.6/set-banner?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "setmessageoftheday",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v1.6/set-message-of-the-day?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "showbanner",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/v1.6/show-banner?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "showmessageoftheday",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/v1.6/show-message-of-the-day?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "showhostnameonloginpage",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/v1.6/show-hostname-on-login-page?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ }
@@ -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": "sethostnameonloginpage",
12
+ "enum": [
13
+ "sethostnameonloginpage",
14
+ "setbanner",
15
+ "setmessageoftheday",
16
+ "showbanner",
17
+ "showmessageoftheday",
18
+ "showhostnameonloginpage"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showphysicalinterfaces",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1.6/show-physical-interfaces?{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": "setphysicalinterface",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1.6/set-physical-interface?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "showphysicalinterface",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v1.6/show-physical-interface?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -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": "showphysicalinterfaces",
12
+ "enum": [
13
+ "showphysicalinterfaces",
14
+ "setphysicalinterface",
15
+ "showphysicalinterface"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,184 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "setpbrrule",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1.6/set-pbr-rule?{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": "setpbrtablestaticnexthoppriority",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1.6/set-pbr-table-static-next-hop-priority?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "showpbrrules",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v1.6/show-pbr-rules?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "deletepbrrule",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/v1.6/delete-pbr-rule?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "setpbrtable",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/v1.6/set-pbr-table?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "showpbrtable",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/v1.6/show-pbr-table?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "name": "showpbrrule",
125
+ "protocol": "REST",
126
+ "method": "POST",
127
+ "entitypath": "{base_path}/{version}/v1.6/show-pbr-rule?{query}",
128
+ "requestSchema": "schema.json",
129
+ "responseSchema": "schema.json",
130
+ "timeout": 0,
131
+ "sendEmpty": false,
132
+ "requestDatatype": "JSON",
133
+ "responseDatatype": "JSON",
134
+ "headers": {},
135
+ "responseObjects": [
136
+ {
137
+ "type": "default",
138
+ "key": "",
139
+ "mockFile": ""
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "name": "showpbrtables",
145
+ "protocol": "REST",
146
+ "method": "POST",
147
+ "entitypath": "{base_path}/{version}/v1.6/show-pbr-tables?{query}",
148
+ "requestSchema": "schema.json",
149
+ "responseSchema": "schema.json",
150
+ "timeout": 0,
151
+ "sendEmpty": false,
152
+ "requestDatatype": "JSON",
153
+ "responseDatatype": "JSON",
154
+ "headers": {},
155
+ "responseObjects": [
156
+ {
157
+ "type": "default",
158
+ "key": "",
159
+ "mockFile": ""
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "name": "deletepbrtable",
165
+ "protocol": "REST",
166
+ "method": "POST",
167
+ "entitypath": "{base_path}/{version}/v1.6/delete-pbr-table?{query}",
168
+ "requestSchema": "schema.json",
169
+ "responseSchema": "schema.json",
170
+ "timeout": 0,
171
+ "sendEmpty": false,
172
+ "requestDatatype": "JSON",
173
+ "responseDatatype": "JSON",
174
+ "headers": {},
175
+ "responseObjects": [
176
+ {
177
+ "type": "default",
178
+ "key": "",
179
+ "mockFile": ""
180
+ }
181
+ ]
182
+ }
183
+ ]
184
+ }
@@ -0,0 +1,27 @@
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": "setpbrrule",
12
+ "enum": [
13
+ "setpbrrule",
14
+ "setpbrtablestaticnexthoppriority",
15
+ "showpbrrules",
16
+ "deletepbrrule",
17
+ "setpbrtable",
18
+ "showpbrtable",
19
+ "showpbrrule",
20
+ "showpbrtables",
21
+ "deletepbrtable"
22
+ ],
23
+ "external_name": "ph_request_type"
24
+ }
25
+ },
26
+ "definitions": {}
27
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showsnmppredefinedtraps",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1.5/show-snmp-pre-defined-traps?{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": "setsnmppredefinedtraps",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1.5/set-snmp-pre-defined-traps?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,20 @@
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": "showsnmppredefinedtraps",
12
+ "enum": [
13
+ "showsnmppredefinedtraps",
14
+ "setsnmppredefinedtraps"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "deleteproxy",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1/delete-proxy?{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": "setproxy",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1/set-proxy?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "showproxy",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v1/show-proxy?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -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": "deleteproxy",
12
+ "enum": [
13
+ "deleteproxy",
14
+ "setproxy",
15
+ "showproxy"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "setradius",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1/set-radius?{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": "showradius",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1/show-radius?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,20 @@
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": "setradius",
12
+ "enum": [
13
+ "setradius",
14
+ "showradius"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }