Chapter 16. Managing Profiles
Overview
A profile is a set of instructions to use when you run containers in a fabric. For example, a profile might contain one or more bundles, features, or configuration objects that you want to assign to multiple containers.
JBoss Fuse provides a default set of profiles based on the distribution that you install. You must create or join a fabric before you can manage profiles. You can create, edit, and delete profiles. You can also add or remove features, bundles, or feature repositories from an existing profile.
Creating a Profile
- In the Wiki page, click the +Create icon. Select Fabric8 Profile from the list. Enter a name in the Name: field. The Name: field accepts a combination of letters, numbers, and the characters
.
,-
and_
.To create a profile in an existing folder, click on the Wiki tab and drill down to the folder in which you want to create the profile. Click the +Create icon. - Enter a name for the profile. Use dash characters to create directory levels. Each dash character adds a level to the directory hierarchy. For example, if you enter
MyProfile-Profile1
, the Management Console creates the directory MyProfile under the main profiles directory and creates the Profile1 in that directory.If you create a profile from an existing folder, you do not need to use the dash character to create a directory. The profile appears in the directory from which you create the profile. - If you want the profile to inherit features, bundles, or other configuration properties from one or more existing profiles, you have to change the parents of the profile. Click the edit icon underneath the parents section and select new parents from the list. Click the Change Parents button to apply your changes.
Editing a Profile
- In the Profiles tab or the Wiki page, click a profile name. A page will open showing profile details.
- Edit the profile properties and save the changes. The Management Console updates the profile properties and deploys the changes to any container to which you assigned the profile.
Deleting one or more profiles
- Click on the Wiki tab. A list of profiles will be shown.
- Select one or more profiles, then click on the Actions label. Select Delete to delete all the selected profiles.WarningDeleting a profile that is in use can have severe consequences for your system. Exercise extreme caution when deleting profiles.