Bug 852161

Summary: RFE: Ability to load scripts from various sources in CLI and RHQ server
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: CLI, Core ServerAssignee: Lukas Krejci <lkrejci>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 06:03:24 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 852164    

Description Lukas Krejci 2012-08-27 14:02:41 EDT
Description of problem:

Currently it is only possible to load additional scripts in the interactive CLI using the "exec -f" command.

This is insufficient not only because such approach provides very little modularity but also it restricts the possible location of the scripts to load to the local filesystem on the CLI deployment (and only in the interactive mode at that).

This means that such approach is unusable in the RHQ server, where alert scripts cannot take advantage of such (limited) ability.

We should provide a generic and extensible way of specifying the locations of scripts and loading them from such locations using the modular approach of given scripting language.
Comment 1 Lukas Krejci 2012-08-27 14:04:17 EDT
The list of currently implemented "script source providers" + a description of a way to provide a new implementation is provided on:
https://docs.jboss.org/author/display/RHQ/Script+Sources
Comment 2 Heiko W. Rupp 2013-09-01 06:03:24 EDT
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.