Fix java serialization

This commit is contained in:
Pavel Kachalouski
2020-03-11 22:45:20 +01:00
parent 90cce667e6
commit d960d6e6f2
4 changed files with 10 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ akka {
plugin = "cassandra-journal"
}
}
actor.allow-java-serialization = on
}
cassandra-journal {

View File

@@ -106,9 +106,13 @@ object CzechPostDeliveryCheck {
private case class ParcelHistoryRetrieved(parcelHistory: Entities.ParcelHistory) extends Command
case class DeliveryStateChanged(state: String)
@SerialVersionUID(1L)
case class ParcelAdded(parcelId: String, comment: String) extends Event
@SerialVersionUID(1L)
case class ParcelRemoved(parcelId: String) extends Event
@SerialVersionUID(1L)
case class ParcelHistoryStateAdded(parcelId: String, state: Entities.State) extends Event
@SerialVersionUID(1L)
case class ParcelAttributesChanged(parcelId: String, attributes: Entities.Attributes) extends Event
private val trustfulSslContext: SSLContext = {