Bug 1054360 - RFE: let users run an AS7/EAP6 CLI script with an operation on Standalone or Host Controller resources

Libor Zoubek lzoubek at redhat.com
Wed Feb 19 12:11:28 UTC 2014


Dne Wed, 19 Feb 2014 11:42:57 +0100 Heiko W.Rupp <hrupp at redhat.com>  
napsal(a):

>
> Am 19.02.2014 um 10:53 schrieb Libor Zoubek:
>
>> Management host and port in connection properties regard to EAP's  
>> http-interface, CLI tool talks to native (DMR). I could reuse host -  
>> that would work for 99% of cases, but once user would configured his  
>> EAP and set different interface (IP address) to http and native  
>> management, we'd fail.
>
> Not sure if that is possible at all, but we should cater for it.
> Actually we can detect the native ip/port like we do for the https mgmt  
> port, so we could pre-populate.
Yes, I've more or less copied code that detects http management host and  
port. Native host and port will become part of plugin config's Operations  
section.
>> But there already is timeout for operations. Is there a way to get to  
>> this value at runtime on agent side within operation code? I am only  
>> able to get to default value using ResourceType.
>
> I think there was some work done by Thomas S to use that timeout in  
> other places. If that timeout is not yet
> available inside the plugin code, we should expose it
For now I've hardcoded 60 seconds and pushed to master.
>  Heiko
>
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel


-- 
Libor Zoubek


More information about the rhq-devel mailing list