-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Template builder
committed
Mar 30, 2016
0 parents
commit 8e382cd
Showing
23 changed files
with
1,260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
For information about action hooks supported by OpenShift, consult the documentation: | ||
|
||
https://github.com/openshift/origin-server/tree/master/node/README.writing_applications.md#action-hooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Place your WildFly 10 modules in this directory. This directory is added to the | ||
module path of the WildFly 10 server associated with your application. It has the | ||
same structure as the standard WildFly 10 modules directory. | ||
|
||
The modules placed in this directory will be added to or override the default modules | ||
provided by the OpenShift WildFly 10 cartridge. | ||
|
||
Scenarios: | ||
1) Replace a default module with a new module that contains a bug fix or new feature | ||
2) Add a module that does not exist in the base OpenShift WildFly 10 cartridge in order to add | ||
a new component. Typically these new modules will need to be enabled and configured in | ||
standalone.xml | ||
|
||
Unless one of the above scenarios is required there is no need to modify the | ||
modules directory. | ||
|
||
NOTE: Replacing default modules as in scenario 1 can cause conflicts between modules so | ||
should be done with caution and adequate testing. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Run scripts or jobs on a periodic basis | ||
======================================= | ||
Any scripts or jobs added to the minutely, hourly, daily, weekly or monthly | ||
directories will be run on a scheduled basis (frequency is as indicated by the | ||
name of the directory) using run-parts. | ||
|
||
run-parts ignores any files that are hidden or dotfiles (.*) or backup | ||
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved} | ||
|
||
The presence of two specially named files jobs.deny and jobs.allow controls | ||
how run-parts executes your scripts/jobs. | ||
jobs.deny ===> Prevents specific scripts or jobs from being executed. | ||
jobs.allow ===> Only execute the named scripts or jobs (all other/non-named | ||
scripts that exist in this directory are ignored). | ||
|
||
The principles of jobs.deny and jobs.allow are the same as those of cron.deny | ||
and cron.allow and are described in detail at: | ||
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Automating_System_Tasks.html#s2-autotasks-cron-access | ||
|
||
See: man crontab or above link for more details and see the the weekly/ | ||
directory for an example. | ||
|
||
PLEASE NOTE: The Cron cartridge must be installed in order to run the configured jobs. |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Run scripts or jobs on a weekly basis | ||
===================================== | ||
Any scripts or jobs added to this directory will be run on a scheduled basis | ||
(weekly) using run-parts. | ||
|
||
run-parts ignores any files that are hidden or dotfiles (.*) or backup | ||
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved} and handles | ||
the files named jobs.deny and jobs.allow specially. | ||
|
||
In this specific example, the chronograph script is the only script or job file | ||
executed on a weekly basis (due to white-listing it in jobs.allow). And the | ||
README and chrono.dat file are ignored either as a result of being black-listed | ||
in jobs.deny or because they are NOT white-listed in the jobs.allow file. | ||
|
||
For more details, please see ../README.cron file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Time And Relative D...n In Execution (Open)Shift! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
echo "$(date): $(cat $(dirname \"$0\")/chrono.dat)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Script or job files listed in here (one entry per line) will be | ||
# executed on a weekly-basis. | ||
# | ||
# Example: The chronograph script will be executed weekly but the README | ||
# and chrono.dat files in this directory will be ignored. | ||
# | ||
# The README file is actually ignored due to the entry in the | ||
# jobs.deny which is checked before jobs.allow (this file). | ||
# | ||
chronograph | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Any script or job files listed in here (one entry per line) will NOT be | ||
# executed (read as ignored by run-parts). | ||
# | ||
|
||
README | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The OpenShift `jbossas` cartridge documentation can be found at: | ||
|
||
https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-jbossas/README.md |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>cardgame</groupId> | ||
<artifactId>cardgame</artifactId> | ||
<packaging>war</packaging> | ||
<version>1.0</version> | ||
<name>cardgame</name> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>javax</groupId> | ||
<artifactId>javaee-api</artifactId> | ||
<version>7.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<profiles> | ||
<profile> | ||
<!-- When built in OpenShift the 'openshift' profile will be used when invoking mvn. --> | ||
<!-- Use this profile for any OpenShift specific customization your app will need. --> | ||
<!-- By default that is to put the resulting archive into the 'deployments' folder. --> | ||
<!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html --> | ||
<id>openshift</id> | ||
<build> | ||
<finalName>cardgame</finalName> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<failOnMissingWebXml>false</failOnMissingWebXml> | ||
<outputDirectory>deployments</outputDirectory> | ||
<warName>ROOT</warName> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<web-app version="3.1" | ||
xmlns="http://xmlns.jcp.org/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" | ||
metadata-complete="false"> | ||
|
||
|
||
</web-app> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.