Skip to content

Commit

Permalink
update http4s to the latest 0.23.x versions (#921)
Browse files Browse the repository at this point in the history
* update http4s to the latest 0.23.x versions

* add some doc for realtime assignment
  • Loading branch information
lofoyet authored Mar 4, 2024
1 parent bd46e87 commit ef7b108
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ lazy val libs =
.addJVM(name = "log4cats", version = "2.3.2", org = org.typelevel.typeLevelOrg, "log4cats-slf4j", "log4cats-core")
.addJava(name ="log4j-core", version = "2.23.0", org = "org.apache.logging.log4j")
.addJava(name ="logback-classic", version = "1.5.1", org = "ch.qos.logback")
.addJVM(name = "http4s", version = "0.23.25", org = "org.http4s", modules = "http4s-dsl", "http4s-circe", "http4s-core")
.addJVM(name = "http4s", version = "0.23.13", org = "org.http4s", modules = "http4s-play-json")
.addJVM(name = "mau", version = "0.3.1", org = "com.kailuowang")
.addJVM(name = "newtype", version = "0.4.4", org = "io.estatico")
.add( name = "play-json", version = "2.10.4", org = "com.typesafe.play")
Expand Down
20 changes: 20 additions & 0 deletions core/src/main/scala/com/iheart/thomas/abtest/model/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,26 @@ package model {
start <= hashValue && hashValue <= end
}

/** @param name
* @param description
* @param overrides
* a map of user id to group name, used for overriding group assignment
* @param overrideEligibility
* if true, the test will ignore eligibility control and use the overrides
* directly
* @param lockedAt
* if set, the test is locked and cannot be changed
* @param developers
* a list of developers who can change the test
* @param operators
* a list of operators who can change the test
* @param assignmentTruthAt
* if set to Realtime, the bandits will query the latest assignment, if set to
* Message, the bandits will use the treatment-groups.$feature field from kafka message
* @param lastUpdated
* the last time the test was updated
*/

case class Feature(
name: FeatureName,
description: Option[String] = None,
Expand Down

0 comments on commit ef7b108

Please sign in to comment.