Use Case: As a developer, I want to use an IDE for application development while using the local OpenShift cluster. I need seamless connectivity from the IDE to my local OpenShift environment.
Step 1: Install JBoss Developer Studio
Download and install JBoss Developer Studio following the installation instructions from here https://developers.redhat.com/products/devstudio/download/. You will need to register with https://developers.redhat.com/ to be able to download.
Step 2: Connect JBDS to the Local OpenShift Cluster
-
Open JBoss Developer Studio
-
Go to the
Serverstab at the bottom andclick on the link to create a new server
-
Select
OpenShift 3 Server Adapter, you can leave the Server's host name aslocalhostand clickNext
- On the next page sign into the OpenShift server. Here you would use the Minishift Master URL and credentials (
developer/developer)
- Click on
Nextand it will prompt you aboutUntrusted Server Certificate. Accept the same pressing onYesbutton. Now OpenShift Cluster will be added to your servers list.
Step 3: Import the previously added service into Eclipse.
- On the next window, select
bootappservice in the services window and click on theImportbutton next to Eclipse Project field.
- You should now see
bootappunder Select Build Config. Choose that and click onNextbutton.
- On the next page, choose a Git Location of your choice or leave it as default and press on
Finish
Now the spring-sample-app will be imported into your JBDS. You will find it under the Project View as shown below.
Congratulations!! We are now connected to the application running on Minishift from the IDE.




