p

lagompb

package lagompb

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. lagompb
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package core
  2. package extensions
  3. package options
  4. package testkit
  5. package tests
  6. package util

Type Members

  1. implicit class Instants extends AnyRef
  2. final class InternalServerError extends TransportException

    It used to return an HTTP 500 response

  3. abstract class LagompbAggregate[TState <: GeneratedMessage] extends AnyRef

    LagompbAggregate abstract class encapsulate all the necessary setup required to create an aggregate in the lagom ecosystem.

    LagompbAggregate abstract class encapsulate all the necessary setup required to create an aggregate in the lagom ecosystem. There are three main components an aggregate requires to be functional: a commands handler, an events handler and a state.

    TState

    the scala type of the aggregate state

  4. abstract class LagompbApplication extends LagomApplication with JdbcPersistenceComponents with SlickPersistenceComponents with HikariCPComponents with LagomKafkaComponents with AhcWSComponents with CORSComponents with AllowedHostsComponents with CSRFComponents with SecurityHeadersComponents
  5. final case class LagompbCommand(command: GeneratedMessage, replyTo: ActorRef[CommandReply], data: Map[String, String]) extends Product with Serializable

    Defines the type of command to handle by the aggregate.

    Defines the type of command to handle by the aggregate. LagomPbCommand is a wrapper around the actual command sent to aggregate.

    command

    the actual command. This is a protocol buffer message

    replyTo

    the actor reference of the sender of the command.

    data

    additional data that will be added to the state. This may be deprecated when the plugin archiectture is in placed The CommandReply message type will be sent back that actor reference

  6. abstract class LagompbCommandHandler[TState <: GeneratedMessage] extends AnyRef

    LagompbCommandHandler

    LagompbCommandHandler

    TState

    the aggregate state type

  7. sealed class LagompbCommandSerde extends SerializerWithStringManifest

    LagomPbCommandSerializer It is used internally by lagom-common to serialize commands and replies

  8. trait LagompbEvent extends AggregateEvent[LagompbEvent] with GeneratedMessage

    LagomPbEvent used by lagom to tag events in the cluster

  9. abstract class LagompbEventHandler[TState <: GeneratedMessage] extends AnyRef

    LagomPbEventHandler

    LagomPbEventHandler

    TState

    the aggregate state type

  10. final class LagompbException extends RuntimeException

    BaseException custom RuntimeException.

    BaseException custom RuntimeException. This is used for general exception

  11. trait LagompbGrpcServiceImpl extends LagompbServiceImplComponent

    LagompbGrpcServiceImpl

  12. final class LagompbInvalidCommandException extends RuntimeException

    InvalidCommandException.

    InvalidCommandException. This will be used to handle invalid command exception.

  13. class LagompbKafkaSerde extends StrictMessageSerializer[KafkaEvent]
  14. sealed abstract class LagompbRestServiceImpl extends LagompbServiceImplComponent

    LagompbRestServiceImpl for the REST api implementation

  15. trait LagompbService extends Service with LagompbProtosJson

    Must be implemented by any lagom api without message broker integration

  16. abstract class LagompbServiceImpl extends LagompbRestServiceImpl with LagompbService

    LagompbServiceImpl abstract class.

    LagompbServiceImpl abstract class.

    It must be implemented by any lagom REST based service

  17. sealed trait LagompbServiceImplComponent extends AnyRef
  18. abstract class LagompbServiceImplWithKafka extends LagompbRestServiceImpl with LagompbServiceWithKafka

    LagompbServiceImplWithKafka trait.

    LagompbServiceImplWithKafka trait.

    It must be implemented by any lagom REST service with message broker features. Automatically the domain events are wrapped in a ServiceEvent and push to a kafka topic created automatically when not yet created.

  19. trait LagompbServiceWithKafka extends Service with LagompbProtosJson

    Must be implemented by any lagom api with kafka as message broker

  20. final case class LagompbState[TState](state: TState, metaData: MetaData) extends Product with Serializable

    LagompbState wraps the actual aggregate state with some meta data about the state

    LagompbState wraps the actual aggregate state with some meta data about the state

    state

    the aggregate state

    metaData

    the state meta

  21. implicit class Timestamps extends AnyRef

Value Members

  1. object InternalServerError extends Serializable
  2. object LagompbEvent extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped