From 958e03dd0039e8f306337e9128aaf6eea5ca504b Mon Sep 17 00:00:00 2001 From: Tibor Dancs Date: Fri, 26 Jul 2019 16:42:43 +0200 Subject: [PATCH] Fixed Java MySQL devfile allowing it to be run on Hosted Che (che.openshift.io) Signed-off-by: Tibor Dancs --- devfiles/java-mysql/devfile.yaml | 3 ++- devfiles/java-mysql/meta.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/devfiles/java-mysql/devfile.yaml b/devfiles/java-mysql/devfile.yaml index c086d0bad..2e24cb5bb 100644 --- a/devfiles/java-mysql/devfile.yaml +++ b/devfiles/java-mysql/devfile.yaml @@ -12,6 +12,7 @@ components: - type: chePlugin id: redhat/java/latest + memoryLimit: 1280MiB - type: dockerimage alias: tools @@ -45,7 +46,7 @@ components: value: petclinic - name: PS1 value: $(echo ${0})\\$ - memoryLimit: 256Mi + memoryLimit: 300Mi endpoints: - name: 'db' port: 3306 diff --git a/devfiles/java-mysql/meta.yaml b/devfiles/java-mysql/meta.yaml index 285520748..57062cde6 100644 --- a/devfiles/java-mysql/meta.yaml +++ b/devfiles/java-mysql/meta.yaml @@ -3,4 +3,4 @@ displayName: Java with Spring Boot and MySQL description: Java stack with OpenJDK 8, MySQL and Spring Boot Petclinic demo application tags: ["Java", "OpenJDK", "Maven", "Spring Boot", "MySQL"] icon: https://www.eclipse.org/che/images/logo-eclipseche.svg -globalMemoryLimit: 2930Mi +globalMemoryLimit: 3Gi