Skip to content

Commit

Permalink
Update devfiles based on odo-devfiles/registry
Browse files Browse the repository at this point in the history
Signed-off-by: John Collier <jcollier@redhat.com>
  • Loading branch information
johnmcollier committed Mar 23, 2021
1 parent b11de48 commit c44bfe2
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 11 deletions.
15 changes: 8 additions & 7 deletions stacks/java-quarkus/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ metadata:
projectType: "quarkus"
language: "java"
starterProjects:
- name: quarkus-ex
git:
remotes:
origin: https://github.com/odo-devfiles/quarkus-ex
- name: community
zip:
location: https://code.quarkus.io/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-micrometer&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift&cn=devfile
- name: redhat-product
zip:
location: https://code.quarkus.redhat.com/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift
components:
- name: tools
container:
Expand All @@ -37,7 +39,7 @@ commands:
- id: dev-run
exec:
component: tools
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev"
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
hotReloadCapable: true
group:
kind: run
Expand All @@ -46,13 +48,12 @@ commands:
- id: dev-debug
exec:
component: tools
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Ddebug=${DEBUG_PORT}"
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}"
hotReloadCapable: true
group:
kind: debug
isDefault: true
workingDir: $PROJECTS_ROOT

events:
postStart:
- init-compile
80 changes: 76 additions & 4 deletions stacks/java-vertx/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,82 @@ metadata:
projectType: "vertx"
language: "java"
starterProjects:
- name: vertx-ex
- name: vertx-http-example
git:
remotes:
origin: https://github.com/jponge/vertx-ex
origin: https://github.com/openshift-vertx-examples/vertx-http-example
- name: vertx-istio-circuit-breaker-booster
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-istio-circuit-breaker-booster
- name: vertx-istio-routing-booster
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-istio-routing-booster
- name: vertx-secured-http-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-secured-http-example-redhat
- name: vertx-crud-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-crud-example-redhat
- name: vertx-istio-security-booster
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-istio-security-booster
- name: vertx-crud-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-crud-example
- name: vertx-circuit-breaker-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-circuit-breaker-example
- name: vertx-configmap-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-configmap-example
- name: vertx-circuit-breaker-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-circuit-breaker-example-redhat
- name: vertx-cache-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-cache-example-redhat
- name: vertx-cache-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-cache-example
- name: vertx-secured-http-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-secured-http-example
- name: vertx-health-checks-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-health-checks-example-redhat
- name: vertx-http-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-http-example-redhat
- name: vertx-health-checks-example
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-health-checks-example
- name: vertx-configmap-example-redhat
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-configmap-example-redhat
- name: vertx-messaging-work-queue-booster
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-messaging-work-queue-booster
- name: vertx-istio-distributed-tracing-booster
git:
remotes:
origin: https://github.com/openshift-vertx-examples/vertx-istio-distributed-tracing-booster
components:
- name: runtime
container:
Expand Down Expand Up @@ -40,14 +112,14 @@ commands:
kind: build
- id: run
exec:
commandLine: java -jar target/*-all.jar
commandLine: mvn io.reactiverse:vertx-maven-plugin:run
component: runtime
group:
isDefault: true
kind: run
- id: debug
exec:
commandLine: java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=${DEBUG_PORT},suspend=n -jar target/*-all.jar
commandLine: mvn io.reactiverse:vertx-maven-plugin:debug -Ddebug.port=${DEBUG_PORT}
component: runtime
group:
isDefault: true
Expand Down

0 comments on commit c44bfe2

Please sign in to comment.