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: 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-16 13:28:53 UTC
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