Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 6 commits
  • 6 files changed
  • 0 commit comments
  • 3 contributors
Commits on Aug 01, 2013
Matej Lazar matejonnet Restart hook. 46d8db3
Commits on Feb 15, 2014
Dan McPherson danmcp Updating quickstart READMEs for consistency c6e3cf4
Commits on Mar 13, 2014
Dan McPherson danmcp Updating openshift.com urls 8c7045d
Commits on Mar 22, 2014
Dan McPherson danmcp Updating pre and post stop/start hooks d694076
Commits on May 06, 2014
Ben Parees bparees error message during create capedwarf quickstart for jbossas
https://bugzilla.redhat.com/show_bug.cgi?id=1094000

fix raw github url so curl request does not fail
ce0537a
Ben Parees bparees Merge pull request #3 from bparees/master
error message during create capedwarf quickstart for jbossas
878af63
14 .openshift/action_hooks/post_start_jbossas
View
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# The pre_start_cartridge and pre_stop_cartridge hooks are *SOURCED*
-# immediately before (re)starting or stopping the specified cartridge.
-# They are able to make any desired environment variable changes as
-# well as other adjustments to the application environment.
-
-# The post_start_cartridge and post_stop_cartridge hooks are executed
-# immediately after (re)starting or stopping the specified cartridge.
-
-# Exercise caution when adding commands to these hooks. They can
-# prevent your application from stopping cleanly or starting at all.
-# Application start and stop is subject to different timeouts
-# throughout the system.
14 .openshift/action_hooks/post_stop_jbossas
View
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# The pre_start_cartridge and pre_stop_cartridge hooks are *SOURCED*
-# immediately before (re)starting or stopping the specified cartridge.
-# They are able to make any desired environment variable changes as
-# well as other adjustments to the application environment.
-
-# The post_start_cartridge and post_stop_cartridge hooks are executed
-# immediately after (re)starting or stopping the specified cartridge.
-
-# Exercise caution when adding commands to these hooks. They can
-# prevent your application from stopping cleanly or starting at all.
-# Application start and stop is subject to different timeouts
-# throughout the system.
4 .openshift/action_hooks/pre_restart_jbossas
View
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+runtime_dir=${OPENSHIFT_HOMEDIR}app-root/runtime/
+source ${runtime_dir}repo/.openshift/action_hooks/pre_start_jbossas
14 .openshift/action_hooks/pre_stop_jbossas
View
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# The pre_start_cartridge and pre_stop_cartridge hooks are *SOURCED*
-# immediately before (re)starting or stopping the specified cartridge.
-# They are able to make any desired environment variable changes as
-# well as other adjustments to the application environment.
-
-# The post_start_cartridge and post_stop_cartridge hooks are executed
-# immediately after (re)starting or stopping the specified cartridge.
-
-# Exercise caution when adding commands to these hooks. They can
-# prevent your application from stopping cleanly or starting at all.
-# Application start and stop is subject to different timeouts
-# throughout the system.
2  .openshift/action_hooks/utils.sh
View
@@ -13,7 +13,7 @@ function is_up_to_date() {
}
function set_upstream_version() {
- upstream_version_file=https://raw.github.com/${git_repo}/${git_tag}/version.ini
+ upstream_version_file=https://raw.githubusercontent.com/${git_repo}/${git_tag}/version.ini
#set capedwarf_upstream_version & as_required
source /dev/stdin <<< "$(curl -L -s ${upstream_version_file})"
10 README.md
View
@@ -6,24 +6,24 @@ Follow this instructions to run Google AppEngine applications on OpenShift PaaS,
<!-- available soon
TODO: check URL
-The easiest way to install this application is to use the [OpenShift Instant Application](https://openshift.redhat.com/app/console/application_types/capedwarf).
+The easiest way to install this application is to use the [OpenShift Instant Application](https://openshift.redhat.com/app/console/application_types).
If you'd like to install it manually, follow [these directions](#manual-installation).
-->
## Manual Installation ##
-1. [Register](https://openshift.redhat.com/app/account/new) for OpenShift
-1. Follow the [instructions](https://openshift.redhat.com/app/getting_started) to install client tools (step one)
+1. [Register](https://www.openshift.com/app/account/new) for OpenShift
+1. Follow the [instructions](https://www.openshift.com/get-started) to install client tools (step one)
1. Create a domain (step two on the link above)
1. Create JBoss AS applications:
- rhc app create -t jbossas-7 -a mygaeapp
+ rhc app create mygaeapp jbossas-7
1. Remove JBossAS default sample application
cd mygaeapp
git rm -r src/main/webapp/*
- git commit -m"Sample app removed."
+ git commit -m "Removing template app"
1. Use files from this github repo to add CapeDwarf modules to JBoss AS.
Avoiding conflicts specify git options to prefer this repo content.

No commit comments for this range

Something went wrong with that request. Please try again.