[jboss-user] [JBoss Tools] - Embed cartriges into an OpenShift Express applications using JBoss Tools

Andre Dietisheim do-not-reply at jboss.com
Tue Nov 29 07:09:40 EST 2011


Andre Dietisheim [http://community.jboss.org/people/adietish] modified the document:

"Embed cartriges into an OpenShift Express applications using JBoss Tools"

To view the document, visit: http://community.jboss.org/docs/DOC-17375

--------------------------------------------------------------
h1. Start the wizard and log into OpenShif Express

Open up the OpenShift application wizard:

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17377/new-openshift-wizard.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17377/450-357/new-openshift-wizard.png 

Now provide your OpenShift credentials. You need a valid account on OpenShift. If you have no account so far, please sign up  https://openshift.redhat.com/app/user/new/express here or use the link in the wizard.

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17376/provide-credentials.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17376/450-429/provide-credentials.png 

h1. Create a new application 

Now make sure you have a domain/create a domain and an application to embed cartridges to. 

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17378/create-application.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17378/450-433/create-application.png 

In the first wizard page you'd choose the name and the cartridge of the new OpenShift application.

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17379/create-application-name.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17379/450-342/create-application-name.png 

You may now either finish the wizard (and embed cartridges later on) or embed cartridges to your application. The 2nd wizard page would allow you to do so.

h1. Embed cartridges when creating the application

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17380/create-application-embed.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17380/450-339/create-application-embed.png 

You may now embed cartridges to your application. A Jenkins-client may only be embedded if you have a jenkins application ready. If you have none so far, the wizard will prompt you to provide a name for it.

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17381/create-jenkins.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17381/450-344/create-jenkins.png 

If the jenkins app was created successfully, you'll get the url and credentials pop up in a dialog. Please copy these settings to some paper/notepad since you wont get these again.

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17382/create-jenkins-log.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17382/450-204/create-jenkins-log.png 

If your jenkins was created successfully, you're ready to embed the jenkins-client to your application. You may do so by finishing the wizard.
A dialog will inform you of supplementary settings for the embedded jenkins-cartridge (or any additionnal cartridge):

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17383/embed-jenkins-log.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17383/450-179/embed-jenkins-log.png 


You should now have your app and the new jenkins-app in your list of available applications:

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17384/applications-afterwards-jenkins.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17384/450-432/applications-afterwards-jenkins.png 

The application details, which are available by clicking "*Details*" now also show what cartridges were embedded to your as7 application:

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17385/application-details.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17385/450-216/application-details.png 

h1. Embed cartridges to existing applications

You may of course also embed cartridges to existing apps. You can achieve that by selecting your app in the list of available applications and clicking on "*Embed*":

 http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-1-17386/embed-jenkins.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-1-17386/450-323/embed-jenkins.png
--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-17375]

Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111129/81d452b3/attachment.html 


More information about the jboss-user mailing list