이 콘텐츠는 선택한 언어로 제공되지 않습니다.
19.6. Editing a Profile's Features
Revision History | ||
---|---|---|
09/05/12 | EMJ | |
Updated to reflect changes in 1.0.2 |
Abstract
Profiles contain a list of Apache Karaf features that are deployed into the container. Using the Features tab, you can add and remove features from the profile's list.
Overview
A convenient way to deploy a number of related artifacts to a container is using the Apache Karaf feature mechanism. This mechanism allows you to define a feature that consists of a number of bundles and other artifacts that can be provisioned from a known location and deployed into the container.
Fuse Fabric supports deploying Apache Karaf features into containers. Using the Features tab you can get a list of Apache Karaf features available in the feature repositories configured on the Repositories tab and add them to the profile.
Adding a feature
Warning
Adding a feature to a profile will add the feature to any deployed container that is currently using the selected profile.
To add a feature:
- Select the profile to which you want to add features.The Profiles page for the selected profile opens.
- Select the Features tab.The Features tab will be shown on the bottom of the Profiles page.
- Select the feature repository to scan from the Repository drop-down list.NoteThe list is populated using the feature repositories added to the current profile and all of the profiles from which it inherits.The list of available features in the repository will be listed.
- Locate the feature to add to the profile.
- Click theto the right of the feature's name.The feature is added to the Installed Features list and the no longer appears in the list of available features.
Editing a feature
Editing a feature allows you to change the name of the feature to be loaded. This will cause the feature that is currently part of the profile to be deleted and the feature with the new name to be added to the profile.
Warning
Changing a feature in a profile will change the feature on any deployed container that is currently using the selected profile.
To edit a feature:
- Select the profile from which you want to edit features.The Profiles page for the selected profile opens.
- Select the Features tab.The Features tab will be shown on the bottom of the Profiles page.
- Locate the feature to be edited in the Installed Features list.
- Clickto the right of the feature's name.The field becomes editable.
- Edit the value.
- Click.The old feature is removed and the new feature is added.
Deleting a feature
Warning
Deleting a feature from a profile will remove the feature from any deployed container that is currently using the selected profile.
To delete a feature:
- Select the profile from which you want to delete features.The Profiles page for the selected profile opens.
- Select the Features tab.The Features tab will be shown on the bottom of the Profiles page.
- Locate the feature to be deleted in the Installed Features list.
- Click theto the right of the feature's name.A confirmation dialog opens.
- Click.The feature is removed from the list and all containers using the profile.