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

Commit 20e33ee

Browse files
scottkurzArtur Dzmitryieu
andauthored
java-openliberty: update OpenLiberty stack to use OpenLibertyApplication (#749)
Co-authored-by: Artur Dzmitryieu <dzmitry@ca.ibm.com>
1 parent 879561b commit 20e33ee

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

incubator/java-openliberty/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ This stack is based on OpenJDK with container-optimizations in OpenJ9 and `Open
88

99
**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.
1010

11+
12+
## Prerequisites
13+
14+
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.
15+
16+
Operator user guide can be viewed [here](https://github.com/OpenLiberty/open-liberty-operator/blob/master/doc/user-guide.md)
17+
18+
Aside from `OpenLibertyApplication` CRD used to deploy the application, Open Liberty Operator provides day-2 operations such as `OpenLibertyDump` and `OpenLibertyTrace`
19+
20+
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.
21+
22+
1123
## Templates
1224

1325
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.

incubator/java-openliberty/image/config/app-deploy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
apiVersion: appsody.dev/v1beta1
2-
kind: AppsodyApplication
1+
apiVersion: openliberty.io/v1beta1
2+
kind: OpenLibertyApplication
33
metadata:
44
name: APPSODY_PROJECT_NAME
55
spec:
66
# Add fields here
77
version: 1.0.0
88
applicationImage: APPSODY_DOCKER_IMAGE
9-
stack: APPSODY_STACK
109
service:
1110
type: NodePort
1211
port: APPSODY_PORT

incubator/java-openliberty/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Open Liberty
2-
version: 0.2.6
2+
version: 0.2.7
33
description: Open Liberty & OpenJ9 using Maven
44
license: Apache-2.0
55
language: java

0 commit comments

Comments
 (0)