Este conteúdo não está disponível no idioma selecionado.

19.6. Editing a Profile's Features


Revision History
09/05/12EMJ
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:
  1. Select the profile to which you want to add features.
    The Profiles page for the selected profile opens.
  2. Select the Features tab.
    The Features tab will be shown on the bottom of the Profiles page.
  3. Select the feature repository to scan from the Repository drop-down list.
    Note
    The 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.
  4. Locate the feature to add to the profile.
  5. Click the + to 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:
  1. Select the profile from which you want to edit features.
    The Profiles page for the selected profile opens.
  2. Select the Features tab.
    The Features tab will be shown on the bottom of the Profiles page.
  3. Locate the feature to be edited in the Installed Features list.
  4. Click edit to the right of the feature's name.
    The field becomes editable.
  5. Edit the value.
  6. Click Save.
    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:
  1. Select the profile from which you want to delete features.
    The Profiles page for the selected profile opens.
  2. Select the Features tab.
    The Features tab will be shown on the bottom of the Profiles page.
  3. Locate the feature to be deleted in the Installed Features list.
  4. Click the X to the right of the feature's name.
    A confirmation dialog opens.
  5. Click Yes.
    The feature is removed from the list and all containers using the profile.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.