Skip to content

Commit

Permalink
Merge pull request #103 from aguibert/docs-runtimes
Browse files Browse the repository at this point in the history
Add supported runtimes doc page
  • Loading branch information
aguibert authored Nov 11, 2019
2 parents 9c2bd80 + 22908f0 commit e122fde
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 1 deletion.
82 changes: 82 additions & 0 deletions docs/features/01_SupportedRuntimes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
layout: post
title: "Supported Runtimes"
---

## [Open Liberty](https://openliberty.io/)

Maven Dependency:

```xml
<dependency>
<groupId>org.microshed</groupId>
<artifactId>microshed-testing-liberty</artifactId>
<version>0.4.2</version>
</dependency>
```

Example Dockerfile:

```
FROM open-liberty:microProfile3
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/dropins
```

## [Payara Micro](https://www.payara.fish/software/payara-server/payara-micro/)

Maven Dependency:

```xml
<dependency>
<groupId>org.microshed</groupId>
<artifactId>microshed-testing-payara-micro</artifactId>
<version>0.4.2</version>
</dependency>
```

Example Dockerfile:

```
FROM payara/micro:5.193
CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
ADD build/libs/myservice.war /opt/payara/deployments
```

## [Payara Server](https://www.payara.fish/software/payara-server/)

Maven Dependency:

```xml
<dependency>
<groupId>org.microshed</groupId>
<artifactId>microshed-testing-payara-server</artifactId>
<version>0.4.2</version>
</dependency>
```

Example Dockerfile:

```
FROM payara/server-full:5.193
ADD target/myservice.war /opt/payara/deployments
```

## [Wildfly](https://wildfly.org/)

Generic Maven Dependency:

```xml
<dependency>
<groupId>org.microshed</groupId>
<artifactId>microshed-testing-testcontainers</artifactId>
<version>0.4.2</version>
</dependency>
```

Example Dockerfile:

```
FROM jboss/wildfly
ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/
```
File renamed without changes.
File renamed without changes.
10 changes: 9 additions & 1 deletion docs/features/99_Examples.md → docs/features/98_Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ layout: post
title: "Examples"
---

Sometimes code is worth a thousand words. Here are some pointers to working examples that demonstrate various facets of MicroShed Testing.
Sometimes code is worth a thousand words. Here are some pointers to working examples that demonstrate various features of MicroShed Testing.

## General Examples

- [Basic JAX-RS application using Gradle](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-json)
- [Basic JAX-RS application using Maven](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/maven-app)
- [JAX-RS and JDBC applicaiton using a PostgreSQL database](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jdbc-app)
- [JAX-RS application secured with MP JWT](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-mpjwt)
- [JAX-RS and MongoDB application that depends on an external REST service](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/everything-app)
- [Application with no Dockerfile using OpenLiberty adapter](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)

## Runtime examples:

- [Testing an application with OpenLiberty](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)
- [Testing an application with Payara Micro](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/payara-app)
- [Testing an application with Wildfly](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/wildfly-app)
7 changes: 7 additions & 0 deletions docs/features/99_Resources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: post
title: "External Resources"
---

- [MicroShed Testing guide on openliberty.io](https://openliberty.io/guides/microshed-testing.html)
- [Testcontainers documentation](https://www.testcontainers.org/)

0 comments on commit e122fde

Please sign in to comment.