Skip to main content

Module: labManagement

Module: labManagement

Method Parameters HTTP Method Description URL Example

deleteCloud

String cloudName

GET/ POST

Delete a cloud from the AIQ properties file.

http://localhost:8080/AppvanceServer/rest/labManagment/deleteCloud?name=cloudName

getCloud

String name

GET/ POST

Get an specific cloud from AIQ

http://localhost:8080/AppvanceServer/rest/labManagment/getCloud?name=cloudName

getCloudCredentials

String cloudName

Returns crentials for selected cloudname if available.

getClouds

Gets the list of clouds in memory

getListOfClouds

GET/ POST

Get the clouds from AIQ

http://localhost:8080/AppvanceServer/rest/labManagment/getListOfClouds

getMachinesFromCloud

String username, String cloudName

Returns all the machines based on the cloud name, it will return only the machines stored in memory

hasLoggedIn

String cloudName

GET/ POST

Returns true if the user has logged in using Lab Managment.

http://localhost:8080/AppvanceServer/rest/labManagment/hasLoggedIn?name=cloudName

isCloudAvailable

String name

Returns true if the cloud name is Available.

isCloudNameAvailable

String name

GET/ POST

Returns true if the cloud name is Available.

http://localhost:8080/AppvanceServer/rest/labManagment/isCloudNameAvailable?name=cloudName

isLabManagmentAvailable

Checks if LabManagment is Available

rebootMachines

final JSONObject cloudSettings

GET/ POST

Reboots all the machines based on the cloud settings.

http://localhost:8080/AppvanceServer/rest/labManagment/rebootMachines (JSON input with cloudSelected, type, location)

refreshMachinesInMemory

\ String cloudName

GET/ POST

Returns all the machines based on the cloud settings.

http://localhost:8080/AppvanceServer/rest/labManagment/refreshMachinesInMemory?name=cloudName

saveCloud

String name, String type, String location

GET/ POST

Save a new cloud in AIQ properties

http://localhost:8080/AppvanceServer/rest/labManagment/saveCloud?name=name&type=type&location=location

updateCloud

String oldName, String name, String type, String location

GET/ POST

Update a cloud in the AIQ properties file.

http://localhost:8080/AppvanceServer/rest/labManagment/updateCloud?oldName=oldCloudName&name="newName&type=newType&location=newLocation,

updateCloudCredentials

String username, String password, String cloudName

POST

Returns true if the user has logged in using Lab Management

http://localhost:8080/AppvanceServer/rest/labManagment/updateCloudCredentials?username=username&password=password&cloudName=cloudSelected

upgradeAppvance

final String cloudName, final String upgradeFilePath, final String keepBrowserTypes, final String keepLocalProperties

GET/ POST

Upgrade AIQ in the set of machines registered in a cloud configuration file

http://localhost:8080/AppvanceServer/rest/labManagment/upgradeAppvance?cloudName=cloudName&upgradeFilePath=path&keepBrowserTypes=browserTypes&keepLocalProperties=properties

upgradeMachinesAux

String username, final String cloudName, final String upgradeFilePath, final String keepBrowserTypes, final String keepLocalProperties

Upgrades Appvance in all the set of machines registered in a cloud configuration file