Goals

This tutorial guides you through the complete lifecycle of delivering a cloud-native integration application with Red Hat Fuse. The tutorial begins with installation and configuration of a Fuse development environment based on Red Hat CodeReady Studio. Once your development environment is set up, you will build and deploy a containerized integration to OpenShift, Red Hat's self-service container application platform. Finally, you will get experience with the administration interface of Fuse on OpenShift to understand how container-based integrations are managed at scale.

helloworld

Setup your development environment

  1. Install the Java SE Development Kit (JDK) version 11. We recommend using the Open JDK or the Oracle JDK.

  2. Download CodeReady Studio standalone installer.  

  3. Run the CodeReady installer.

    1. For Mac/Windows development hosts:

      1. Navigate to the folder that contains the downloaded CodeReady Studio JAR file.

      2. Right-click the downloaded installer named  codereadystudio-0.0.0.GA-installer-standalone.jar (0.0.0 will be replaced by the version number of the installer you downloaded)

      3. Select Open With - Jar Launcher.

    2. For Linux development hosts:

      1. Navigate to the folder that contains the CodeReady Studio JAR file.

      2. Execute the installer installer named  $ java -jar codereadystudio-0.0.0.GA-installer-standalone.jar

    3. Follow the on-screen instructions to continue the installation process.

  • During installation, be sure to install Red Hat Fuse Tooling on Step 6 of the wizard:
step6
  • Select the option to launch Red Hat Developer Studio on the final page of the installation wizard.

Create a New Fuse Project on OpenShift

  • We are going to use the built-in Spring Boot on OpenShift template for our application. Right click in the Project Explorer pane and select New > Fuse Integration Project.
newproject
  • On the Choose a Project name page, enter a project name in the Project Name field. Click Next to continue and accept the defaults for all the other fields.  
newproject1
  • On the Select a Target Environment page, select Next to accept all the defaults.
runtime
  • The Advanced Project Setup page is where you select the predefined Spring Boot template.
  • Select Simple log using Spring Boot - Spring DSL and click Finish.
template
  • Once the project is created, you will be able to see your application in the Project Explorer pane. You are now ready to move on to the step of deploying your application as a container-native integration on OpenShift. The rest of this tutorial will take place in the lesson Getting Started with Fuse Tooling, an interactive environment that you'll connect to with your local install of CodeReady Studio.

Deploy and test your application

Last updated: January 22, 2021

Comments