<< Back to previous view |
![]() |
[QB-4048] Authoriz/Unauthorize build agent API error
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 13.0.44 |
Fix Version/s: | 14.0.0 |
Type: | Bug | Priority: | Major |
Reporter: | Nguyen Duc Long | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
http://localhost:8810/rest/tokens/authorize?ip=<ip address of build agent>&port=<port of build agent>
http://localhost:8810/rest/tokens/authorize?ip=<ip address of build agent>&port=<port of build agent> I use these APIs to Authorize, Unauthorize build agent. But it causes the agent to coexist in many different states. Please change the above APIs so that the following tasks work together /rest/tokens/unauthorize TokenManager.instance.delete(token); AgentManager.instance.removeBuildAgent(ip, port); /rest/tokens/authorize TokenManager.instance.save(token); AgentManager.instance.removeUnauthorizedAgent(ip, port); |