@itentialopensource/adapter-vmware_horizon_server 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 (83) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +46 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +3807 -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 +20 -0
  16. package/TAB1.md +11 -0
  17. package/TAB2.md +318 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +62670 -0
  20. package/adapterBase.js +1452 -0
  21. package/changelogs/CHANGELOG.md +0 -0
  22. package/entities/.generic/action.json +214 -0
  23. package/entities/.generic/schema.json +28 -0
  24. package/entities/.system/action.json +50 -0
  25. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  26. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  27. package/entities/.system/schema.json +19 -0
  28. package/entities/.system/schemaTokenReq.json +53 -0
  29. package/entities/.system/schemaTokenResp.json +53 -0
  30. package/entities/Auth/action.json +105 -0
  31. package/entities/Auth/schema.json +34 -0
  32. package/entities/Config/action.json +4587 -0
  33. package/entities/Config/schema.json +374 -0
  34. package/entities/Entitlements/action.json +332 -0
  35. package/entities/Entitlements/schema.json +34 -0
  36. package/entities/External/action.json +977 -0
  37. package/entities/External/schema.json +274 -0
  38. package/entities/Federation/action.json +557 -0
  39. package/entities/Federation/schema.json +45 -0
  40. package/entities/HelpDesk/action.json +88 -0
  41. package/entities/HelpDesk/schema.json +55 -0
  42. package/entities/Inventory/action.json +4682 -0
  43. package/entities/Inventory/schema.json +368 -0
  44. package/entities/Monitor/action.json +1012 -0
  45. package/entities/Monitor/schema.json +99 -0
  46. package/error.json +190 -0
  47. package/metadata.json +88 -0
  48. package/package.json +81 -0
  49. package/pronghorn.json +30327 -0
  50. package/propertiesDecorators.json +14 -0
  51. package/propertiesSchema.json +1574 -0
  52. package/refs?service=git-upload-pack +0 -0
  53. package/report/adapter-openapi.json +84438 -0
  54. package/report/adapter-openapi.yaml +78549 -0
  55. package/report/adapterInfo.json +10 -0
  56. package/report/auto-adapter-openapi.json +24916 -0
  57. package/report/creationReport.json +3315 -0
  58. package/report/horizon api.json +84438 -0
  59. package/sampleProperties.json +259 -0
  60. package/test/integration/adapterTestBasicGet.js +83 -0
  61. package/test/integration/adapterTestConnectivity.js +118 -0
  62. package/test/integration/adapterTestIntegration.js +15865 -0
  63. package/test/unit/adapterBaseTestUnit.js +1024 -0
  64. package/test/unit/adapterTestUnit.js +17459 -0
  65. package/utils/adapterInfo.js +206 -0
  66. package/utils/addAuth.js +94 -0
  67. package/utils/artifactize.js +146 -0
  68. package/utils/basicGet.js +50 -0
  69. package/utils/checkMigrate.js +63 -0
  70. package/utils/entitiesToDB.js +179 -0
  71. package/utils/findPath.js +74 -0
  72. package/utils/methodDocumentor.js +273 -0
  73. package/utils/modify.js +152 -0
  74. package/utils/packModificationScript.js +35 -0
  75. package/utils/patches2bundledDeps.js +90 -0
  76. package/utils/pre-commit.sh +32 -0
  77. package/utils/removeHooks.js +20 -0
  78. package/utils/setup.js +33 -0
  79. package/utils/taskMover.js +309 -0
  80. package/utils/tbScript.js +239 -0
  81. package/utils/tbUtils.js +489 -0
  82. package/utils/testRunner.js +298 -0
  83. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,274 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "listADDomains",
