Skip to content

Commit

Permalink
Add todo-backendwar example
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdenise committed Mar 20, 2024
1 parent 6fa3e2b commit 8f5fb39
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<outputDirectory>examples</outputDirectory>
<includes>
<include>kitchensink.war</include>
<include>todo-backend.war</include>
</includes>
</fileSet>
<fileSet>
Expand Down
19 changes: 18 additions & 1 deletion dist/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,21 @@ This war comes from the WildFly https://github.com/wildfly/quickstart/tree/30.0.

=== To provision a WildFly server for the cloud and produce a Docker image:

`./wildfly-glow scan ./examples/kitchensink.war --provision=DOCKER_IMAGE --cloud`
`./wildfly-glow scan ./examples/kitchensink.war --provision=DOCKER_IMAGE --cloud`

=== To provision a WildFly server for the cloud and directly deploy to OpenShift cluster:

You must first log into an OpenShift cluster.

`./wildfly-glow scan ./examples/kitchensink.war --provision=OPENSHIFT --cloud`

== ToDo backend example

This war comes from the WildFly https://github.com/wildfly/quickstart/tree/30.0.0.Final/todo-backend[todo-backend] quickstart.

=== To provision a WildFly server for the cloud and directly deploy to OpenShift cluster:

You must first log into an OpenShift cluster.
In this case, a `postgresql` database is started. The WildFly server automatically connects to it.

`./wildfly-glow scan ./examples/todo-backend.war --provision=OPENSHIFT --cloud --add-ons postgresql`
Binary file added examples/war/todo-backend.war
Binary file not shown.

0 comments on commit 8f5fb39

Please sign in to comment.