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

Commit

Permalink
Quarkus: Add launch.json to templates and add APPSODY_DEBUG_PORT env …
Browse files Browse the repository at this point in the history
…vars (#824)

Co-authored-by: Sandy Koh <[email protected]>
  • Loading branch information
Kamran64 and skoh7645 authored Jun 5, 2020
1 parent 1b105b4 commit 716a5cb
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
4 changes: 0 additions & 4 deletions incubator/quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ Running the production container should give you an output similar to:

You can verify that this worked by visiting http://0.0.0.0:8080/ and observing the welcome page. You can also visit http://0.0.0.0:8080/hello/greeting/paul to try the REST API.

## Known Issue:

- Currently there is no configuration or documentation on `appsody debug`.

## License

This stack is licensed under the [Apache 2.0](./image/LICENSE) license
1 change: 1 addition & 0 deletions incubator/quarkus/image/Dockerfile-stack
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV APPSODY_TEST_KILL=true
WORKDIR /project/user-app

ENV PORT=8080
ENV APPSODY_DEBUG_PORT=5005

EXPOSE 8080
EXPOSE 5005
2 changes: 1 addition & 1 deletion incubator/quarkus/image/project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>dev.appsody</groupId>
<artifactId>quarkus</artifactId>
<version>0.3.6</version>
<version>0.3.7</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion incubator/quarkus/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Quarkus
version: 0.3.6
version: 0.3.7
description: Quarkus runtime for running Java applications
license: Apache-2.0
language: java
Expand Down
12 changes: 12 additions & 0 deletions incubator/quarkus/templates/default/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Appsody: Attach java debugger",
"type": "java",
"request": "attach",
"hostName": "localhost",
"port": 5005
}
]
}
12 changes: 12 additions & 0 deletions incubator/quarkus/templates/kafka/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Appsody: Attach java debugger",
"type": "java",
"request": "attach",
"hostName": "localhost",
"port": 5005
}
]
}

0 comments on commit 716a5cb

Please sign in to comment.