12
+ "enum": [
13
+ "listADDomains",
14
+ "bind",
15
+ "updateAuxiliaryAccounts",
16
+ "addAuxiliaryAccounts",
17
+ "deleteAuxiliaryAccounts",
18
+ "unbind",
19
+ "update",
20
+ "listADContainers",
21
+ "getDefaultADContainer",
22
+ "getADContainer",
23
+ "listADUserOrGroupSummary",
24
+ "changeUserPassword",
25
+ "bulkHoldUserOrGroup",
26
+ "bulkReleaseHoldUserOrGroup",
27
+ "validateADUserEncryptedCredentials",
28
+ "listHeldUsersOrGroups",
29
+ "getADUserOrGroupInfo",
30
+ "listAuditEvents",
31
+ "getAgentUpgradeHistory",
32
+ "auditEventsExtendedAttributes",
33
+ "listBaseSnapshots",
34
+ "listBaseVMs",
35
+ "listCustomizationSpecs",
36
+ "listDatacenters",
37
+ "listDatastoreClusters",
38
+ "listDatastorePaths",
39
+ "listdatastores",
40
+ "computeSpaceRequirements",
41
+ "computeVsanCost",
42
+ "listDomains",
43
+ "listHostsOrClusters",
44
+ "listNetworkInterfaceCards",
45
+ "listNetworkLabels",
46
+ "listResourcePools",
47
+ "listVirtualDisks",
48
+ "listVirtualMachines",
49
+ "listVMFolders",
50
+ "listVMTemplates",
51
+ "listADDomainsV2",
52
+ "bulkHoldUserOrGroupV2",
53
+ "bulkReleaseHoldUserOrGroupV2",
54
+ "listAuditEventsV2",
55
+ "listBaseSnapshotsV2",
56
+ "listBaseVMsV2",
57
+ "getBaseVMsV2",
58
+ "listNetworkInterfaceCardsV2",
59
+ "listADDomainsV3"
60
+ ],
61
+ "external_name": "ph_request_type"
62
+ },
63
+ "containerName": {
64
+ "type": "string",
65
+ "description": "AD container name in Base64URL encoded format",
66
+ "parse": false,
67
+ "encode": false,
68
+ "encrypt": {
69
+ "type": "AES",
70
+ "key": ""
71
+ },
72
+ "external_name": "container_name"
73
+ },
74
+ "subTreeSearch": {
75
+ "type": "boolean",
76
+ "description": "true to search subtree. Subtree search is only supported for rdn.",
77
+ "parse": false,
78
+ "encode": false,
79
+ "encrypt": {
80
+ "type": "AES",
81
+ "key": ""
82
+ },
83
+ "external_name": "sub_tree_search"
84
+ },
85
+ "groupOnly": {
86
+ "type": "boolean",
87
+ "description": "Presence of this query param indicates to filter only groups or only users.\n If passed as \"true\", then only groups are returned.\n If passed as \"false\", then only users a...(description truncated)",
88
+ "parse": false,
89
+ "encode": false,
90
+ "encrypt": {
91
+ "type": "AES",
92
+ "key": ""
93
+ },
94
+ "external_name": "group_only"
95
+ },
96
+ "sortBy": {
97
+ "type": "string",
98
+ "description": "Field that would be used to sort the results.",
99
+ "parse": false,
100
+ "encode": false,
101
+ "encrypt": {
102
+ "type": "AES",
103
+ "key": ""
104
+ },
105
+ "external_name": "sort_by"
106
+ },
107
+ "orderBy": {
108
+ "type": "string",
109
+ "description": "Determines the ordering of results.",
110
+ "parse": false,
111
+ "encode": false,
112
+ "encrypt": {
113
+ "type": "AES",
114
+ "key": ""
115
+ },
116
+ "external_name": "order_by"
117
+ },
118
+ "fromTime": {
119
+ "type": "number",
120
+ "description": "Indicates the time from which upgrade history is to be fetched.\nIf both from_time and to_time are unset, all history till date will be fetched.",
121
+ "parse": false,
122
+ "encode": false,
123
+ "encrypt": {
124
+ "type": "AES",
125
+ "key": ""
126
+ },
127
+ "external_name": "from_time"
128
+ },
129
+ "toTime": {
130
+ "type": "number",
131
+ "description": "Indicates the time up to which upgrade history is to be fetched.\nIf both from_time and to_time are unset, all history till date will be fetched.",
132
+ "parse": false,
133
+ "encode": false,
134
+ "encrypt": {
135
+ "type": "AES",
136
+ "key": ""
137
+ },
138
+ "external_name": "to_time"
139
+ },
140
+ "vcenterId": {
141
+ "type": "string",
142
+ "description": "Virtual Center ID",
143
+ "parse": false,
144
+ "encode": false,
145
+ "encrypt": {
146
+ "type": "AES",
147
+ "key": ""
148
+ },
149
+ "external_name": "vcenter_id"
150
+ },
151
+ "baseVmId": {
152
+ "type": "string",
153
+ "description": "Base VM ID",
154
+ "parse": false,
155
+ "encode": false,
156
+ "encrypt": {
157
+ "type": "AES",
158
+ "key": ""
159
+ },
160
+ "external_name": "base_vm_id"
161
+ },
162
+ "datacenterId": {
163
+ "type": "string",
164
+ "description": "Datacenter ID",
165
+ "parse": false,
166
+ "encode": false,
167
+ "encrypt": {
168
+ "type": "AES",
169
+ "key": ""
170
+ },
171
+ "external_name": "datacenter_id"
172
+ },
173
+ "filterIncompatibleVms": {
174
+ "type": "boolean",
175
+ "description": "Whether to filter out incompatible VMs",
176
+ "parse": false,
177
+ "encode": false,
178
+ "encrypt": {
179
+ "type": "AES",
180
+ "key": ""
181
+ },
182
+ "external_name": "filter_incompatible_vms"
183
+ },
184
+ "hostOrClusterId": {
185
+ "type": "string",
186
+ "description": "Host or Cluster ID",
187
+ "parse": false,
188
+ "encode": false,
189
+ "encrypt": {
190
+ "type": "AES",
191
+ "key": ""
192
+ },
193
+ "external_name": "host_or_cluster_id"
194
+ },
195
+ "datastoreId": {
196
+ "type": "string",
197
+ "description": "Datastore ID",
198
+ "parse": false,
199
+ "encode": false,
200
+ "encrypt": {
201
+ "type": "AES",
202
+ "key": ""
203
+ },
204
+ "external_name": "datastore_id"
205
+ },
206
+ "poolType": {
207
+ "type": "string",
208
+ "description": "Automated pool type",
209
+ "parse": false,
210
+ "encode": false,
211
+ "encrypt": {
212
+ "type": "AES",
213
+ "key": ""
214
+ },
215
+ "external_name": "pool_type"
216
+ },
217
+ "isDedicated": {
218
+ "type": "boolean",
219
+ "description": "If set to true it would indicate that user assignment type is dedicated or else it is floating",
220
+ "parse": false,
221
+ "encode": false,
222
+ "encrypt": {
223
+ "type": "AES",
224
+ "key": ""
225
+ },
226
+ "external_name": "is_dedicated"
227
+ },
228
+ "baseSnapshotId": {
229
+ "type": "string",
230
+ "description": "Base Snapshot ID",
231
+ "parse": false,
232
+ "encode": false,
233
+ "encrypt": {
234
+ "type": "AES",
235
+ "key": ""
236
+ },
237
+ "external_name": "base_snapshot_id"
238
+ },
239
+ "vmTemplateId": {
240
+ "type": "string",
241
+ "description": "VM Template ID",
242
+ "parse": false,
243
+ "encode": false,
244
+ "encrypt": {
245
+ "type": "AES",
246
+ "key": ""
247
+ },
248
+ "external_name": "vm_template_id"
249
+ },
250
+ "networkType": {
251
+ "type": "string",
252
+ "description": "Network Type",
253
+ "parse": false,
254
+ "encode": false,
255
+ "encrypt": {
256
+ "type": "AES",
257
+ "key": ""
258
+ },
259
+ "external_name": "network_type"
260
+ },
261
+ "populateAllDisks": {
262
+ "type": "boolean",
263
+ "description": "Populates all virtual disks irrespective of their compatability. Default value is false.",
264
+ "parse": false,
265
+ "encode": false,
266
+ "encrypt": {
267
+ "type": "AES",
268
+ "key": ""
269
+ },
270
+ "external_name": "populate_all_disks"
271
+ }
272
+ },
273
+ "definitions": {}
274
+ }