Skip to content

Commit e122fde

Browse files
authored
Merge pull request #103 from aguibert/docs-runtimes
Add supported runtimes doc page
2 parents 9c2bd80 + 22908f0 commit e122fde

6 files changed

Lines changed: 98 additions & 1 deletion

File tree

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
layout: post
3+
title: "Supported Runtimes"
4+
---
5+
6+
## [Open Liberty](https://openliberty.io/)
7+
8+
Maven Dependency:
9+
10+
```xml
11+
<dependency>
12+
<groupId>org.microshed</groupId>
13+
<artifactId>microshed-testing-liberty</artifactId>
14+
<version>0.4.2</version>
15+
</dependency>
16+
```
17+
18+
Example Dockerfile:
19+
20+
```
21+
FROM open-liberty:microProfile3
22+
COPY src/main/liberty/config /config/
23+
ADD build/libs/myservice.war /config/dropins
24+
```
25+
26+
## [Payara Micro](https://www.payara.fish/software/payara-server/payara-micro/)
27+
28+
Maven Dependency:
29+
30+
```xml
31+
<dependency>
32+
<groupId>org.microshed</groupId>
33+
<artifactId>microshed-testing-payara-micro</artifactId>
34+
<version>0.4.2</version>
35+
</dependency>
36+
```
37+
38+
Example Dockerfile:
39+
40+
```
41+
FROM payara/micro:5.193
42+
CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
43+
ADD build/libs/myservice.war /opt/payara/deployments
44+
```
45+
46+
## [Payara Server](https://www.payara.fish/software/payara-server/)
47+
48+
Maven Dependency:
49+
50+
```xml
51+
<dependency>
52+
<groupId>org.microshed</groupId>
53+
<artifactId>microshed-testing-payara-server</artifactId>
54+
<version>0.4.2</version>
55+
</dependency>
56+
```
57+
58+
Example Dockerfile:
59+
60+
```
61+
FROM payara/server-full:5.193
62+
ADD target/myservice.war /opt/payara/deployments
63+
```
64+
65+
## [Wildfly](https://wildfly.org/)
66+
67+
Generic Maven Dependency:
68+
69+
```xml
70+
<dependency>
71+
<groupId>org.microshed</groupId>
72+
<artifactId>microshed-testing-testcontainers</artifactId>
73+
<version>0.4.2</version>
74+
</dependency>
75+
```
76+
77+
Example Dockerfile:
78+
79+
```
80+
FROM jboss/wildfly
81+
ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/
82+
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ layout: post
33
title: "Examples"
44
---
55

6-
Sometimes code is worth a thousand words. Here are some pointers to working examples that demonstrate various facets of MicroShed Testing.
6+
Sometimes code is worth a thousand words. Here are some pointers to working examples that demonstrate various features of MicroShed Testing.
7+
8+
## General Examples
79

810
- [Basic JAX-RS application using Gradle](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-json)
911
- [Basic JAX-RS application using Maven](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/maven-app)
1012
- [JAX-RS and JDBC applicaiton using a PostgreSQL database](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jdbc-app)
1113
- [JAX-RS application secured with MP JWT](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-mpjwt)
1214
- [JAX-RS and MongoDB application that depends on an external REST service](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/everything-app)
1315
- [Application with no Dockerfile using OpenLiberty adapter](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)
16+
17+
## Runtime examples:
18+
19+
- [Testing an application with OpenLiberty](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)
20+
- [Testing an application with Payara Micro](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/payara-app)
21+
- [Testing an application with Wildfly](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/wildfly-app)

docs/features/99_Resources.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: post
3+
title: "External Resources"
4+
---
5+
6+
- [MicroShed Testing guide on openliberty.io](https://openliberty.io/guides/microshed-testing.html)
7+
- [Testcontainers documentation](https://www.testcontainers.org/)

0 commit comments

Comments
 (0)