Deploying a project to a fabric profile

Overview

When you are ready to test your application in a fabric environment, you can quickly and easily deploy it into a fabric profile by using the Deploy to... tool, which builds your application, runs the tests, installs the application as a bundle inside the selected profile, and then uploads the profile into the selected fabric's internal Maven repository.

This procedure assumes that you have access to a running fabric.

  1. Open the Fuse Integration perspective.

  2. In Fabric Explorer, expand the Fabrics node, and then select and double-click a fabric to connect to it.

  3. Create a new profile in which you will install your project. Follow the steps in Creating a new profile up to saving the new profile.

    The new profile appears in Fabric Explorer in the profile tree, under its parent profile.

  4. In Project Explorer, right-click the project you want to deploy, to open the context menu.

  5. Click Deploy to... > <fabric> > <version> to open the list of the available profiles.

  6. From the list, select the new profile that you created in Step 3.

    In Console view, you can watch as Fuse IDE builds the project, runs the tests, installs your project as a bundle in the new profile, and uploads the new profile to the fabric's internal Maven repository.

  7. In Fabric Explorer, click the new profile to populate Properties view with its properties information and profile details.

  8. In Properties view, click the Details tab to check that your project's bundle appears in the Bundles or FABs field.

  9. Create a new container and assign the new profile to it. Follow the procedure appropriate for your fabric connection in Working with Fabric Containers.

    The new container appears in Fabric Explorer, under the fabric's Containers node.

  10. In Fabric Explorer, double-click the new container to start it and to populate Properties view with its properties and profile information.

  11. In Fabric Explorer, click the container's Bundles node to view the list of bundles installed on it.

    Now you can test and debug your application in a fabric environment.

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