Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
java-openliberty: update OpenLiberty stack to use OpenLibertyApplicat…
Browse files Browse the repository at this point in the history
…ion (#749)

Co-authored-by: Artur Dzmitryieu <dzmitry@ca.ibm.com>
  • Loading branch information
scottkurz and arturdzm authored Apr 9, 2020
1 parent 879561b commit 20e33ee
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
12 changes: 12 additions & 0 deletions incubator/java-openliberty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ This stack is based on OpenJDK with container-optimizations in OpenJ9 and `Open

**Note:** Maven is provided by the Appsody stack container, allowing you to build, test, and debug your Java application without installing Maven locally. However, we recommend installing Maven locally for the best IDE experience.


## Prerequisites

This stack requires the [Open Liberty Operator](https://github.com/OpenLiberty/open-liberty-operator) to be installed in the cluster prior to deploying the stack.

Operator user guide can be viewed [here](https://github.com/OpenLiberty/open-liberty-operator/blob/master/doc/user-guide.md)

Aside from `OpenLibertyApplication` CRD used to deploy the application, Open Liberty Operator provides day-2 operations such as `OpenLibertyDump` and `OpenLibertyTrace`

These additional [day-2 operations](https://github.com/OpenLiberty/open-liberty-operator/blob/master/doc/user-guide.md#day-2-operations) make it easier to collect debug data from the running Open Liberty pods in the Kubernetes cluster.


## Templates

Templates are used to create your local project and start your development. When initializing your project you will be provided with an Open Liberty template application.
Expand Down
5 changes: 2 additions & 3 deletions incubator/java-openliberty/image/config/app-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apiVersion: appsody.dev/v1beta1
kind: AppsodyApplication
apiVersion: openliberty.io/v1beta1
kind: OpenLibertyApplication
metadata:
name: APPSODY_PROJECT_NAME
spec:
# Add fields here
version: 1.0.0
applicationImage: APPSODY_DOCKER_IMAGE
stack: APPSODY_STACK
service:
type: NodePort
port: APPSODY_PORT
Expand Down
2 changes: 1 addition & 1 deletion incubator/java-openliberty/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Open Liberty
version: 0.2.6
version: 0.2.7
description: Open Liberty & OpenJ9 using Maven
license: Apache-2.0
language: java
Expand Down

0 comments on commit 20e33ee

Please sign in to comment.