Questo contenuto non è disponibile nella lingua selezionata.

19.8. Editing a Profile's Bundles


Abstract

Containers can provision OSGi bundles. Using the Bundles tab, you can add and remove bundles from the profile's list.

Overview

Fuse containers are OSGi containers, so you can add functionality to them by deploying OSGi bundles into them.
Using the Bundles tab you can list one or more bundles to deploy and Fuse Fabric will look at the known repositories to provision the container. You can add repositories from the Repositories tab.

Adding a bundle

Warning
Adding a bundle to a profile will add the bundle to any deployed container that is currently using the selected profile.
To add a bundle:
  1. Select the profile to which you want to add bundles.
    The Profiles page for the selected profile opens.
  2. Select the Bundles tab.
    The Bundles tab will be shown on the bottom of the Profiles page.
  3. In the Add new bundle field, enter the name of the bundle to be added to the profile.
  4. Click Add.
    The new bundle will appear on the list and all containers using the profile will be updated to include the new bundle.

Editing a bundle

Editing a bundle allows you to change the name of the bundle to be loaded. This will cause the bundle that is currently part of the profile to be deleted and the bundle with the new name to be added to the profile.
Warning
Changing a bundle in a profile will change the bundle on any deployed container that is currently using the selected profile.
To edit a bundle:
  1. Select the profile from which you want to edit features.
    The Profiles page for the selected profile opens.
  2. Select the Bundles tab.
    The Bundles tab will be shown on the bottom of the Profiles page.
  3. Locate the bundle to be edited.
  4. Click edit to the right of the bundle's name.
    The field becomes editable.
  5. Edit the value.
  6. Click Save.
    The old bundle is removed and the new bundle is added.

Deleting a bundle

Warning
Deleting a bundle from a profile will remove the bundle from any deployed container that is currently using the selected profile.
To delete a bundle:
  1. Select the profile from which you want to delete bundles.
    The Profiles page for the selected profile opens.
  2. Select the Bundles tab.
    The Bundles tab will be shown on the bottom of the Profiles page.
  3. Locate the bundle to be deleted in the list of bundles.
  4. Click the X to the right of the bundle's name.
    A confirmation dialog opens.
  5. Click Yes.
    The bundle is removed from the list and all containers using the profile.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.