This commit is contained in:
lucio 2023-04-04 09:30:29 +02:00
parent 1d3d333827
commit 2384b66f2a
4 changed files with 12 additions and 7 deletions

View File

@ -24,7 +24,7 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>

View File

@ -1,8 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=11
org.eclipse.jdt.core.compiler.source=1.8

View File

@ -15,6 +15,11 @@
<version>1.0.0-SNAPSHOT</version>
<name>gCube Health API</name>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
<dependencyManagement>
<dependencies>
<dependency>

View File

@ -16,13 +16,13 @@ public class HealthCheckResponse {
protected HealthCheckResponse() {}
//enum ErrorType {UNRECOVERABLE, RECOVERABLE}
@NotNull @NotEmpty
protected String name;
@NotNull
protected Status status;
@NotNull @NotEmpty
protected String name;
//protected ErrorType errorType;
protected String errorMessage;