Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2.1
-
None
-
%
Description
If the jboss-fuse-full profile is not provisioned on a fabric container, the patch-commands bundle is not installed and results in the patch commands not being available.
The default profile installs the patch-core feature:
JBossFuse:karaf@root> fabric:profile-display default Profile id: default Version : 1.0 Attributes: Containers: Container settings ---------------------------- Repositories : mvn:org.jboss.fuse/jboss-fuse/${version:fuse}/xml/features mvn:io.fabric8.patch/patch-features/${version:fabric}/xml/features mvn:io.fabric8/fabric8-karaf/${version:fabric}/xml/features mvn:org.apache.karaf.assemblies.features/standard/${version:karaf}/xml/features Features : insight-log esb-commands-startup patch-core <<<<<<<<<<<<<<<< fabric-core fabric-agent fabric-jaas karaf jolokia fabric-startup fabric-git-server fabric-git fabric-web
However this feature does not install the patch-commands bundles as seen by [jboss-fuse]/system/io/fabric8/patch/patch-features/1.2.0.redhat-621084/patch-features-1.2.0.redhat-621084-features.xml file:
<features name="patch-1.2.0.redhat-621084" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"> <feature name="patch-core" version="1.2.0.redhat-621084" resolver="(obr)"> <bundle start-level="2">mvn:io.fabric8.patch/patch-management/1.2.0.redhat-621084</bundle> <bundle>mvn:io.fabric8.patch/patch-core/1.2.0.redhat-621084</bundle> </feature> <feature name="patch" version="1.2.0.redhat-621084" resolver="(obr)"> <feature>patch-core</feature> <bundle>mvn:io.fabric8.patch/patch-commands/1.2.0.redhat-621084</bundle> </feature> </features>