11.3. Deploying a Project to a Fabric Container


Overview

When you are ready to test your application in a highly distributed environment, you can deploy it into a fabric using the Deploy to... tool. The Deploy to... tool builds your application, runs the tests, packages the application as a bundle, adds the bundle to a fabric profiles, and deploys the bundle into the fabric's internal Maven repository.
To complete the process, you need to ensure that the profile containing your application is deployed to at least one of the containers in the fabric. If the profile is not deployed to a container, the application will not be started.

Procedure

To deploy a project to a fabric container:
  1. Open the Fuse Integration perspective.
  2. In Fabric Explorer, expand the Fabrics node.
  3. Double-click a fabric to connect to it.
  4. Create a new profile in which you will install your project.
    The new profile appears in the profile tree in Fabric Explorer.
  5. In Project Explorer, select the project you want to deploy.
  6. Open the project's context menu.
  7. Select Deploy to... fabric version to see the list of available profiles.
  8. From the list of profiles, select the profile that you created in Step 4.
  9. Verify that the application's bundle was added to the profile.
    1. In Fabric Explorer, click the profile into which the project was installed.
      This will populate the Properties view with the profile's details.
    2. In Properties view, click the Details tab.
    3. Check that your project's bundle appears in the Bundles or FABs field.
  10. If you do not already have a container deployed into the fabric for testing your application, create a new container in the fabric.
    Follow the procedure appropriate for the container in Chapter 23, Working with Fabric Containers.
    The new container appears in Fabric Explorer, under the fabric's Containers node.
  11. Assign the profile containing your application to a container in the fabric.
  12. Verify that the application was deployed to the container.
    1. In Fabric Explorer, double-click the new container to start it and to populate Properties view with its properties and profile information.
    2. In Fabric Explorer, click the container's Bundles node to view the list of bundles installed on it.

Related topics

Chapter 23, Working with Fabric Containers
Chapter 24, Working with Fabric Profiles
Chapter 25, Working with Versions
Chapter 4, Editing a routing context in the route editor
Chapter 14, Tracing messages through routes
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.