abstract class ReservedService extends ActorService
Reserved services provide the top level routes for the deployment. As these occupy the same namespace as groups, conflicts are resolved with reserved services always taking precedence.
The routes provided by all the reserved services are concatenated by glngn.server.Node to form the deployment's routes. A request unmatched by a reserved service's route will be matched against later reserved services' routes.
- Grouped
- Alphabetic
- By Inheritance
- ReservedService
- ActorService
- ServiceActorBindings
- ServiceActor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ReservedService(id: ReservedId)
Type Members
-
trait
ServiceInstance extends BindingsInstance
- Definition Classes
- ActorService
-
type
Bindings[A] = Free[BindingsOp, A]
Type of bindings declaration.
Type of bindings declaration.
- Definition Classes
- ServiceActorBindings
-
type
DelegateMapping = PartialFunction[Proto, prelude.ActorRef[Envelope]]
- Definition Classes
- ServiceActorBindings
-
type
EntityMapping[Entity_Id, Entity_Request] = PartialFunction[Proto, (Entity_Id, Entity_Request)]
- Definition Classes
- ServiceActorBindings
-
abstract
type
Instance <: ServiceInstance
- Definition Classes
- ActorService → ServiceActorBindings
- case class InstanceEnv(spawner: ActorSpawner, injector: prelude.Injector) extends BindingsInstanceEnv with Product with Serializable
-
abstract
type
Proto <: Message
The commands, queries and events all implement Proto.
The commands, queries and events all implement Proto. Easy inferrence of operations schema and endpoint schema assumes the use of a sealed trait.
- Definition Classes
- ServiceActor
a typical definition
sealed trait Proto extends Message
Example: -
sealed
trait
Attributes extends AnyRef
- Definition Classes
- ServiceActor
-
abstract
class
Command[Response] extends Request[Response] with proto.ProtoDecl.Command with proto.ProtoDecl.Request
Abstract class of all Commands.
Abstract class of all Commands. All commands are requests.
- Definition Classes
- ServiceActor
-
trait
CompleteWithCommandMagnet extends CompleteWithRequestMagnet
- Definition Classes
- ServiceActor
-
trait
CompleteWithQueryMagnet extends CompleteWithRequestMagnet
- Definition Classes
- ServiceActor
-
trait
CompleteWithRequestMagnet extends DelegateResponseMagnet
- Definition Classes
- ServiceActor
-
sealed
trait
Envelope extends Message
A Proto statement with inferred attributes and claims.
A Proto statement with inferred attributes and claims.
- Definition Classes
- ServiceActor
-
abstract
class
Query[Response] extends Request[Response] with proto.ProtoDecl.Query with proto.ProtoDecl.Request
Abstract class of all Queries.
Abstract class of all Queries. All queries are requests.
- Definition Classes
- ServiceActor
-
sealed abstract
class
Request[R] extends AnyRef
A Request must be sealed to use.
A Request must be sealed to use. This is necessary to finalize additional attributes; Such as requester.
TODO: #106 extends on the attributes included in sealed.
- Definition Classes
- ServiceActor
-
sealed
trait
RequestAttrs[Response] extends AnyRef
Request attributes evidenced by a set of attributes.
Request attributes evidenced by a set of attributes.
- Definition Classes
- ServiceActor
-
trait
BindingsInstance extends prelude.Injector
- Definition Classes
- ServiceActorBindings
-
sealed
trait
BindingsOp[A] extends AnyRef
- Definition Classes
- ServiceActorBindings
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: ReservedId
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: prelude.Logger
- Attributes
- protected
- Definition Classes
- ServiceActor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
CompleteWithCommandMagnet
- Definition Classes
- ServiceActor
-
object
CompleteWithQueryMagnet
- Definition Classes
- ServiceActor
-
object
Effect
Forwards akka.persistence.typed.scaladsl.Effect with additional type constraints.
Forwards akka.persistence.typed.scaladsl.Effect with additional type constraints.
- Definition Classes
- ServiceActor
-
object
Envelope
- Definition Classes
- ServiceActor
-
object
Event
Any statement in the protocol can be considered an Event not associated with any additional attributes (eg: requester).
Any statement in the protocol can be considered an Event not associated with any additional attributes (eg: requester).
- Definition Classes
- ServiceActor
-
object
PersistentEntity
Re-export of akka.cluster.sharding.typed.scaladsl.EventSourcedEntity with types constrained to this service actor's protocol.
Re-export of akka.cluster.sharding.typed.scaladsl.EventSourcedEntity with types constrained to this service actor's protocol.
- Definition Classes
- ServiceActor
-
object
Request
- Definition Classes
- ServiceActor
-
object
StartPassivateEnvelope extends Envelope with Product with Serializable
- Definition Classes
- ServiceActor
-
object
StopEnvelope extends Envelope with Product with Serializable
- Definition Classes
- ServiceActor
-
object
Bindings
- Definition Classes
- ServiceActorBindings
glngn server is a business process as a service rapid development system. Conceptually similar to Microsoft Access or Apple FileMaker (but scalable) for event sourced business services. In addition to a library, a standalone application is provided that is useful with minimal ceremony. This can be customized with a simple API. As well as deployed to a kubernetes cluster should those advantages be required.
A deployment is cluster glngn.server.Nodes serving a dynamic composition of glngn.server.ServiceFragments. Deployments are designed to be fully usable as a standalone local application or a kubernetes service.
Contact support@dogheadbone.com for support and licensing.