<< Back to previous view

[QB-3111] get list of aqents/servers via REST API
Created: 03/Jan/18  Updated: 13/Jan/18

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Pawel Xj Assigned To: Robin Shen
Resolution: Fixed Votes: 2
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Le't say I've got xml like below ( the interesting part ).
I want to know which aqents/servers are connected to this resource. Exactly like in grid, but using API.

<com.pmease.quickbuild.model.Resource>
<id>17</id>
<name>Linux</name>
<providers>
<com.pmease.quickbuild.resource.ResourceProvider>
<nodeSelection class="com.pmease.quickbuild.resource.nodeselection.HashAttributeValueSelection">
<attribute>Project</attribute>
<operator>equals_ignore_case</operator>
<value>Linux</value>
</nodeSelection>
<resourceCount>1</resourceCount>
</com.pmease.quickbuild.resource.ResourceProvider>
</providers>
</com.pmease.quickbuild.model.Resource>

 Comments   
Comment by Robin Shen [ 13/Jan/18 01:23 AM ]
This is already possible via resource api. For details, please check section "get total resource count across nodes" and "get available resource count across nodes" here:
https://wiki.pmease.com/display/QB70/Interact+with+Resources
Generated at Wed May 01 00:56:28 UTC 2024 using JIRA 189.