Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions 7 .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"redhat.java"
]
}
12 changes: 12 additions & 0 deletions 12 .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach) - Remote",
"request": "attach",
"hostName": "localhost",
"port": 5005
}
]
}
20 changes: 12 additions & 8 deletions 20 devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ metadata:
language: "java"
provider: Red Hat
supportUrl: https://github.com/devfile-samples/devfile-support#support-information
starterProjects:
- name: springbootproject
git:
remotes:
origin: "https://github.com/odo-devfiles/springboot-ex.git"
components:
- name: outerloop-build
image:
Expand All @@ -30,11 +25,20 @@ components:
- name: tools
container:
image: quay.io/eclipse/che-java11-maven:7.36.0
memoryLimit: 768Mi
mountSources: true
memoryLimit: 1Gi
cpuLimit: 500m
env:
- name: DEBUG_PORT
value: '5005'
endpoints:
- name: '8080-tcp'
- name: 8080-tcp
exposure: public
protocol: http
targetPort: 8080
- name: debug
exposure: none
protocol: tcp
targetPort: 5005
volumeMounts:
- name: m2
path: /home/user/.m2
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.