Bug 820584

Summary: [as7] code in discovery that figures out System property (sysprop) values by parsing the server command line does not process -P/--properties option
Product: [Other] RHQ Project Reporter: Charles Crouch <ccrouch>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.4CC: hbrock, hrupp, ian.springer
Target Milestone: ---   
Target Release: JON 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 819145 Environment:
Last Closed: 2012-05-10 12:25:31 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: 819145    
Bug Blocks: 707223, 782579, 820570    

Description Charles Crouch 2012-05-10 12:23:50 UTC
+++ This bug was initially created as a clone of Bug #819145 +++

standalone.sh/bat and domain.sh/bat both support the following command line options:

    -P=<url>                            Load system properties from the given 
                                        url

    -P <url>                            Load system properties from the given 
                                        url

    --properties=<url>                  Load system properties from the given 
                                        url

--- Additional comment from mfoley on 2012-05-08 14:11:28 EDT ---

per BZ triage crouch, foley, loleary

--- Additional comment from ian.springer on 2012-05-09 20:18:00 EDT ---

Fixed in master: 

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=7b1a63a

Note, AS7 support more than one -P and/or --properties option on the same command line, and our code handles that.

--- Additional comment from ian.springer on 2012-05-10 08:06:51 EDT ---

Note, the unit test for this fix (AS7CommandLineTest) depends on the fix for bug 820445.

Comment 1 Charles Crouch 2012-05-10 12:25:31 UTC

*** This bug has been marked as a duplicate of bug 820570 ***