Deploying a Project to a Fabric Container

Revision History

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.

    Follow the steps in Creating a new profile up to Step 6.

    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 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.

    Follow the procedure in Changing a Container's Profiles.

  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

Working with Fabric Containers
Working with Fabric Profiles
Working with Versions
Editing a routing context in the route editor
Tracing messages through routes