Bug 812884

Summary: RfE: Bundles and Drift should allow relative values in plugin descriptor
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: AgentAssignee: 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   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=812748
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-16 09:28:53 EDT
Currently a bundle entry e.g. looks like 


    <bundle-target>
       <destination-base-dir name="Deploy Directory">
          <value-context>pluginConfiguration</value-context>
          <value-name>homeDir</value-name>
       </destination-base-dir>
  </bundle-target>

Now to say " I want x " below the home directory I have to create a new plugin config property 'foo' , 
set it to $homeDir/x and use foo. Same for drift.

It should be possible to say 

   <bundle-target>
       <destination-base-dir name="Deploy Directory">
          <value-context>pluginConfiguration</value-context>
          <value-name>${homeDir}/${config}/deployment</value-name>
       </destination-base-dir>
  </bundle-target>

and have the ${} expressions replaced accordingly