Bug 813814

Summary: RFE: Have config sections depend on others
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.3CC: hrupp
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Heiko W. Rupp 2012-04-18 09:28:39 EDT
In AS7 Plugin, the SSL section should only be enabled for editing when 
the property 'secure' is set to true. (See Bug 813750 )

It should be possible to model that in configuration metadata
Comment 1 Heiko W. Rupp 2012-04-18 15:20:41 EDT
In the code for Bug 813750 this now look like


        <c:simple-property name="secure" required="false" type="boolean" readOnly="false" defaultValue="false" description="Indicates if content sent or received by the connector is secured from the user perspective. The default value is false."/>

        <c:group name="child:ssl=configuration:enabled=secure=true" displayName="SSL Configuration">
          <c:map-property name="*Configuration+" displayName="Configuration" readOnly="false" required="false">
            <c:simple-property name="ca-certificate-file" required="false" type="string" readOnly="false" description="Certificate authority."/>

See also http://rhq-project.org/display/RHQ/Notes#Notes-Identifyingasinglechildresource