From edd6a7120cc4ff49544f220a68eb0ceb76f77ac4 Mon Sep 17 00:00:00 2001 From: danoswaltCL <97542869+danoswaltCL@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:38:25 -0400 Subject: [PATCH] bugfix: send status as string (#1018) --- clientlibs/java/pom.xml | 4 ++-- .../requestbeans/MarkExperimentRequest.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clientlibs/java/pom.xml b/clientlibs/java/pom.xml index 0c18c6d762..82bdb2e9f8 100644 --- a/clientlibs/java/pom.xml +++ b/clientlibs/java/pom.xml @@ -8,8 +8,8 @@ changed in the next comment. that increases the likelihood that two PRs in-flight at the same time that happen to rev to the same new version will be caught by a merge conflict. --> - - 3.1.3 + + 3.1.4 diff --git a/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java b/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java index 85f6971c57..aa989503ad 100644 --- a/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java +++ b/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java @@ -9,7 +9,7 @@ public class MarkExperimentRequest { private String site; private String target; private String condition; - private MarkedDecisionPointStatus status; + private String status; public MarkExperimentRequest() {} @@ -27,7 +27,7 @@ public MarkExperimentRequest(String userId, String site, String target, String c this.site = site; this.target = target; this.condition = condition; - this.status = status; + this.status = status.toString(); } public String getUserId() { @@ -62,11 +62,11 @@ public void setCondition(String condition) { this.condition = condition; } - public MarkedDecisionPointStatus getStatus() { + public String getStatus() { return status; } public void setStatus(MarkedDecisionPointStatus status){ - this.status = status; + this.status = status.toString(); } } \ No newline at end of file