This repository has been archived by the owner on May 26, 2019. It is now read-only.
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
Showing
11 changed files
with
99 additions
and
35 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
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
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
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
This file was deleted.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
Download ${project.name} | |||
------------------------ | |||
|
|||
Grab the ${project.version} release ${project.packaging} of ${project.name} at [Maven Central repository](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22${project.groupId}%22%20AND%20a%3A%22${project.artifactId}%22). |
This file was deleted.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,23 @@ | |||
Configure ${project.name} | |||
------------------------- | |||
|
|||
* Grab the XSD schema at [Maven central repository](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22${project.groupId}%22%20AND%20a%3A%22${project.artifactId}%22). | |||
* Start writing your configuration file: | |||
|
|||
<?xml version="1.0" encoding="UTF-8"?> | |||
<mock-web-app xmlns="net.nicoulaj.benchmark.mockwebapp:mock-web-app" | |||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:schemaLocation="net.nicoulaj.benchmark.mockwebapp:mock-web-app mock-web-app.xsd"> | |||
|
|||
<mapping> | |||
<when> | |||
<!-- insert conditions here --> | |||
</when> | |||
<then> | |||
<!-- insert actions here --> | |||
</then> | |||
</mapping> | |||
|
|||
</mock-web-app> | |||
|
|||
* You can also find some examples [here](${project.scm.url}/tree/master/src/test/resources/net/nicoulaj/benchmark/mockwebapp/test/configs/valid). |
This file was deleted.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
Deploy ${project.name} | |||
---------------------- | |||
|
|||
* Deploy the ${project.artifactId}-${project.version}.${project.packaging} to your favorite servlet container (such as [Tomcat](http://tomcat.apache.org) or [Jetty](http://jetty.codehaus.org)). | |||
* Start the server with the pah to the configuration file as Java option: | |||
|
|||
<start command> -Dmock-web-app-conf=file:path/to/conf/file.xml |
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