 Hey everyone, this is Grant your friendly neighborhood OpenShift team member in today's video I wanted to show you the new OpenShift plug-in that we've been working on for IntelliJ So I have a brand new IntelliJ 2018.3.5 installed so I'm going to go ahead and start that up and we'll look at how to install and use the plug-in and As you can see, I don't have any current projects right now So I'm going to check out from version control and I'm going to use git and let me pop over to my Get Hub account and I'll pull down the project real quick I'll go to github.com slash gshipply and I'm going to go over to the OpenShift evangelist Organization to get a project that I've been working on I'm going to be using the Wild West back-end project today So I'm going to clone that one Go back to IntelliJ, paste that URL And I want to open this project allow access and We'll close the tip there and we can see that I have my Wild West back-end checked out So now that I have a project locally. I want to actually Download and install the OpenShift plug-in. So I'm going to click on file and then settings And then I'm going to go to the plug-ins and what I want to do is actually search the Marketplace for the OpenShift plug-in. We can see OpenShift connector by Red Hat So I'm going to go ahead and install that and accept the warning there and You can see this is hot off the press here. This was released March 8th So I'll go ahead and let that install and I'll restart the IDE and We'll start coding here and take a look at the plug-in Now that the plug-in has been installed we'll go over to IntelliJ and we'll notice a new OpenShift tab in the top left hand corner So here's my project source code We can drill down and look at the Various methods here and classes. I'll open up the API controller and Let me make the font a little bit bigger here. Okay, so let's go over to the OpenShift plug-in tab and We can see that it's going to pull in All of the clusters that I've been working on and so by default it pulled in the console.techdote.io Which is the local cluster that I use it in most of my videos So what we want to do is actually deploy this back-end code out So let me go ahead and click on new project and we'll just call this grant back in And that's going to create a new project on the OpenShift cluster and we can see that it's listed there So now we want to create a new application and we'll just call the application back-end hit okay And that's going to configure the application now. We need to create a component So if I right-click on back-end I can select on new component and it's going to pop open a Dialogue for me. So I'm going to call this back-end again the source type I can do local or get so I'm going to use local for source if I click on browse It's going to allow me to select my project and then I need to select the component type We want to use Java and we'll use Java 8. I'll click on okay And we can see in the bottom that it opened up a new Odo Window and it's giving me the status of my project and My application so it's going to go ahead and copy those over if we go over to our OpenShift instance Let me log in to OpenShift on TechDope And we should see a grant back-end project that IntelliJ created and we can see that the back-end has been deployed So let's go back to IntelliJ And we can see this currently building the component so we could do a lot of things at this point We could right-click on our or expand our back-end and look at our actual component We can create a URL for it. We can add storage. We can describe it Show the logs follow the logs. We can link components and services together We can open the component up in a browser. We can push we can watch and we can delete Okay, the component has been pushed So let's go ahead and create a URL for this and it's going to ask me which service port I want to expose now. This is a spring boot application. So I know that it's using port 8080 I'll click okay on that and now we have a URL Okay, so let's go ahead and push our source code out The way we do that is we right-click on the back-end component and click on push and this is going to take these source code files From my local IDE Push those up to OpenShift and go through the source to image process to build and deploy that application We can see that happening down in the window below Okay, our application is set up and running So now we can right-click on it and open in browser and this will open up in the default browser on your system Which is Chrome now we get a white label error page here. Why is that? Well, this is because this is a back-end Controller, it's a rest API. So I've defined one rest API here called slash egg Which just says every game needs an Easter egg So if we go back over to our URL and put in slash egg We can see that from the IntelliJ IDE I was able to quickly deploy this application to OpenShift So let's go back and make a change and actually walk through the process on how to do that So I'm going to just change this egg endpoint URL to say the change from inside of My IDE We'll save that and then I'm going to build my project just to make sure that I don't have any compilation errors or anything Okay, that looks good now. We just want to push this new version out so we can just run push again Which by just clicking on the component name and running push it's going to go through that same process and build that component out for us again and We can see that the spring boot application has been started back up and everything should be good So let's go back to our web browser Refresh the page and we can see a change from inside of my IDE. So that's pretty awesome everything from right inside my IDE I didn't have to install any command line tools just using the IntelliJ plug-in the other thing we can do on the backing component is actually watch for changes and so then I can just start coding and Maybe add some exclamation points here save that build my project and the plug-in is going to look for any changes On my local system and when it notices changes or a new build It's going to push that up to the OpenShift cluster All right That's just a quick look at the new OpenShift connector plug-in that we've written for IntelliJ. Hope everyone enjoyed the video