Skip to content

Commit 87d0fe3

Browse files
authored
Merge pull request #6 from stalleyj/lagom
Fix the microprofile template and update README
2 parents 24ec540 + d3d1ca0 commit 87d0fe3

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# codewind-templates
2-
Central repository for storing list of supported code templates for you use in codewind
2+
Central repository for storing list of supported code templates for use in codewind
33

44
# /devfiles/index.json
5-
This file is generated by the build.sh and then running the docker image as created by the build step. DO NOT manually edit this file
5+
This file is generated and MUST NOT be manually edited.
6+
7+
1. Run [build.sh](https://github.com/microclimate-dev2ops/codewind-templates/blob/master/build.sh) to build the dockerfile.
8+
2. Run the dockerfile mounting a local directory
9+
```sh
10+
docker run -v /myDirectory/codewind-templates/devfiles:/build/devfiles/ microclimate-dev2ops/codewind-templates

devfiles/index.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,12 @@
4747
"location":"https://github.com/microclimate-dev2ops/microclimateGoTemplate",
4848
"links": {"self":"/devfiles/goTemplate/devfile.yaml" }
4949
}
50+
,{
51+
"displayName":"Java Lagom template",
52+
"description":"Template for building Lagom Reactive microservice in Java",
53+
"language":"java",
54+
"projectType":"docker",
55+
"location":"https://github.com/microclimate-dev2ops/lagomJavaTemplate",
56+
"links": {"self":"/devfiles/lagomJavaTemplate/devfile.yaml" }
57+
}
5058
]

devfiles/javaMicroProfileTemplate/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ description: Cloud Microservice Starter for Java - MicroProfile / Java EE
33
tags: ["Java", "Maven",]
44
globalMemoryLimit: 2674Mi
55
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
6-
projectType: "java"
6+
projectType: "liberty"
77
language: "java"

0 commit comments

Comments
 (0)