Branch: refs/heads/release/jon3.3.x
Home:
https://github.com/rhq-project/rhq
Commit: 45d8c8be1a7923e7f933b98c20508c57289f16e1
https://github.com/rhq-project/rhq/commit/45d8c8be1a7923e7f933b98c20508c5...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-06-28 (Sun, 28 Jun 2015)
Changed paths:
M
modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ServerControl.java
Log Message:
-----------
Bug 1226413 - Implementation of rhq:handover doesn't account for EAP https
connections
Anytime plugin attempts to run CLI in connected mode, we execute dummy CLI
command to detect whether SSL certificate needs to be accepted (manual
intervention needed). This dummy command is executed prior the original
command so we can make sure the original command is not blocked forever by
CLI asking for user input. In case we detect (based on dummy command
output), we return special implementation of ProcessExecutionResults to
caller which holds results from dummy process with error message produced by
CLI representing certificate details.
This commit does not fix 100% Bug 1226413, but prevents blocked CLI process
as part of rhq:handover action or CLI operation.