Package

razie.diesel

engine

Permalink

package engine

Visibility
  1. Public
  2. All

Type Members

  1. case class DADepy(prereq: DomAst, depy: DomAst) extends Product with Serializable

    Permalink

    dependency between two nodes

  2. case class DADepyEv(prereq: String, depy: String, dtm: DateTime = DateTime.now) extends DEvent with Product with Serializable

    Permalink

    dependency event

  3. case class DEComplete(engineId: String, a: DomAst, recurse: Boolean, level: Int, results: List[DomAst]) extends DEMsg with Product with Serializable

    Permalink
  4. case class DEError(engineId: String, msg: String) extends DEMsg with Product with Serializable

    Permalink

    error handling

    error handling

    todo should not be part of normal processing DEMsg

  5. case class DELater(engineId: String, d: Int, next: DEMsg) extends DEMsg with Product with Serializable

    Permalink

    send the next message later

  6. trait DEMsg extends AnyRef

    Permalink

    base class for engine internal message

  7. case class DERep(engineId: String, a: DomAst, recurse: Boolean, level: Int, results: List[DomAst]) extends DEMsg with Product with Serializable

    Permalink

    a message - reply to decompose, basically asynchronous completion of a message

    a message - reply to decompose, basically asynchronous completion of a message

    The engine will stich the AST together and continue

    send this from async executors

  8. case class DEReq(engineId: String, a: DomAst, recurse: Boolean, level: Int) extends DEMsg with Product with Serializable

    Permalink

    a message - request to decompose

    a message - request to decompose

    The engine will decompose the given node a and send to self a DERep

  9. case class DEStartTimer(engineId: String, d: Int, results: List[DomAst]) extends DEMsg with Product with Serializable

    Permalink
  10. case class DETimer(engineId: String, results: List[DomAst]) extends DEMsg with Product with Serializable

    Permalink
  11. trait DEvent extends AnyRef

    Permalink

    DDD - base trait for events

  12. case class DEventExpNode(nodeId: String, children: List[DomAst], dtm: DateTime = DateTime.now) extends DEvent with CanHtml with Product with Serializable

    Permalink

    DDD - node expanded

  13. case class DEventNodeStatus(nodeId: String, status: String, dtm: DateTime = DateTime.now) extends DEvent with CanHtml with Product with Serializable

    Permalink

    DDD - node status

  14. class DieselAppContext extends AnyRef

    Permalink

    a diesel application context - setup actor infrastructure etc

    a diesel application context - setup actor infrastructure etc

    todo properly injecting these todo eventually supporting more contexts per JVM

  15. class DieselJs extends AnyRef

    Permalink

    wrapper for JS scripts - this is the object diesel

  16. case class DieselTrace(root: DomAst, node: String, engineId: String, app: String, details: String = "", parentNodeId: Option[String] = None) extends CanHtml with InfoNode with Product with Serializable

    Permalink

    a trace.

    a trace. traces can be communicated between engines. Also, this is what you get when setting the response type to trace

  17. case class DomAst(value: Any, kind: String = AstKinds.GENERATED, children: ListBuffer[DomAst] = new ListBuffer[DomAst](), id: String = new ObjectId().toString) extends CanHtml with Product with Serializable

    Permalink

    a tree node

    a tree node

    kind is spec/sampled/generated/test etc

    todo optimize tree structure, tree binding

    todo need ID conventions to suit distributed services

  18. trait DomAstInfo extends AnyRef

    Permalink

    mix this in if you want to control display/traversal

  19. class DomEngECtx extends SimpleECtx

    Permalink

    specific root context for an engine instance

    specific root context for an engine instance

    it can keep unique IDs and such, to help with tests ran continuously

  20. class DomEngine extends Logging

    Permalink

    the engine: one flow = one engine = one actor

  21. class DomEngineActor extends Actor with Stash

    Permalink

    exec context for engine - each engine has its own.

    exec context for engine - each engine has its own.

    it will serialize status udpates and execution

  22. class DomEngineRouter extends Actor

    Permalink

    engine router - routes updates to proper engine actor

    engine router - routes updates to proper engine actor

    todo can i drop refMap and address actors directly?

  23. case class DomEngineSettings(mockMode: Boolean = false, blenderMode: Boolean = true, draftMode: Boolean = true, sketchMode: Boolean = false, execMode: String = "sync", resultMode: String = "", parentNodeId: Option[String] = None, configTag: Option[String] = None, userId: Option[String] = None, postedContent: Option[EContent] = None, tagQuery: Option[String] = None, hostport: Option[String] = None, realm: Option[String] = None, env: Option[String] = None, collect: Option[Int] = None, simMode: Boolean = false) extends Product with Serializable

    Permalink

    various settings for each wf engine, see http://specs.dieselapps.com/Topic/Flags_and_modes

  24. class EContent extends AnyRef

    Permalink

    a REST request or response: content and type and processing thereof

  25. class InfoAccumulator extends AnyRef

    Permalink

    accumulate results and infos and errors

  26. trait InfoNode extends AnyRef

    Permalink

Value Members

  1. object AstKinds

    Permalink

    the kinds of nodes we understand

  2. object DEInit extends DEMsg with Product with Serializable

    Permalink

    initialize and stop the engine

  3. object DEStop extends DEMsg with Product with Serializable

    Permalink
  4. object DESuspend extends DEMsg with Product with Serializable

    Permalink

    suspend the engine for async messages - to continue you have to fire off a DERep yourself, later

  5. object DieselAppContext extends Logging

    Permalink

    an application static - engine factory, manager and cache

  6. object DomEngineSettings extends Serializable

    Permalink
  7. object DomEngineView

    Permalink

    a tree node

    a tree node

    kind is spec/sampled/generated/test etc

    todo optimize tree structure, tree binding

    todo need ID conventions to suit distributed services

  8. object DomState

    Permalink

    the states of a node

  9. object EContent

    Permalink

    content processing utils

  10. object RDExt extends Logging

    Permalink

    RDOM extensions

Ungrouped