Bug 813814

Summary: RFE: Have config sections depend on others
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: ConfigurationAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
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: --- Target Upstream Version:
Embargoed:

Description Heiko W. Rupp 2012-04-18 13:28:39 UTC
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 19:20:41 UTC
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