bz 644328 (non platform bundle deploys) in master

John Mazzitelli mazz at redhat.com
Thu Jun 16 18:48:00 UTC 2011


I just merged my BZ 644328 branch into master - this means master now 
has the feature to deploy bundles to non-platforms. Right now, the only 
non-platform resource type that supports this is the JBossAS 4 Server 
resource type.

Its very easy to add this capability to other plugins, though. Just add 
this XML metadata to your resource type definition in a descriptor:

<bundle-target>
   <destination-base-dir name="Some Location" description="help text">
     <value-context>pluginConfiguration</value-context>
     <value-name>some.plugin.property.name</value-name>
   </destination-base-dir>
</bundle-target>

We support four types of destinations (that's the value-context) - 
pluginConfiguration, resourceConfiguration, measurementTrait and (mainly 
for platform plugin) fileSystem. The XML Schema has annotation 
documentation to assist in auto-complete (assuming your XML IDE supports 
that).

Read the wiki for further explanation: 
http://rhq-project.org/display/RHQ/Design-BundleDeploymentToNonPlatforms


More information about the rhq-devel mailing list