Bug 852145

Summary: RFE: Introduce CommonJS to RHQ's javascript support
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 10:17:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 794768, 840650, 852164    
Bug Blocks: 784953    

Description Lukas Krejci 2012-08-27 17:31:52 UTC
Description of problem:

Current scripting support is insufficient for any serious work because it is not possible to create reusable components/modules that could be pulled in to different scripts to perform common functions.

It would be great to support CommonJS (http://commonjs.org - a specification for modular javascript) in our javascript integration.

CommonJS is available in Rhino 1.7R3 and later.

The wiki page detailing the modularity in RHQ's javascript:
https://docs.jboss.org/author/display/RHQ/Script+Modularity+-+Javascript

Comment 1 Heiko W. Rupp 2013-09-01 10:17:57 UTC
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.