Skip to main content
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 Red Hat 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

    • Red Hat OpenShift AI
    • 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.

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.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • 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

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

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

What Red Hat OpenShift Connector for JetBrains products offers developers

March 29, 2019
Jeff Maury
Related topics:
KubernetesSpring Boot
Related products:
Red Hat OpenShift

    We are extremely pleased to announce that the preview release of the Red Hat OpenShift Connector for JetBrains products (IntelliJ IDEA, WebStorm, etc.) is now available in Preview Mode and supports Java and Node.js components. You can download the OpenShift Connector plugin from the JetBrains marketplace or install it directly from the plugins gallery in JetBrains products.

    In this article, we'll look at features and benefits of the plugin and installation details, and show a demo of how using the plugin improves the end-to-end experience of developing and deploying Spring Boot applications to your OpenShift cluster.

    Red Hat OpenShift is a container application platform that brings the power of Kubernetes and containers to the enterprise. Regardless of the applications architecture, OpenShift lets you easily and quickly build, develop, and deploy in nearly any infrastructure, public or private.

    Therefore, whether it’s on-premise, in a public cloud, or hosted, you have an award-winning platform to get your next big idea to market ahead of your competition.

    Using OpenShift Connector, you can interact with any Red Hat OpenShift, including a local instance of OpenShift clusters such as minishift/Red Hat Container Development Kit. Leveraging the OpenShift Application Explorer view, you can improve the end-to-end experience of developing applications.

    The plugin enables you to perform all this directly using JetBrains products (IntelliJ IDEA, WebStorm, etc.) on Windows, Linux, and macOS platforms and removes the complexity of memorizing some fairly complicated CLI commands.

    Once the OpenShift Connector is installed, a new panel, the OpenShift view, is enabled in the Explorer panel. Then, you can access the view and connect to a running OpenShift cluster to perform the required operations.

    Demo

    You can see a live demo of the OpenShift Connector plugin on YouTube. Below are the steps to run the demonstration yourself.

    First, you will need to install any JetBrains products (IntelliJ IDEA, WebStorm, etc.) 2018.1 or later.

    To install the plugin, bring up the plugins configuration dialog: File → Settings → Plugins:

    In the search bar, enter OpenShift and click on the OpenShift Connector by Red Hat item:

    Click the Install button:

    Once the plugin has been downloaded, click the Restart IDE button.

    Once the IDE has been restarted, mouse over the Views icon in the bottom left area:

    Select the OpenShift item:

    The plugin in action

    Connecting to your OpenShift instance

    1. If you’re working locally, start the local OpenShift instance using minishift/Red Hat Container Development Kit
    2. You then need to log in to the running OpenShift cluster: right-click on the cluster URL tree node and select Log in to cluster.

    Enter developer in the Username field and any value in the Password field and press the OK button:

    Import the project to be deployed

    Before we work with our local cluster, first import our application source code. We will use a simple Spring Boot application whose source code is located at https://github.com/openshift-evangelists/Wild-West-Backend.

    To import the application, use the File → New → Project from Version Control → Git:

    Enter https://github.com/openshift-evangelists/Wild-West-Backend in the URL field and press the Clone button.

    Create a project for the application

    The application will be hosted in an OpenShift project (similar to Kubernetes namespaces). For more information about OpenShift projects, see the official documentation

    In the OpenShift view, right-click on the cluster node (the one with the URL) and select New Project:

    Enter spring-boot in the Project name and press the OK button:

    Create the application

    In the spring-boot node, right-click and select New Application:

    Enter springbootapp in the Application name field and press the OK button:

    Deploy the component

    In the springbootapp node, right-click and select New Component:

    Enter backend in the Name field:

    Press the Browse button:

    Select the Wild-West-Backend project and press the OK button:

    In the Component type field, select the java item:

    Press the OK button. A new terminal window will be displayed and the component will be deployed to your local cluster.

    On IntelliJ IDEA 2018.3 or 2018.3 based JetBrains products, the terminal window will automatically be closed when the underlying command process is terminated. We are working on a workaround but we recommend using previous versions until the plugin will be updated. See the issue for more information.

    Once deployed, the component will appear in the OpenShift view:

    Testing the component

    Let’s try to test the deployed application in a browser. In the OpenShift view, right-click the backend node and select Open in Browser:

    As no URL has been set up for our component (to allow external access to our application), press the OK button:

    As our application is exposing several ports, we need to select one: choose 8080 and press the OK button. The following browser window should be displayed:

    Don’t worry, the error message is displayed because our application has no mapping for the root. Append /egg in the URL bar in the browser window and press ENTER:

    Inner loop

    In the following scenario, we will modify locally the application source code and verify that the modification is broadcasted immediately to the cluster. Let’s switch our application in watch mode so that every local modification is sent to the cluster:

    In the OpenShift view, right-click the backend node and select Watch:

    Now, in the Project view, open the src/main/java/com/openshift/wildwest/APIController.java file:

    Modify the egg method:

    	@RequestMapping("/egg")
    	public String easterEgg() {
    		return "Every game needs an easter egg!!";
    	}

    with the following content:

    	@RequestMapping("/egg")
    	public String easterEgg() {
    		return "A change from inside my ide";
    	}

    Refresh the browser window and you should see the following output:

    Keep an eye on the plugin site for updates.

    Last updated: April 8, 2021

    Recent Posts

    • Streamlining Red Hat OpenShift support with the new support log gather operator

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    Red Hat Developers logo

    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
    Ask AI