Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How to run FIS 2.0 application using source S2I deployment procedure

August 14, 2017
Chandra Shekhar Pandey
Related topics:
KubernetesJavaMicroservices
Related products:
Red Hat OpenShift Container PlatformRed Hat Fuse

    This article describes how to create and deploy an FIS 2.0 project using the s2i source workflow. It creates a project from scratch and using github repository one can deploy their FIS 2.0 camel and spring-boot based project to an Openshift environment. Below are the steps in the sequence, which should be followed to deploy the application easily.

    • Firstly, one should setup an Openshift environment with FIS image and templates as per doc https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/html-single/fuse_integration_services_2.0_for_openshift/.
    • Create a directory spring-boot somewhere in the local path. Now go to this folder.
    mkdir spring-boot
    
    cd spring-boot
    • Execute the following to download spring-boot archetype:
    mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate   -DarchetypeCatalog=https://maven.repository.redhat.com/ga/io/fabric8/archetypes/archetypes-catalog/2.2.195.redhat-000004/archetypes-catalog-2.2.195.redhat-000004-archetype-catalog.xml   -DarchetypeGroupId=org.jboss.fuse.fis.archetypes   -DarchetypeArtifactId=spring-boot-camel-xml-archetype   -DarchetypeVersion=2.2.195.redhat-000004
    • In github repo, create a new repository. Let's say we created 'testingAgain'. Copy the repository url.
    • Now create a local git repository and add the remote github url to the local git repo.
    git init
    
    git add *
    
    git commit -m "Added spring-boot project"
    
    git remote add origin https://github.com/1984shekhar/testingAgain.git
    
    git push origin master
    • On Openshift console, click on 'Add to Project'. One can find this on the top panel in the Openshift GUI.
    • In the 'Browse Catalog' search for spring. Select s2i-spring-boot-camel. This quickstart is a simple example of camel and spring-boot.
    • Once selected, we can set below parameters. While other parameters can be left as it is.
    Application Name: test-camel-spring-boot
    
    Git Repository URL: https://github.com/1984shekhar/sourceS2I_fis_example.git
    
    #Git Reference refers to brnach name or tag.
    
    Git Reference: master
    
    Application Version: 1.0
    • Click on Create, it will redirect to a different page.
    • Click on 'Go to overview' on that page.
    • Go to 'Applications -> Pods'- You should see a POD.
    test-camel-spring-boot-1-build with status Running.
    • Click on the Pod 'test-camel-spring-boot-1-build'.
    • Go to Logs tab. Scroll at the bottom, it will download artifacts.
    • Within a couple of minutes in logs, at last, you would find:
    Pushing [==================================================>] 142.2 MB
    
    Pushing
    
    Pushed
    
    latest: digest: sha256:756fe8a1b7fe53c174824c48b56d8b28e6ba48dadb9b9d0d4164ae76abebc58a size: 9646
    
    Push successful
    • Click on 'Go to overview' on that page.
    • We would see another pod like:
    test-camel-spring-boot-1-3k38z in Running phase.
    
    test-camel-spring-boot-1-build in Completed phase.
    • Pod test-camel-spring-boot-1-3k38z is an actual pod. Click on it and go to Logs tab.
    • We should see logs like:
    08:16:39.411 [Camel (camel) thread #0 - timer://foo] INFO simple-route - 477
    
    08:16:49.411 [Camel (camel) thread #0 - timer://foo] INFO simple-route - 497
    
    08:16:59.411 [Camel (camel) thread #0 - timer://foo] INFO simple-route - 289
    
    08:17:09.411 [Camel (camel) thread #0 - timer://foo] INFO simple-route - 872
    
    08:17:19.412 [Camel (camel) thread #0 - timer://foo] INFO simple-route - 401
    • Using oc client we can verify with the command:
    [cpandey@cpandey karaf-camel]$ oc get pods
    
    NAME  READY STATUS RESTARTS AGE
    
    test-camel-spring-boot-1-3k38z 1/1 Running 0 3mtest-camel-spring-boot-1-build 0/1 Completed 0  13m
    [cpandey@cpandey karaf-camel]$

    Whether you are new to Containers or have experience, downloading this cheat sheet can assist you when encountering tasks you haven’t done lately.

    Last updated: January 12, 2018

    Recent Posts

    • Tekton joins the CNCF as an incubating project

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.