aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/formats
diff options
context:
space:
mode:
authorKseniya Tomskikh <ktomskih@datamonsters.co>2017-11-28 15:07:12 +0700
committerKseniya Tomskikh <ktomskih@datamonsters.co>2017-11-28 15:07:12 +0700
commit6f82d4450ad9657a59059d4810203d2f0ba28eeb (patch)
tree2d37d8d005dbc4077c98d1a9120e9ced8d1ee40a /src/main/scala/xyz/driver/pdsuidomain/formats
parent357ed83683bf49c952c4de60d8a671089150e23c (diff)
downloadrest-query-6f82d4450ad9657a59059d4810203d2f0ba28eeb.tar.gz
rest-query-6f82d4450ad9657a59059d4810203d2f0ba28eeb.tar.bz2
rest-query-6f82d4450ad9657a59059d4810203d2f0ba28eeb.zip
TRIAL-149 Added more states for trial history
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/formats/json/trialhistory.scala9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/trialhistory.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/trialhistory.scala
index c8df1d8..f6c5eea 100644
--- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/trialhistory.scala
+++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/trialhistory.scala
@@ -10,10 +10,11 @@ object trialhistory {
import common._
implicit val trialStateFormat = new EnumJsonFormat[State](
- "Summarize" -> State.Summarize,
- "Criteriarize" -> State.Criteriarize,
- "Review" -> State.Review,
- "Flag" -> State.Flag
+ "Summarize" -> State.Summarize,
+ "Criteriarize" -> State.Criteriarize,
+ "ReviewSummary" -> State.ReviewSummary,
+ "ReviewCriteria" -> State.ReviewCriteria,
+ "Flag" -> State.Flag
)
implicit val trialActionFormat = new EnumJsonFormat[Action](