##Prerequisites## ###Accounts### Each new hire will need to set up the following accounts to start the lab content provided in this repository.
- Red Hat Access Portal Account (https://access.redhat.com)
- An OpenShift Online Account (https://www.openshift.com/app/account/new -- use your RH email address)
###Installations### Each new hire will need the following installations downloaded and unzipped prior to the start of the New Hire Bootcamp.
Install | URL |
---|---|
Java Development Kit 7 | OpenJDK, Oracle JDK |
Apache Maven (Latest) | link |
Git | link |
JBoss EAP 6.4.0 | link |
JBoss BPM Suite 6.1.0 | link |
OpenShift Command Line Tools | link |
##Day 1 - OpenShift Application Management## ###Goals###
- Learn how to use OpenShift Online to enable quick POCs (Proof-of-Concepts)
- To get familiar with both the UI and CLI experience in OpenShift
- To get familiar with the format for the lab content in the remaining days of the Bootcamp
- TODO
###Instructions###
-
Run the following commands on the command line to create a new EAP 6 project in OpenShift with Jenkins CI and configure a MongoDB cartridge:
rhc app-create labweb jbosseap -g large rhc cartridge add mongodb-2.4 -a labweb
- These commands will output the generated credentials and locations for the OpenShift Git repository and MongoDB instance our application will use. Save this information in a text file for safekeeping.
-
Enter the newly cloned git directory
cd labweb/
-
Connect the starter code on GitHub to the OpenShift repository:
git remote add upstream -m master git://github.com/justincohler/nch-bootcamp.git git pull -s recursive -X theirs upstream master
- An editor will ask you to enter a merge message. Enter the following to (w)rite the merge record and (q)uit out of the editor:
> :wq
- An editor will ask you to enter a merge message. Enter the following to (w)rite the merge record and (q)uit out of the editor:
-
Finally, push the starter code to OpenShift:
git push
This will output the generated users and passwords for MongoDB and the EAP Admin Console, which you can use to configure persistence in the webapp.
##Day 2 - Business Rules and Process Modeling## ###Goals###
- Learn how to write Business Rules, and touch integration endpoints in Business Processes
- To get familiar with BDD (Behavior-Driven-Development) by using the Cucumber test Framework
- TODO
###Instructions### ##Day 3 - Integrating Services with Camel## ###Goals###
- Learn how to write Camel routes for code-less integration
- Learn how to expose and consume Web Services with Camel
- TODO
###Instructions ##Day 4 - Continuous Integration and Delivery## ###Goals###
- Learn how to add and use plugins in Jenkins on top of OpenShift
- Deploy our completed web application to OpenShift with Jenkins CI (Continuous Integration)
- TODO
###Instructions### ##Day 5 - To Infinity and Beyond## ###Goals###
- TODO
###Instructions###