Bug 535465 (RHQ-2158) - Allow static scripts to be executed via the CLI
Summary: Allow static scripts to be executed via the CLI
Keywords:
Status: CLOSED NOTABUG
Alias: RHQ-2158
Product: RHQ Project
Classification: Other
Component: CLI
Version: 1.3
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: John Sanda
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-343
TreeView+ depends on / blocked
 
Reported: 2009-06-16 21:18 UTC by Simeon Pinder
Modified: 2009-11-10 21:22 UTC (History)
0 users

Fixed In Version: 1.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Simeon Pinder 2009-06-16 21:18:00 UTC
Initial support is for JavaScript.  Other scripting languages may be supported later.

Comment 1 Simeon Pinder 2009-06-16 21:26:07 UTC
Effective testing and use of CLI depends on more than being able to run an interactive client, but it also depends on whether the CLI can effective run unattended.  Some CLI still require an active user and this is what we want to avoid. 

To test effectively we must make sure that scripts and groups of commands can successfully be fed into the cli and that those operations do complete effective. 

This test should also and will most likely utilize the logging functionality [RHQ-2157] to effectively monitor that the operations and results are being run effectively.



Comment 2 John Sanda 2009-09-03 13:27:29 UTC
In rev 4577 added initial support for running scripts in non-interactive mode by passing the -f flag to rhq-cli.sh or rhq-cli.bat. In rev 4651 support was added for running  a single command (or command line) in non-interactive mode using the -c option. See http://www.jopr.org/confluence/display/JOPR2/Running+the+Jopr+CLI#RunningtheJoprCLI-Examples for some examples of using these options to run the CLI in non-interactive mode.

Comment 3 Red Hat Bugzilla 2009-11-10 20:58:58 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2158



Note You need to log in before you can comment on or make changes to this bug.