SScenarioExtensions

orchescala.simulation.custom.SScenarioExtensions

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Classlikes

case class Execution(processInstanceId: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Execution

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Execution.type
case class ProcessInstance(id: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ProcessInstanceOrExecution(execution: Option[Execution], processInstance: Option[ProcessInstance])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Inherited methods

def checkOForCollection(overrides: Seq[TestOverride], result: Seq[CamundaVariable | Map[String, CamundaVariable]]): Boolean

Attributes

Inherited from:
ResultChecker
def checkProps(withOverrides: WithTestOverrides[_], result: Seq[CamundaProperty]): Boolean

Attributes

Inherited from:
ResultChecker
def config: SimulationConfig[RequestT[Empty, Either[String, String], Any]]

Attributes

Inherited from:
SimulationHelper
def debug(msg: String): LogEntry

Attributes

Inherited from:
Logging
def error(msg: String): LogEntry

Attributes

Inherited from:
Logging
protected def handleNon2xxResponse(httpStatus: StatusCode, body: Object, curl: String)(using data: ScenarioData): ScenarioData

Attributes

Inherited from:
SimulationHelper
def info(msg: String): LogEntry

Attributes

Inherited from:
Logging
protected def runRequest(request: Request[Either[String, String], Any], debugMsg: String)(handleBody: (Json, ScenarioData) => ResultType)(using data: ScenarioData): ResultType

Attributes

Inherited from:
SimulationHelper
def warn(msg: String): LogEntry

Attributes

Inherited from:
Logging

Inherited fields

lazy val backend: SttpBackend[Identity, Any]

Attributes

Inherited from:
SimulationHelper
lazy val cockpitUrl: String

Attributes

Inherited from:
SimulationHelper

Givens

Inherited givens

Attributes

Inherited from:
Logging

Extensions

Extensions

extension (scenario: IsProcessScenario)
def sendMessage()(using data: ScenarioData): ResultType
def startProcess()(using data: ScenarioData): ResultType
extension (scenario: ProcessScenario)
def run(): Future[ResultType]
extension (scenario: ExternalTaskScenario)
def run(): Future[ResultType]
extension (scenario: IsIncidentScenario)
def checkIncident(rootIncidentId: Option[String])(data: ScenarioData): ResultType
def run(): Future[ResultType]
extension (scenario: BadScenario)
def run(): Future[ResultType]
def startProcess()(using data: ScenarioData): ResultType
extension (scenario: SScenario)

Inherited extensions

extension (hasProcessSteps: HasProcessSteps)
def check()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SStepExtensions

Attributes

Inherited from:
SStepExtensions
def checkVars()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SStepExtensions
def runSteps()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SStepExtensions
extension (logs: Seq[LogEntry])
def filter(logLevel: LogLevel): Seq[LogEntry]

Attributes

Inherited from:
Logging

Attributes

Inherited from:
Logging
extension (process: SSubProcess)

Attributes

Inherited from:
SSubProcessExtensions

Attributes

Inherited from:
SSubProcessExtensions
extension (request: RequestT[Empty, Either[String, String], Any])
def authorize(): RequestT[Empty, Either[String, String], Any]

Attributes

Inherited from:
SimulationHelper
extension (request: Request[Either[String, String], Any])
def extractBody()(using ScenarioData): Either[ScenarioData, Json]

Attributes

Inherited from:
SimulationHelper
extension (sEvent: SEvent)
def loadVariable()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SEventExtensions
extension (sEvent: SMessageEvent)
def event: MessageEvent[_]

Attributes

Inherited from:
SEventExtensions

Attributes

Inherited from:
SEventExtensions
def sendMsg()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SEventExtensions
extension (sEvent: SSignalEvent)
def event: SignalEvent[_]

Attributes

Inherited from:
SEventExtensions

Attributes

Inherited from:
SEventExtensions
extension (sEvent: STimerEvent)
def getAndExecute()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SEventExtensions
extension (step: SStep)
def run()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SStepExtensions
extension (step: ScenarioOrStep)

Attributes

Inherited from:
SimulationHelper
protected def extractIncidentMsg(body: Json)(data: ScenarioData): Either[ScenarioData, (Option[String], String, String)]

Attributes

Inherited from:
SimulationHelper
protected def handleIncident(rootIncidentId: Option[String])(data: ScenarioData)(handleBody: (Json, ScenarioData) => ResultType): ResultType

Attributes

Inherited from:
SimulationHelper
protected def tryOrFail(funct: ScenarioData => ResultType)(using data: ScenarioData): ResultType

Attributes

Inherited from:
SimulationHelper
protected def waitFor(seconds: Int)(using data: ScenarioData): Either[ScenarioData, ScenarioData]

Attributes

Inherited from:
SimulationHelper
extension (userTask: SUserTask)
def checkForm()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SUserTaskExtensions
def getAndComplete()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SUserTaskExtensions