X

Geertjan's Blog

  • December 20, 2014

Integrating Cloud Providers into NetBeans IDE (Part 4)

Geertjan Wielenga
Product Manager

The next step in the process, now that we can register a Cloud provider and create new applications that will be deployed to it, is to actually deploy applications to the Cloud provider.

As an example I've taken OpenShift by Red Hat which, when you've created your application on it, shows you this result in the browser:

Also take note of the information in the Deployment Output window above, which comes from OpenShift.

To get to the above point, I created a new Java web application, registered it to be deployed to the Cloud provider, and then deployed it.

The relevant code that had to be added is all in the FooDeploymentManager class and in the FooCloudInstance class.

The source code of the current state is here:

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/8.0.2/cloud/part4

The next step is to somehow add functionality to show whether an application is deployed, started, or stopped, via icons on the application nodes.

Integration with Git will be the area to look at after that. I have created an SSH key and turned it into a PPK file, which enables me to use Git in NetBeans IDE to get to the Git repository for the application I've created on the Cloud, i.e., in this specific case, Red Hat OpenShift.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.