Chapter 19. Editing a Profile

Revision History
09/05/12EMJ
Added section for exporting profiles.
09/05/12EMJ
Moved procedure for selecting a profile to the first position.
09/05/12EMJ
Moved section about adding FABs to before bundles to reflect order of tabs on the UI.
11/26/12 
Added description of the abstract and locked toggles

Abstract

A profile is a collection of related configuration data that can be deployed to a container. Profiles can inherit from other profiles. It contains details about Apache Karaf features to be loaded, OSGi bundles to be loaded, settings that customize the runtime behavior, and repositories where the required artifacts are stored.
A profile is a collection of configuration data that is deployed to one or more containers in a fabric. The profile details page displays all of the data in a way that makes it easy to see and edit a profile. It has tabs for each of the following types of data:
  • Features—Apache Karaf feature specifications that define a collection of bundles, jars, and other artifacts needed to implement a set of functionality
  • Fuse Application Bundles—one or more or Fuse Application Bundles to load into a container
  • Bundles—one or more OSGi bundles to load into a container
  • Repositories—one or more URIs specifying the location from which the container can download the required artifacts
  • Config Properties—configuration properties that affect the container's runtime
  • System Properties—specifies Java system properties that are made available at the beginning of the container's boot process
  • Config Files—one or more configuration files that will be loaded by the container's OSGi admin service and applied to the services running in the container
A profile can inherit properties from parent profiles. The details page displays a list of all the profiles from which the active profile inherits. Using this list you can add and remove parent profiles.
Important
Parent profiles are directly linked to their children. If one of the parent profiles is changed, all of the profiles that inherit from it are also affected.
The details page also has two additional controls that effect how a profile can be used:
  • Locked—specifies that the profile cannot be edited.
  • Abstract—specifies that the profile cannot be deployed to a container. An abstract profile is intended for use as the parent profile for other profiles.
Warning
Editing a profile will affect any deployed container that is currently using the selected profile.

19.1. Selecting a Profile to Edit

Revision History
11/26/12
removed list of details on the details page

Abstract

Profiles are edited from the Profiles screen. Each of the tabs on the page provide access to a different section of the profile.

Overview

To edit a profile you need to select the profile from the Profiles screen. Once you click on a profile name, the Profiles screen for the profile opens.

Procedure

To select a profile:
  1. Select Profiles from the main menu.
    The Profiles page opens.
  2. From the Versions table, select a version containing the profile to be edited.
    Important
    The changes made to the profile will only exist in the version selected in the Versions table.
  3. In the Profiles table, click on the profile to edit.
    The Profiles page for the selected profile opens.