[Anthill-pro] Agent properties and filtering
Frederic Jean
frederic.jean at ubisoft.com
Thu Apr 10 10:47:34 CDT 2008
Well each of our testing devkit have an agent assigned to it and the throughput is also set to 1 which creates an implicit lock in the system for that devkit with the filtering.
The problem is that the number of devkit available to the developer vs buildmachine are limited thus sometimes , a developer need to use a devkit on a build machine to test his stuff manually. So I need a way to tell anthill that a devkit isn't available because a developer is using it and filter it.
The problem is that my user don't have access to the anthill management interface and don't have the rights to see agent property or change it by themselves directly in anthill. And I want to create a web interface listing all the agent(devkit) for a project and then let the user lock it or unlock it manually if the agent/devkit is not already used by anthill.
Thanks
Frederic
-----Message d'origine-----
De : anthill-pro-bounces at lists.urbancode.com [mailto:anthill-pro-bounces at lists.urbancode.com] De la part de Yanko, Curtis
Envoyé : 10 avril 2008 11:38
À : AnthillPro user and support list.
Objet : RE: [Anthill-pro] Agent properties and filtering
Can't you just set the throughput metric to "1"? Even though I'm not
sure why you would ever want to lock an agent.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Frederic
Jean
Sent: Thursday, April 10, 2008 11:06 AM
To: AnthillPro user and support list.
Subject: [Anthill-pro] Agent properties and filtering
On top of agent filtering I would like to add some kind of agent lock
behavior. Let me explain :
As our resources are limited per project, a user in a project would like
to be able to lock a certain agent. So when anthill run a script to
filter agents , it check for that property and if the agent is locked ,
it exclude it.
My first solution would have been to add properties to agent like :
agent.user and agent.islocked so in my script I could fetch those
property and filter accordingly. The problem with this solution is that
there is no way to get agent variable with the SOAP Api or directly
fetching the BD so I could setup a web interface with all the available
agent for their project and let the user lock/unlock an agent depending
their needs.
Also I installed the anthill3-remoting and when I call :
ah3client.cmd getProjectList.bsh
I get this exception :
CLASSPATH=..\conf\client;..\conf\spring-client;..\lib\anthill3-client.ja
r;..\lib\anthill3-drivers.jar;..\lib\bsh-2.0b4-uc1.jar;..\lib\devilfish.
jar;..
\lib\log4j.jar;..\lib\CommonsNet.jar;..\lib\CommonsUtil.jar;..\lib\sprin
g-core.jar;..\lib\spring-beans.jar;..\lib\commons-logging.jar;..\lib\com
mons-l
ang-2.1.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
bsh/Interpreter
Thank you
Frederic
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list