diff --git a/.gitignore b/.gitignore index 9611d8d0a0..b318f6cad0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ SERVICES.html CHANGES.html CONTRIBUTING.html RELEASE_PROCEDURE.html +*.html out nb-configuration.xml nbactions.xml diff --git a/batch-processing/README.adoc b/batch-processing/README.adoc index 07e42e88f9..f6025b1c6c 100644 --- a/batch-processing/README.adoc +++ b/batch-processing/README.adoc @@ -178,6 +178,12 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/bmt/README.adoc b/bmt/README.adoc index 0bc9de231d..7b1fd0a3c3 100644 --- a/bmt/README.adoc +++ b/bmt/README.adoc @@ -96,6 +96,12 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/cmt/README.adoc b/cmt/README.adoc index 927553d314..67ba2503da 100644 --- a/cmt/README.adoc +++ b/cmt/README.adoc @@ -122,6 +122,11 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions NOTE: Within JBoss Developer Studio, make sure you define a server runtime environment that uses the `standalone-full.xml` configuration file. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/contacts-jquerymobile/README.adoc b/contacts-jquerymobile/README.adoc index 7386d33110..c39eee83ab 100644 --- a/contacts-jquerymobile/README.adoc +++ b/contacts-jquerymobile/README.adoc @@ -167,6 +167,11 @@ include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] == Debug the Application diff --git a/ejb-in-war/README.adoc b/ejb-in-war/README.adoc index 237a7f1c3a..9f955b4506 100644 --- a/ejb-in-war/README.adoc +++ b/ejb-in-war/README.adoc @@ -98,6 +98,11 @@ INFO [org.jboss.as.server] (management-handler-thread - 30) WFLYSRV0009: Undepl // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/ejb-timer/README.adoc b/ejb-timer/README.adoc index 5a991fd910..2d0b6fc1b4 100644 --- a/ejb-timer/README.adoc +++ b/ejb-timer/README.adoc @@ -90,6 +90,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/greeter/README.adoc b/greeter/README.adoc index d0ab7a61ce..ae696d0b4a 100644 --- a/greeter/README.adoc +++ b/greeter/README.adoc @@ -89,6 +89,11 @@ HHH000431: Unable to determine H2 database version, certain features may not wor // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/helloworld-html5/README.adoc b/helloworld-html5/README.adoc index 18a52ba7ce..7318eac630 100644 --- a/helloworld-html5/README.adoc +++ b/helloworld-html5/README.adoc @@ -137,6 +137,11 @@ include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] == Debug the Application diff --git a/helloworld-mdb/README.adoc b/helloworld-mdb/README.adoc index 922238a4d2..671a8a2d3e 100644 --- a/helloworld-mdb/README.adoc +++ b/helloworld-mdb/README.adoc @@ -98,6 +98,12 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions NOTE: Within JBoss Developer Studio, make sure you define a server runtime environment that uses the `standalone-full.xml` configuration file. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/helloworld-rs/README.adoc b/helloworld-rs/README.adoc index 2965e52b3c..f3c25b5a80 100644 --- a/helloworld-rs/README.adoc +++ b/helloworld-rs/README.adoc @@ -66,6 +66,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/helloworld-singleton/README.adoc b/helloworld-singleton/README.adoc index 62b6632ce4..bf64c46379 100644 --- a/helloworld-singleton/README.adoc +++ b/helloworld-singleton/README.adoc @@ -69,6 +69,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/helloworld-ws/README.adoc b/helloworld-ws/README.adoc index 993bf23cfe..3ce267b4cf 100644 --- a/helloworld-ws/README.adoc +++ b/helloworld-ws/README.adoc @@ -105,6 +105,12 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions When you deploy this quickstart, you are presented with a window that explains there is no user interface for this quickstart and directs you to click on a link to view the WSDL definition. However, the Eclipse browser does not support the display of WSDL definitions. Instead, open an external browser and access the following URL: http://localhost:8080/{artifactId}/HelloWorldService?wsdl. This URL will display the deployed WSDL endpoint for the Web Service. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/helloworld/README.adoc b/helloworld/README.adoc index dd19eb6875..9a10567f09 100644 --- a/helloworld/README.adoc +++ b/helloworld/README.adoc @@ -61,6 +61,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/hibernate/README.adoc b/hibernate/README.adoc index d714eafb3b..b165397bb9 100644 --- a/hibernate/README.adoc +++ b/hibernate/README.adoc @@ -110,6 +110,12 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/jaxrs-client/README.adoc b/jaxrs-client/README.adoc index a0e92254ff..f13ff19e9a 100644 --- a/jaxrs-client/README.adoc +++ b/jaxrs-client/README.adoc @@ -142,6 +142,12 @@ To run the tests in Red Hat JBoss Developer Studio: . You must first set the active Maven profile in project properties to be either `arq-managed` for running on managed server or `arq-remote` for running on remote server. . Then, to run the tests, right click on the project or individual classes and select Run As –> JUnit Test in the context menu. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/jsonp/README.adoc b/jsonp/README.adoc index 091e5684ca..2b61a79ef0 100644 --- a/jsonp/README.adoc +++ b/jsonp/README.adoc @@ -73,6 +73,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/kitchensink-angularjs/README.adoc b/kitchensink-angularjs/README.adoc index 9a99fb988a..1b070fc95e 100644 --- a/kitchensink-angularjs/README.adoc +++ b/kitchensink-angularjs/README.adoc @@ -96,6 +96,12 @@ HTML Problem: Undefined attribute name (ng-submit) HTML Problem: Undefined attribute name (ng-view) ---- +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + == Debug the Application If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them. diff --git a/kitchensink-jsp/README.adoc b/kitchensink-jsp/README.adoc index 98ff4068fc..adc0acc0b0 100644 --- a/kitchensink-jsp/README.adoc +++ b/kitchensink-jsp/README.adoc @@ -102,6 +102,13 @@ The tag handler class for "c:out" (org.apache.taglibs.standard.tag.rt.core.OutTa You can ignore this warning as it does not impact building or deploying the quickstart in JBoss Developer Studio. See https://issues.jboss.org/browse/JBIDE-22175[JBIDE-22175] for the latest updates on this issue. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + + //************************************************* // Add info to debug the application //************************************************* diff --git a/kitchensink-ml/README.adoc b/kitchensink-ml/README.adoc index b9034f0697..d8ff22d569 100644 --- a/kitchensink-ml/README.adoc +++ b/kitchensink-ml/README.adoc @@ -180,6 +180,11 @@ include::../shared-doc/run-arquillian-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/kitchensink/README.adoc b/kitchensink/README.adoc index dc18c2f846..8078c92566 100644 --- a/kitchensink/README.adoc +++ b/kitchensink/README.adoc @@ -88,6 +88,11 @@ include::../shared-doc/run-arquillian-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/logging-tools/README.adoc b/logging-tools/README.adoc index 57e349c841..d57af8b87d 100644 --- a/logging-tools/README.adoc +++ b/logging-tools/README.adoc @@ -136,6 +136,12 @@ GreeterExceptionBundle_$bundle.java Java Problem ---- +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/managed-executor-service/README.adoc b/managed-executor-service/README.adoc index ae7fe4e1ab..3d729a4829 100644 --- a/managed-executor-service/README.adoc +++ b/managed-executor-service/README.adoc @@ -148,6 +148,12 @@ To run the tests in Red Hat JBoss Developer Studio, you must first set the activ Then, to run the tests, right click on the project or individual classes and select *Run As* –> *JUnit Test* in the context menu. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/numberguess/README.adoc b/numberguess/README.adoc index 194e7b59e8..7a0931cb00 100644 --- a/numberguess/README.adoc +++ b/numberguess/README.adoc @@ -61,6 +61,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/payment-cdi-event/README.adoc b/payment-cdi-event/README.adoc index cfc954670a..16570af01b 100644 --- a/payment-cdi-event/README.adoc +++ b/payment-cdi-event/README.adoc @@ -90,6 +90,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/servlet-async/README.adoc b/servlet-async/README.adoc index a89f77ed25..3bc1750887 100644 --- a/servlet-async/README.adoc +++ b/servlet-async/README.adoc @@ -67,6 +67,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/servlet-filterlistener/README.adoc b/servlet-filterlistener/README.adoc index 604b2fe8ec..94bbc8c28b 100644 --- a/servlet-filterlistener/README.adoc +++ b/servlet-filterlistener/README.adoc @@ -113,6 +113,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/shared-doc/attributes.adoc b/shared-doc/attributes.adoc index 9623c37155..86a8e41670 100644 --- a/shared-doc/attributes.adoc +++ b/shared-doc/attributes.adoc @@ -2,6 +2,7 @@ :productNameFull: WildFly Application Server :jbossHomeName: WILDFLY_HOME :productVersion: 12 +:ProductShortName: JBoss EAP :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later :jbdsEapServerName: Red Hat JBoss Enterprise Application Platform 7.1 :githubRepoUrl: https://github.com/jbossas/eap-quickstarts/ @@ -34,16 +35,23 @@ :SingletonSubsystemNamespace: urn:jboss:domain:singleton:1.0 :TransactionsSubsystemNamespace: urn:jboss:domain:transactions:4.0 -:DocInfoProductNameURL: red_hat_jboss_enterprise_application_platform -:DocInfoProductName: Red Hat JBoss Enterprise Application Platform -// TO DO: We need to replace the following version when we get closer to GA. -:DocInfoProductNumber: 7.1 +:DocInfoProductNameURL: jboss_enterprise_application_platform_continuous_delivery +:DocInfoProductName: JBoss Enterprise Application Platform Continuous Delivery +:DocInfoProductNumber: 12 :LinkProductDocHome: https://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/ :LinkConfigGuide: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/configuration_guide/ :LinkDevelopmentGuide: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/development_guide/ :LinkGettingStartedGuide: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/getting_started_guide/ - +:LinkOpenShiftWelcome: https://docs.openshift.com/online/welcome/index.html +:LinkOpenShiftSignup: https://docs.openshift.com/online/getting_started/choose_a_plan.html :ConfigBookName: Configuration Guide :DevelopmentBookName: Development Guide :GettingStartedBookName: Getting Started Guide + +:OpenShiftOnlinePlatformName: Red Hat OpenShift Container Platform +:OpenShiftOnlineName: Red Hat OpenShift Online +:LinkOpenShiftGuide: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/getting_started_with_jboss_eap_for_openshift_container_platform/ +:LinkOpenShiftOnlineGuide: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/getting_started_with_jboss_eap_for_openshift_online/ +:EapForOpenshiftBookName: Getting Started with {ProductShortName} for OpenShift Container Platform +:EapForOpenshiftOnlineBookName: Getting Started with {ProductShortName} for OpenShift Online diff --git a/shared-doc/deploy-to-openshift-online.adoc b/shared-doc/deploy-to-openshift-online.adoc new file mode 100644 index 0000000000..3727116b28 --- /dev/null +++ b/shared-doc/deploy-to-openshift-online.adoc @@ -0,0 +1,68 @@ +[[deploy_the_quickstart_to_openshift_online]] += Deploy the Quickstart to OpenShift Online + +Use these instructions to deploy the quickstart to {OpenShiftOnlineName}. If you do not yet have an OpenShift Online account and are interested in signing up for one, see link:{LinkOpenShiftSignup}[Choose a Plan] in the OpenShift Online documentation located on the Red Hat Customer Portal. For information about running {ProductShortName} on {OpenShiftOnlineName}, see link:{LinkOpenShiftOnlineGuide}[_{EapForOpenshiftOnlineBookName}_], also located on the Red Hat Customer Portal. + +[[create_and_deploy_the_quickstart_project]] +== Create and Deploy the Quickstart Project + +Follow these instructions to deploy this quickstart to OpenShift Online. + +. Browse to OpenShift Online console and login with your credentials. +. On the *View All Projects* or *Welcome to Project* page, click *Create Project*. +. On the *Create Project* page, enter the following information: ++ +[source,subs="+quotes,attributes+"] +---- +*Name:* {artifactId} +*Display Name* {artifactId} +*Description:* {artifactId} +---- + +. Click *Create* to create the project. +. On the *My Projects* page, choose your new *{artifactId}* and click *Browse Catalog*. +. Choose *JBoss EAP 7.1 (no https)* and then click *Next* to view the *Information* page. +. Click *Next* to navigate to the *Configuration* page. . . Enter the following information. You can leave the remaining fields as they are. ++ +[source,subs="+quotes,attributes+"] +---- +*Add to Project:* {artifactId} +*Application Name:* {artifactId} +*Custom http Route Hostname:* (leave blank) +*Git Repository URL:* https://github.com/wildfly/quickstart +*Git Reference:* master +*Context directory:* {artifactId} +---- + +. Click the *Create* button. +. Click on the *Continue to the project overview* link. + +* You should see "Build #1 is running ..." with the console log below. ++ +[source,subs="+quotes,attributes+"] +---- +Cloning ... +Downloading ... +Building ... +Copying ... +Pushing ... +---- + +* At the end of the build, you should see "Push successful". +* Click *View Full Log* to see the entire log. + +. Click the *Overview* tab to see the `{artifactId}` deployment. +. Click on the application URL on the right side of the page to view the running application. It should be in the following pattern: ++ +[source,subs="+quotes,attributes+"] +---- +http://__APPLICATION_NAME__-__PROJECT_NAME__.__PORT__.__HOST__.openshiftapps.com +---- + +[[delete_the_quickstart_project]] +== Delete the Quickstart Project + +Follow these instructions to delete the project from OpenShift Online. + +. Go to the *View All Projects* page and select *Delete Project* from the drop down list to the right of the *{artifactId}* project. +. Type the name of the project to confirm, and then click *Delete* diff --git a/shrinkwrap-resolver/README.adoc b/shrinkwrap-resolver/README.adoc index 54a63acd75..18add37104 100644 --- a/shrinkwrap-resolver/README.adoc +++ b/shrinkwrap-resolver/README.adoc @@ -97,6 +97,13 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions You must first set the active Maven profile in project properties to be either `arq-managed` for running on managed server or `arq-remote` for running on remote server. Then, to run the tests, right click on the project or individual classes and select Run As –> JUnit Test in the context menu. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + + == Debug the Application If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them. diff --git a/spring-greeter/README.adoc b/spring-greeter/README.adoc index 3494f26db3..490a83f811 100644 --- a/spring-greeter/README.adoc +++ b/spring-greeter/README.adoc @@ -96,6 +96,12 @@ include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + == Debug the Application diff --git a/spring-kitchensink-basic/README.adoc b/spring-kitchensink-basic/README.adoc index c00a1483d1..9f6b573480 100644 --- a/spring-kitchensink-basic/README.adoc +++ b/spring-kitchensink-basic/README.adoc @@ -79,6 +79,11 @@ include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] == Debug the Application diff --git a/spring-kitchensink-springmvctest/README.adoc b/spring-kitchensink-springmvctest/README.adoc index 630b3eef63..48a801d1ee 100644 --- a/spring-kitchensink-springmvctest/README.adoc +++ b/spring-kitchensink-springmvctest/README.adoc @@ -84,6 +84,11 @@ include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] == Debug the Application diff --git a/spring-resteasy/README.adoc b/spring-resteasy/README.adoc index 0cdb1284fb..d8ce2acece 100644 --- a/spring-resteasy/README.adoc +++ b/spring-resteasy/README.adoc @@ -81,6 +81,12 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Arquillian Functional Tests include::../shared-doc/run-arquillian-functional-tests.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add JBoss Developer Studio instructions //************************************************* diff --git a/tasks-jsf/README.adoc b/tasks-jsf/README.adoc index 55ca96cdc5..e7ff0f5fa4 100644 --- a/tasks-jsf/README.adoc +++ b/tasks-jsf/README.adoc @@ -93,10 +93,18 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Arquillian Tests include::../shared-doc/run-arquillian-tests.adoc[leveloffset=+1] +//************************************************* +// Add JBoss Developer Studio instructions +//************************************************* +// == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse +include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] -== Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse -You can also start the server and deploy the quickstarts or run the Arquillian tests from Eclipse using JBoss tools. For general information about how to import a quickstart, add a {productName} server, and build and deploy a quickstart, see link:{useEclipseUrl}[Use JBoss Developer Studio or Eclipse to Run the Quickstarts]. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] == Debug the Application diff --git a/tasks/README.adoc b/tasks/README.adoc index 0e4f91dc73..1ef420767d 100644 --- a/tasks/README.adoc +++ b/tasks/README.adoc @@ -121,6 +121,12 @@ INFO [stdout] (default task-90) Hibernate: select user0_.id as id1_1_, user0_.u // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application diff --git a/temperature-converter/README.adoc b/temperature-converter/README.adoc index d1d010b8b5..e896fd3118 100644 --- a/temperature-converter/README.adoc +++ b/temperature-converter/README.adoc @@ -78,6 +78,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application diff --git a/thread-racing/README.adoc b/thread-racing/README.adoc index 98f655dffa..d18e051f56 100644 --- a/thread-racing/README.adoc +++ b/thread-racing/README.adoc @@ -102,6 +102,12 @@ include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[levelof // Additional JBoss Developer Studio instructions NOTE: Within JBoss Developer Studio, make sure you define a server runtime environment that uses the `standalone-full.xml` configuration file. +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application //************************************************* diff --git a/websocket-client/README.adoc b/websocket-client/README.adoc index 1230f95efc..8b36f6f902 100644 --- a/websocket-client/README.adoc +++ b/websocket-client/README.adoc @@ -96,6 +96,12 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application diff --git a/websocket-endpoint/README.adoc b/websocket-endpoint/README.adoc index 0cae446d14..233deb4812 100644 --- a/websocket-endpoint/README.adoc +++ b/websocket-endpoint/README.adoc @@ -77,6 +77,13 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + + //************************************************* // Add info to debug the application //************************************************* diff --git a/websocket-hello/README.adoc b/websocket-hello/README.adoc index aaf5f88142..b40ef2fdf9 100644 --- a/websocket-hello/README.adoc +++ b/websocket-hello/README.adoc @@ -81,6 +81,12 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] + //************************************************* // Add info to debug the application diff --git a/xml-jaxp/README.adoc b/xml-jaxp/README.adoc index 012882e460..9108838c4f 100644 --- a/xml-jaxp/README.adoc +++ b/xml-jaxp/README.adoc @@ -93,6 +93,11 @@ include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+1] // == Run the Quickstart in Red Hat JBoss Developer Studio or Eclipse include::../shared-doc/run-the-quickstart-in-jboss-developer-studio.adoc[leveloffset=+1] +//************************************************* +// Deploy the quickstart to OpenShift +//************************************************* +// == Deploy the Quickstart to OpenShift Online +include::../shared-doc/deploy-to-openshift-online.adoc[leveloffset=+1] //************************************************* // Add info to debug the application