package core
- Grouped
- Alphabetic
- Public
- All
Type Members
-
trait
ActorService extends ServiceActor with ServiceBindings
This is an EDSL rapid development of audited, operations-focused services with predicable interfaces.
This is an EDSL rapid development of audited, operations-focused services with predicable interfaces.
A new service should extend the ServiceFragment subclass. There is currently no public API for extending the ActorService instances on a node.
-
trait
ActorSpawner extends AnyRef
Minimally necessary interface for spawning actors.
- trait BindingsInstanceEnv extends AnyRef
-
trait
ImpliedStatus[T] extends AnyRef
Response types are all required to have a function from a value of that type to the HTTP response code.
Response types are all required to have a function from a value of that type to the HTTP response code. This is the
ImpliedStatus
property of the response type.A default is provided in
ImpliedStatusDefaults
. This maps all values to 200 OK. - trait ImpliedStatusDefaults extends AnyRef
-
abstract
class
ReservedService extends ActorService
Reserved services provide the top level routes for the deployment.
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.AppNode to form the deployment's routes. Included in this is the ServiceFragmentRouter which dynamically manages the routes for ServiceFragments.
-
trait
ServiceActor extends prelude.external.DirectLogging
This is a low level component.
This is a low level component. See ServiceFragment for the high level interface.
ServiceActor is an actor supporting a service interface: Separate Command and Query request interfaces. These are Proto types. Where Proto is the type of actor protocol. Requests imply an expected reply and requester (ServiceActor.RequestScope).
A ServiceActor can contain types in Proto that are not explicitly a Command or Query. These are referred to as Events.
To declare a new service actor, define a scala
object
that inherits from this trait with a protocol type Proto that extends serdes.Message. EG:import glngn._ import glngn.prelude._ object SuitTailoringOrders extends ServiceActor { sealed trait Proto extends Message }
-
trait
ServiceDaemon[P] extends AnyRef
A
ServiceDaemon
is a typed akka actor run concurrently with a ServiceFragment.A
ServiceDaemon
is a typed akka actor run concurrently with a ServiceFragment. There is little restriction on the structure of aServiceDaemon
:- the
Proto
type must by a subtype of glngn.server.core.serdes.Message.
See glngn.server.core.bindings.ServiceBindings.Bindings for the API to instantiate a daemon. See ServiceFragment for high level information on using this API.
- the
- sealed trait ServiceDomain extends AnyRef
- case class ServiceInstanceEnv(spawner: ActorSpawner, injector: ImpureInjector, domainId: EntityId) extends BindingsInstanceEnv with Product with Serializable
Value Members
-
object
ActorSpawner
Minimally necessary interface for spawning actors.
- object ImpliedStatus extends ImpliedStatusDefaults
- object ServiceActor
- object ServiceDomain
glngn server is a low-code business process as a service rapid development system. Conceptually similar to a programmable Microsoft Access or Apple FileMaker for scalable 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 of glngn.server.node.AppNodes 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.