Commit b30cc0ca authored by Michael Evenchick's avatar Michael Evenchick

changes to filters

parent 80c53f6a
Pipeline #160098092 passed with stages
in 3 minutes and 28 seconds
......@@ -796,7 +796,12 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterclusters, filternames, filterdatacenters };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.names': filternames,
'filter.clusters': filterclusters,
'filter.datacenters': filterdatacenters
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -997,7 +1002,11 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterdatacenters, filternames };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.names': filternames,
'filter.datacenters': filterdatacenters
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -1201,7 +1210,13 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterdatastores, filterfolders, filternames, filtertypes, filterdatacenters };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.names': filternames,
'filter.datacenters': filterdatacenters,
'filter.datastores': filterdatastores,
'filter.types': filtertypes
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -1336,7 +1351,13 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterparentFolders, filtertype, filternames, filterdatacenters };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.parent_folders': filterparentFolders,
'filter.names': filternames,
'filter.datacenters': filterdatacenters,
'filter.type': filtertype
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -1473,7 +1494,15 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterstandalone, filterhosts, filternames, filterclusters, filterdatacenters, filterconnectionStates };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.standalone': filterstandalone,
'filter.hosts': filterhosts,
'filter.names': filternames,
'filter.clusters': filterclusters,
'filter.datacenters': filterdatacenters,
'filter.connection_states': filterconnectionStates
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -1744,7 +1773,13 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterdatacenters, filternetworks, filtertypes, filternames };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.names': filternames,
'filter.datacenters': filterdatacenters,
'filter.networks': filternetworks,
'filter.types': filtertypes
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -1812,7 +1847,14 @@ class VmwareVCenter extends AdapterBaseCl {
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterparentResourcePools, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools };
const queryParamsAvailable = {
'filter.parent_resource_pools': filterparentResourcePools,
'filter.hosts': filterhosts,
'filter.names': filternames,
'filter.clusters': filterclusters,
'filter.datacenters': filterdatacenters,
'filter.resource_pools': filterresourcePools
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......@@ -2016,9 +2058,17 @@ class VmwareVCenter extends AdapterBaseCl {
log.trace(origin);
/* HERE IS WHERE YOU VALIDATE DATA */
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
const queryParamsAvailable = { filterfolders, filterpowerStates, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools, filtervms };
const queryParamsAvailable = {
'filter.folders': filterfolders,
'filter.power_states': filterpowerStates,
'filter.hosts': filterhosts,
'filter.names': filternames,
'filter.clusters': filterclusters,
'filter.datacenters': filterdatacenters,
'filter.resource_pools': filterresourcePools,
'filter.vms': filtervms
};
const queryParams = {};
const pathVars = [];
const bodyVars = {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment