Details
-
Bug
-
Resolution: Done
-
Critical
-
jboss-fuse-6.2
-
None
-
%
Description
Adding features/bundles to created profile in fabric from Fuse terminal works only for one feature/bundle. Adding another bundle just deletes the previous one from the profile. The problem seems to be in io.fabric8.agent.properties file of the profile.
Fabric8:admin@root> fabric:profile-create --parents feature-cxf --parents feature-camel --parents mq-client bugprofile Fabric8:admin@root> fabric:profile-edit -f camel-jdbc bugprofile Adding feature:camel-jdbc to profile:bugprofile version:1.0
Then io.fabric8.agent.properties file of the profile looks like this:
#Mon Jan 12 11:51:13 UTC 2015 feature.=camel-jdbc attribute.parents=feature-cxf feature-camel mq-client
Adding another feature in the terminal:
Fabric8:admin@root> fabric:profile-edit -f spring-jdbc bugprofile Adding feature:spring-jdbc to profile:bugprofile version:1.0
results into:
#Mon Jan 12 11:52:52 UTC 2015 feature.=spring-jdbc attribute.parents=feature-cxf feature-camel mq-client
As you can see there seems to be problem with missing property after "feature.". Adding features via hawtio works as is should. For example adding features "camel-jetty" and "camel-cxf" results into:
#Mon Jan 12 11:52:52 UTC 2015 feature.=spring-jdbc attribute.parents=feature-cxf feature-camel mq-client feature.camel-jetty = camel-jetty feature.camel-cxf = camel-cxf