Q. about operation scheduling
Lukas Krejci
lkrejci at redhat.com
Mon Nov 21 10:15:56 UTC 2011
I've been playing with group operations in the CLI lately. I assume resource
ops will be similar in this aspect.
http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=blob;f=modules/enterprise/remoting/cli/src/main/samples/deploy-
to-and-restart-JBAS.js;hb=HEAD
On Monday, November 21, 2011 10:32:10 Heiko W.Rupp wrote:
> Hi,
>
> (this is wrt REST work)
>
> When I schedule a resource operation with
>
> ResourceOperationSchedule sched =
> opsManager.scheduleResourceOperation(caller,operation.getResourceId(),oper
> ation.getName(),0,0,0,-1,new Configuration(),"TEst");
>
> How do I get the History item from it.
> And do I need to care about those "in progress states" at all?
>
> Basically how do I get the required jobId in
> OperationHistory history =
> opsManager.getOperationHistoryByJobId(caller,jobName); ?
>
> Thanks
> Heiko
More information about the rhq-devel
mailing list