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

Commit

Permalink
java-openliberty: define APPSODY_DEBUG_PORT (#818)
Browse files Browse the repository at this point in the history
* java-openliberty: define APPSODY_DEBUG_PORT

* Added task and launch json files

* Readd to gitignore

* Add new lines

* Bump version
  • Loading branch information
Kamran64 authored Jun 4, 2020
1 parent 7417563 commit 1b105b4
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 1 deletion.
1 change: 1 addition & 0 deletions incubator/java-openliberty/image/Dockerfile-stack
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ENV APPSODY_DEBUG="/project/run-stack.sh debug"
ENV APPSODY_TEST="/project/run-stack.sh test"

ENV PORT=9080
ENV APPSODY_DEBUG_PORT=7777

EXPOSE 9080
EXPOSE 9443
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.13
version: 0.2.14
description: Eclipse MicroProfile & Jakarta EE on Open Liberty & OpenJ9 using Maven
license: Apache-2.0
language: java
Expand Down
12 changes: 12 additions & 0 deletions incubator/java-openliberty/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": 7777
}
]
}
47 changes: 47 additions & 0 deletions incubator/java-openliberty/templates/default/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Appsody: run",
"type": "shell",
"command": "appsody run",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: debug",
"type": "shell",
"command": "appsody debug",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: test",
"type": "shell",
"command": "appsody test",
"group": "test",
"problemMatcher": []
},
{
"label": "Appsody: build",
"type": "shell",
"command": "appsody build",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: deploy",
"type": "shell",
"command": "appsody deploy",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: stop",
"type": "shell",
"command": "appsody stop",
"group": "build",
"problemMatcher": []
}
]
}
12 changes: 12 additions & 0 deletions incubator/java-openliberty/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": 7777
}
]
}
47 changes: 47 additions & 0 deletions incubator/java-openliberty/templates/kafka/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Appsody: run",
"type": "shell",
"command": "appsody run",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: debug",
"type": "shell",
"command": "appsody debug",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: test",
"type": "shell",
"command": "appsody test",
"group": "test",
"problemMatcher": []
},
{
"label": "Appsody: build",
"type": "shell",
"command": "appsody build",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: deploy",
"type": "shell",
"command": "appsody deploy",
"group": "build",
"problemMatcher": []
},
{
"label": "Appsody: stop",
"type": "shell",
"command": "appsody stop",
"group": "build",
"problemMatcher": []
}
]
}

0 comments on commit 1b105b4

Please sign in to comment.