@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.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +46 -0
- package/BROKER.md +211 -0
- package/CALLS.md +3807 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +20 -0
- package/TAB1.md +11 -0
- package/TAB2.md +318 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +62670 -0
- package/adapterBase.js +1452 -0
- package/changelogs/CHANGELOG.md +0 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Auth/action.json +105 -0
- package/entities/Auth/schema.json +34 -0
- package/entities/Config/action.json +4587 -0
- package/entities/Config/schema.json +374 -0
- package/entities/Entitlements/action.json +332 -0
- package/entities/Entitlements/schema.json +34 -0
- package/entities/External/action.json +977 -0
- package/entities/External/schema.json +274 -0
- package/entities/Federation/action.json +557 -0
- package/entities/Federation/schema.json +45 -0
- package/entities/HelpDesk/action.json +88 -0
- package/entities/HelpDesk/schema.json +55 -0
- package/entities/Inventory/action.json +4682 -0
- package/entities/Inventory/schema.json +368 -0
- package/entities/Monitor/action.json +1012 -0
- package/entities/Monitor/schema.json +99 -0
- package/error.json +190 -0
- package/metadata.json +88 -0
- package/package.json +81 -0
- package/pronghorn.json +30327 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1574 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +84438 -0
- package/report/adapter-openapi.yaml +78549 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +24916 -0
- package/report/creationReport.json +3315 -0
- package/report/horizon api.json +84438 -0
- package/sampleProperties.json +259 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +15865 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +17459 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,368 @@
|
|
|
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": "listAgentInstallerPackages",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listAgentInstallerPackages",
|
|
14
|
+
"registerAgentInstallerPackage",
|
|
15
|
+
"getAgentInstallerPackage",
|
|
16
|
+
"unregisterAgentInstallerPackage",
|
|
17
|
+
"listApplicationIcons",
|
|
18
|
+
"createApplicationIcon",
|
|
19
|
+
"listCustomApplicationIcons",
|
|
20
|
+
"deleteApplicationIcon",
|
|
21
|
+
"getApplicationIcon",
|
|
22
|
+
"listApplicationPools",
|
|
23
|
+
"createApplicationPool",
|
|
24
|
+
"applicationIconBulkAssociate",
|
|
25
|
+
"checkApplicationPoolNameAvailability",
|
|
26
|
+
"disableApplicationPools",
|
|
27
|
+
"enableApplicationPools",
|
|
28
|
+
"applicationIconBulkRemoveAssociation",
|
|
29
|
+
"deleteApplicationPool",
|
|
30
|
+
"getApplicationPool",
|
|
31
|
+
"updateApplicationPool",
|
|
32
|
+
"addCustomIcon",
|
|
33
|
+
"removeCustomIcon",
|
|
34
|
+
"listCategoryFolders",
|
|
35
|
+
"listDesktopPools",
|
|
36
|
+
"createDesktopPool",
|
|
37
|
+
"checkDesktopPoolNameAvailability",
|
|
38
|
+
"disableDesktopPools",
|
|
39
|
+
"disableProvisioningForDesktopPools",
|
|
40
|
+
"enableDesktopPools",
|
|
41
|
+
"enableProvisioningForDesktopPools",
|
|
42
|
+
"validateSpecifiedNames",
|
|
43
|
+
"listUserPoliciesOverrides",
|
|
44
|
+
"deleteDesktopPool",
|
|
45
|
+
"getDesktopPool",
|
|
46
|
+
"updateDesktopPool",
|
|
47
|
+
"addMachines",
|
|
48
|
+
"addMachinesByName",
|
|
49
|
+
"desktopPoolApplyImage",
|
|
50
|
+
"cancelScheduledPushImage",
|
|
51
|
+
"desktopPoolPromotePendingImage",
|
|
52
|
+
"removeMachines",
|
|
53
|
+
"schedulePushImage",
|
|
54
|
+
"validateInstalledApplicationsOnDesktopPool",
|
|
55
|
+
"listInstalledApplicationsOnDesktopPool",
|
|
56
|
+
"listPoliciesOnDesktopPool",
|
|
57
|
+
"updatesPoliciesOnDesktopPool",
|
|
58
|
+
"deletePolicyOverridesForUsers",
|
|
59
|
+
"createPolicyOverridesForUsers",
|
|
60
|
+
"updatePolicyOverridesForUsers",
|
|
61
|
+
"listDesktopPoolTasks",
|
|
62
|
+
"getDesktopPoolTask",
|
|
63
|
+
"cancelDesktopPoolTask",
|
|
64
|
+
"pauseDesktopPoolTask",
|
|
65
|
+
"resumeDesktopPoolTask",
|
|
66
|
+
"listFarms",
|
|
67
|
+
"createFarm",
|
|
68
|
+
"checkFarmNameAvailability",
|
|
69
|
+
"deleteFarm",
|
|
70
|
+
"getFarm",
|
|
71
|
+
"updateFarm",
|
|
72
|
+
"addRdsServers",
|
|
73
|
+
"farmApplyImage",
|
|
74
|
+
"cancelScheduledMaintenance",
|
|
75
|
+
"farmPromotePendingImage",
|
|
76
|
+
"removeRdsServers",
|
|
77
|
+
"scheduleMaintenance",
|
|
78
|
+
"validateInstalledApplicationsOnFarm",
|
|
79
|
+
"listAppVolumesApplicationsOnFarm",
|
|
80
|
+
"listInstalledApplicationsOnFarm",
|
|
81
|
+
"listGlobalApplicationEntitlements",
|
|
82
|
+
"createGlobalApplicationEntitlement",
|
|
83
|
+
"deleteGlobalApplicationEntitlement",
|
|
84
|
+
"getGlobalApplicationEntitlement",
|
|
85
|
+
"updateGlobalApplicationEntitlement",
|
|
86
|
+
"listCompatibleBackupGAEs",
|
|
87
|
+
"listCompatibleLocalApplicationPools",
|
|
88
|
+
"removeLocalApplicationPoolsFromGAE",
|
|
89
|
+
"listLocalApplicationPools",
|
|
90
|
+
"addLocalApplicationPoolsToGAE",
|
|
91
|
+
"listGlobalDesktopEntitlements",
|
|
92
|
+
"createGlobalDesktopEntitlement",
|
|
93
|
+
"deleteGlobalDesktopEntitlement",
|
|
94
|
+
"getGlobalDesktopEntitlement",
|
|
95
|
+
"updateGlobalDesktopEntitlement",
|
|
96
|
+
"listCompatibleBackupGDEs",
|
|
97
|
+
"listCompatibleLocalDesktopPools",
|
|
98
|
+
"removeLocalDesktopPoolsFromGDE",
|
|
99
|
+
"listLocalDesktopPools",
|
|
100
|
+
"addLocalDesktopPoolsToGDE",
|
|
101
|
+
"queryGlobalSessions",
|
|
102
|
+
"disconnectGlobalSessions",
|
|
103
|
+
"logOffGlobalSessions",
|
|
104
|
+
"resetGlobalSessions",
|
|
105
|
+
"restartGlobalSessions",
|
|
106
|
+
"sendMessageToGlobalSessions",
|
|
107
|
+
"deleteMachines",
|
|
108
|
+
"listMachines",
|
|
109
|
+
"archiveMachines",
|
|
110
|
+
"cancelAgentUpgrades",
|
|
111
|
+
"checkMachinePrefixAvailability",
|
|
112
|
+
"enterMaintenance",
|
|
113
|
+
"exitMaintenance",
|
|
114
|
+
"rebuildMachines",
|
|
115
|
+
"recoverMachines",
|
|
116
|
+
"recreateFromPersistentDisk",
|
|
117
|
+
"resetMachines",
|
|
118
|
+
"restartMachines",
|
|
119
|
+
"scheduleAgentForUpgrade",
|
|
120
|
+
"listAgentUpgradeTasks",
|
|
121
|
+
"getAgentUpgradeTask",
|
|
122
|
+
"listUnentitledMachines",
|
|
123
|
+
"deleteMachine",
|
|
124
|
+
"getMachine",
|
|
125
|
+
"assignMachineAliases",
|
|
126
|
+
"assignUsers",
|
|
127
|
+
"attachPersistentDisk",
|
|
128
|
+
"detachPersistentDisk",
|
|
129
|
+
"unassignMachineAliases",
|
|
130
|
+
"unassignUsers",
|
|
131
|
+
"listPersistentDisks",
|
|
132
|
+
"createPersistentDisk",
|
|
133
|
+
"deletePersistentDisk",
|
|
134
|
+
"getPersistentDisk",
|
|
135
|
+
"updatePersistentDisk",
|
|
136
|
+
"listAttachableMachines",
|
|
137
|
+
"listPhysicalMachines",
|
|
138
|
+
"registerPhysicalMachine",
|
|
139
|
+
"deletePhysicalMachine",
|
|
140
|
+
"getPhysicalMachine",
|
|
141
|
+
"listRDSServers",
|
|
142
|
+
"cancelRdsServerAgentUpgrades",
|
|
143
|
+
"checkRDSServerPrefixAvailability",
|
|
144
|
+
"recoverRDSServers",
|
|
145
|
+
"registerRDSServer",
|
|
146
|
+
"scheduleAgentForUpgradeRdsServer",
|
|
147
|
+
"listRdsServerAgentUpgradeTasks",
|
|
148
|
+
"getRdsServerAgentUpgradeTask",
|
|
149
|
+
"deleteRDSServer",
|
|
150
|
+
"getRDSServer",
|
|
151
|
+
"updateRDSServer",
|
|
152
|
+
"listSessionInfo",
|
|
153
|
+
"disconnectSessions",
|
|
154
|
+
"logOffSessions",
|
|
155
|
+
"resetSessions",
|
|
156
|
+
"restartSessions",
|
|
157
|
+
"sendMessageToSessions",
|
|
158
|
+
"getSessionInfo",
|
|
159
|
+
"listApplicationPoolsV2",
|
|
160
|
+
"createApplicationPoolV2",
|
|
161
|
+
"getApplicationPoolV2",
|
|
162
|
+
"updateApplicationPoolV2",
|
|
163
|
+
"listDesktopPoolsV2",
|
|
164
|
+
"createDesktopPoolV2",
|
|
165
|
+
"getDesktopPoolV2",
|
|
166
|
+
"schedulePushImageV2",
|
|
167
|
+
"listFarmsV2",
|
|
168
|
+
"createFarmV2",
|
|
169
|
+
"getFarmV2",
|
|
170
|
+
"updateFarmV2",
|
|
171
|
+
"scheduleMaintenanceV2",
|
|
172
|
+
"listGlobalApplicationEntitlementsV2",
|
|
173
|
+
"getGlobalApplicationEntitlementV2",
|
|
174
|
+
"listGlobalDesktopEntitlementsV2",
|
|
175
|
+
"createGlobalDesktopEntitlementV2",
|
|
176
|
+
"getGlobalDesktopEntitlementV2",
|
|
177
|
+
"listMachinesV2",
|
|
178
|
+
"scheduleAgentForUpgradeV2",
|
|
179
|
+
"listAgentUpgradeTasksV2",
|
|
180
|
+
"getAgentUpgradeTaskV2",
|
|
181
|
+
"getMachineV2",
|
|
182
|
+
"listPhysicalMachinesV2",
|
|
183
|
+
"getPhysicalMachineV2",
|
|
184
|
+
"listRDSServersV2",
|
|
185
|
+
"deleteRDSServerV2",
|
|
186
|
+
"getRDSServerV2",
|
|
187
|
+
"updateRDSServerV2",
|
|
188
|
+
"listApplicationPoolsV3",
|
|
189
|
+
"createApplicationPoolV3",
|
|
190
|
+
"getApplicationPoolV3",
|
|
191
|
+
"updateApplicationPoolV3",
|
|
192
|
+
"listDesktopPoolsV3",
|
|
193
|
+
"getDesktopPoolV3",
|
|
194
|
+
"listFarmsV3",
|
|
195
|
+
"createFarmV3",
|
|
196
|
+
"getFarmV3",
|
|
197
|
+
"updateFarmV3",
|
|
198
|
+
"listGlobalApplicationEntitlementsV3",
|
|
199
|
+
"createGlobalApplicationEntitlementV3",
|
|
200
|
+
"deleteGlobalApplicationEntitlementV3",
|
|
201
|
+
"getGlobalApplicationEntitlementV3",
|
|
202
|
+
"updateGlobalApplicationEntitlementV3",
|
|
203
|
+
"listGlobalDesktopEntitlementsV3",
|
|
204
|
+
"createGlobalDesktopEntitlementV3",
|
|
205
|
+
"deleteGlobalDesktopEntitlementV3",
|
|
206
|
+
"getGlobalDesktopEntitlementV3",
|
|
207
|
+
"updateGlobalDesktopEntitlementV3",
|
|
208
|
+
"listMachinesV3",
|
|
209
|
+
"getMachineV3",
|
|
210
|
+
"deleteApplicationPools",
|
|
211
|
+
"listApplicationPoolsV4",
|
|
212
|
+
"getApplicationPoolV4",
|
|
213
|
+
"listDesktopPoolsV4",
|
|
214
|
+
"getDesktopPoolV4",
|
|
215
|
+
"listFarmsV4",
|
|
216
|
+
"getFarmV4",
|
|
217
|
+
"listMachinesV4",
|
|
218
|
+
"getMachineV4",
|
|
219
|
+
"deleteApplicationPoolsV5",
|
|
220
|
+
"listApplicationPoolsV5",
|
|
221
|
+
"createApplicationPoolV5",
|
|
222
|
+
"getApplicationPoolV5",
|
|
223
|
+
"updateApplicationPoolV5",
|
|
224
|
+
"listDesktopPoolsV5",
|
|
225
|
+
"getDesktopPoolV5",
|
|
226
|
+
"listFarmsV5",
|
|
227
|
+
"getFarmV5",
|
|
228
|
+
"listMachinesV5",
|
|
229
|
+
"getMachineV5",
|
|
230
|
+
"listDesktopPoolsV6",
|
|
231
|
+
"getDesktopPoolV6",
|
|
232
|
+
"listFarmsV6",
|
|
233
|
+
"createFarmV6",
|
|
234
|
+
"deleteFarmV6",
|
|
235
|
+
"getFarmV6",
|
|
236
|
+
"updateFarmV6",
|
|
237
|
+
"listDesktopPoolsV7",
|
|
238
|
+
"createDesktopPoolV7",
|
|
239
|
+
"deleteDesktopPoolV7",
|
|
240
|
+
"getDesktopPoolV7",
|
|
241
|
+
"updateDesktopPoolv7"
|
|
242
|
+
],
|
|
243
|
+
"external_name": "ph_request_type"
|
|
244
|
+
},
|
|
245
|
+
"applicationPoolId": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Application Pool ID",
|
|
248
|
+
"parse": false,
|
|
249
|
+
"encode": false,
|
|
250
|
+
"encrypt": {
|
|
251
|
+
"type": "AES",
|
|
252
|
+
"key": ""
|
|
253
|
+
},
|
|
254
|
+
"external_name": "application_pool_id"
|
|
255
|
+
},
|
|
256
|
+
"sortBy": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Field that would be used to sort the results.",
|
|
259
|
+
"parse": false,
|
|
260
|
+
"encode": false,
|
|
261
|
+
"encrypt": {
|
|
262
|
+
"type": "AES",
|
|
263
|
+
"key": ""
|
|
264
|
+
},
|
|
265
|
+
"external_name": "sort_by"
|
|
266
|
+
},
|
|
267
|
+
"orderBy": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"description": "Determines the ordering of results.",
|
|
270
|
+
"parse": false,
|
|
271
|
+
"encode": false,
|
|
272
|
+
"encrypt": {
|
|
273
|
+
"type": "AES",
|
|
274
|
+
"key": ""
|
|
275
|
+
},
|
|
276
|
+
"external_name": "order_by"
|
|
277
|
+
},
|
|
278
|
+
"desktopPoolId": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"description": "Indicates the desktop pool id. If not provided, fetches overrides for all users on all pools.",
|
|
281
|
+
"parse": false,
|
|
282
|
+
"encode": false,
|
|
283
|
+
"encrypt": {
|
|
284
|
+
"type": "AES",
|
|
285
|
+
"key": ""
|
|
286
|
+
},
|
|
287
|
+
"external_name": "desktop_pool_id"
|
|
288
|
+
},
|
|
289
|
+
"unentitledPolicies": {
|
|
290
|
+
"type": "boolean",
|
|
291
|
+
"description": "Indicates whether to fetch unentitled policies. If set to true, fetches unentitled policies for all users.",
|
|
292
|
+
"parse": false,
|
|
293
|
+
"encode": false,
|
|
294
|
+
"encrypt": {
|
|
295
|
+
"type": "AES",
|
|
296
|
+
"key": ""
|
|
297
|
+
},
|
|
298
|
+
"external_name": "unentitled_policies"
|
|
299
|
+
},
|
|
300
|
+
"enforceAssociatedSessionCheck": {
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"description": "Whether or not we want to check if sessions associated to the desktop pool exists. Default value is false",
|
|
303
|
+
"parse": false,
|
|
304
|
+
"encode": false,
|
|
305
|
+
"encrypt": {
|
|
306
|
+
"type": "AES",
|
|
307
|
+
"key": ""
|
|
308
|
+
},
|
|
309
|
+
"external_name": "enforce_associated_session_check"
|
|
310
|
+
},
|
|
311
|
+
"pendingImage": {
|
|
312
|
+
"type": "boolean",
|
|
313
|
+
"description": "Indicates whether the pending image is to be applied. If false, the current image will be applied.",
|
|
314
|
+
"parse": false,
|
|
315
|
+
"encode": false,
|
|
316
|
+
"encrypt": {
|
|
317
|
+
"type": "AES",
|
|
318
|
+
"key": ""
|
|
319
|
+
},
|
|
320
|
+
"external_name": "pending_image"
|
|
321
|
+
},
|
|
322
|
+
"userId": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"description": "SID of the user.",
|
|
325
|
+
"parse": false,
|
|
326
|
+
"encode": false,
|
|
327
|
+
"encrypt": {
|
|
328
|
+
"type": "AES",
|
|
329
|
+
"key": ""
|
|
330
|
+
},
|
|
331
|
+
"external_name": "user_id"
|
|
332
|
+
},
|
|
333
|
+
"podId": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"description": "ID of the pod that hosted the session.",
|
|
336
|
+
"parse": false,
|
|
337
|
+
"encode": false,
|
|
338
|
+
"encrypt": {
|
|
339
|
+
"type": "AES",
|
|
340
|
+
"key": ""
|
|
341
|
+
},
|
|
342
|
+
"external_name": "pod_id"
|
|
343
|
+
},
|
|
344
|
+
"brokeringPodId": {
|
|
345
|
+
"type": "string",
|
|
346
|
+
"description": "ID of the pod that brokered the session.",
|
|
347
|
+
"parse": false,
|
|
348
|
+
"encode": false,
|
|
349
|
+
"encrypt": {
|
|
350
|
+
"type": "AES",
|
|
351
|
+
"key": ""
|
|
352
|
+
},
|
|
353
|
+
"external_name": "brokering_pod_id"
|
|
354
|
+
},
|
|
355
|
+
"filterIncompatibleMachines": {
|
|
356
|
+
"type": "boolean",
|
|
357
|
+
"description": "Whether to filter incompatible machines",
|
|
358
|
+
"parse": false,
|
|
359
|
+
"encode": false,
|
|
360
|
+
"encrypt": {
|
|
361
|
+
"type": "AES",
|
|
362
|
+
"key": ""
|
|
363
|
+
},
|
|
364
|
+
"external_name": "filter_incompatible_machines"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"definitions": {}
|
|
368
|
+
}
|