A.4. Profile Attributes
In addition to the resources described in the other sections, a profile also has certain attributes that affect its behavior. You cannot edit profile attributes directly using the text editor.
For completeness, this section describes what the profile attributes are and what console commands you can use to modify them.
parentsattribute is a list of one or more parent profiles. This attribute can be set using the
profile-change-parentsconsole command. For example, to assign the parent profiles
my-camel-cxf-profileprofile, you would enter the following console command:
JBossFuse:karaf@root> profile-change-parents --version 1.0 my-camel-cxf-profile camel cxf
When a profile's
abstractattribute is set to
true, the profile cannot be directly deployed to a container. This is useful for profiles that are only intended to be the parents of other profiles—for example,
mq-base. You can set the abstract attribute from the Management Console.
A locked profile cannot be changed or edited until it is unlocked. You can lock or unlock a profile from the Management Console.
hiddenattribute is a flag that is typically set on profiles that Fabric creates automatically (for example, to customize the setup of a registry server). By default, hidden profiles are not shown when you run the
profile-listcommand, but you can see them when you add the
--hiddenflag, as follows:
JBossFuse:karaf@root> profile-list --hidden ... fabric 1 karaf fabric-ensemble-0000 0 fabric-ensemble-0000-1 1 fabric-ensemble-0000 fmc 0 default ...