BasicSimulationDsl

camundala.simulation.custom.BasicSimulationDsl

Attributes

Graph
Supertypes
trait Logging
trait SimulationDsl[Future[Seq[(LogLevel, Seq[ScenarioResult])]]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case class Execution(processInstanceId: String)

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Execution

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
case class ProcessInstance(id: String)

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
case class ProcessInstanceOrExecution(execution: Option[Execution], processInstance: Option[ProcessInstance])

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
SScenarioExtensions
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
object ignore

Attributes

Inherited from:
SimulationDsl
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def password: String
def username: String

Inherited methods

inline def badScenario(inline process: Process[_, _], status: Int, errorMsg: Optable[String]): BadScenario

Attributes

Inherited from:
SimulationDsl
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 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
inline def incidentScenario(inline process: ExternalTask[_, _, _], incidentMsg: String): IncidentServiceScenario

Attributes

Inherited from:
SimulationDsl
inline def incidentScenario(inline process: Process[_, _], incidentMsg: String): IncidentScenario

Attributes

Inherited from:
SimulationDsl
inline def incidentScenario(inline process: Process[_, _], incidentMsg: String)(body: SStep*): IncidentScenario

Attributes

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

Attributes

Inherited from:
Logging
protected def run(sim: SSimulation): Future[Seq[(LogLevel, Seq[ScenarioResult])]]

Attributes

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

Attributes

Inherited from:
SimulationHelper
def scenario(scen: ProcessScenario)(body: SStep*): SScenario

Attributes

Inherited from:
SimulationDsl

Attributes

Inherited from:
SimulationDsl

Attributes

Inherited from:
SimulationDsl

Attributes

Inherited from:
SimulationDsl
inline def serviceScenario[In <: Product : Decoder, Out <: Product : Schema, ServiceOut : Encoder](task: ServiceTask[In, Out, ServiceOut]): Seq[ExternalTaskScenario]

Attributes

Inherited from:
SimulationDsl
inline def serviceScenario[In <: Product : Schema, Out <: Product : Encoder, ServiceOut : Decoder](task: ServiceTask[In, Out, ServiceOut], outputMock: Out, outputServiceMock: ServiceOut, respHeaders: Map[String, String]): Seq[ExternalTaskScenario]

Attributes

Inherited from:
SimulationDsl
inline def serviceScenario[In <: Product : Encoder, Out <: Product : Decoder, ServiceOut : Encoder](task: ServiceTask[In, Out, ServiceOut], outputMock: Out, outputServiceMock: MockedServiceResponse[ServiceOut]): Seq[ExternalTaskScenario]

Attributes

Inherited from:
SimulationDsl
def simulate(body: => Seq[SScenario] | SScenario*): Unit

Attributes

Inherited from:
SimulationDsl
inline def subProcess(inline process: Process[_, _])(body: SStep*): SSubProcess

Attributes

Inherited from:
SimulationDsl
def waitFor(timeInSec: Int): SWaitTime

Attributes

Inherited from:
SimulationDsl
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
var simulation: Future[Seq[(LogLevel, Seq[ScenarioResult])]]

Attributes

Inherited from:
CustomSimulation

Givens

Inherited givens

inline given given_Conversion_CustomTask_ExternalTaskScenario: given_Conversion_CustomTask_ExternalTaskScenario

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_DecisionDmn_DmnScenario: given_Conversion_DecisionDmn_DmnScenario

Attributes

Inherited from:
SimulationDsl

Attributes

Inherited from:
Logging
inline given given_Conversion_MessageEvent_SMessageEvent: given_Conversion_MessageEvent_SMessageEvent

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_Process_ProcessScenario: given_Conversion_Process_ProcessScenario

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_ServiceTask_ExternalTaskScenario: given_Conversion_ServiceTask_ExternalTaskScenario

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_SignalEvent_SSignalEvent: given_Conversion_SignalEvent_SSignalEvent

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_TimerEvent_STimerEvent: given_Conversion_TimerEvent_STimerEvent

Attributes

Inherited from:
SimulationDsl
inline given given_Conversion_UserTask_SUserTask: given_Conversion_UserTask_SUserTask

Attributes

Inherited from:
SimulationDsl

Extensions

Inherited extensions

extension (event: MessageEvent[_])(event: MessageEvent[_])

Attributes

Inherited from:
SimulationDsl
def waitFor(readyVariable: String, readyValue: Any): SMessageEvent

Attributes

Inherited from:
SimulationDsl
def waitFor(readyVariable: String): SMessageEvent

Attributes

Inherited from:
SimulationDsl
extension (event: SignalEvent[_])(event: SignalEvent[_])
def waitFor(readyVariable: String, readyValue: Any): SSignalEvent

Attributes

Inherited from:
SimulationDsl
def waitFor(readyVariable: String): SSignalEvent

Attributes

Inherited from:
SimulationDsl
extension (event: TimerEvent)(event: TimerEvent)
def waitFor(readyVariable: String, readyValue: Any): STimerEvent

Attributes

Inherited from:
SimulationDsl
def waitFor(readyVariable: String): STimerEvent

Attributes

Inherited from:
SimulationDsl
extension (hasProcessSteps: HasProcessSteps)(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])(logs: Seq[LogEntry])
def filter(logLevel: LogLevel): Seq[LogEntry]

Attributes

Inherited from:
Logging

Attributes

Inherited from:
Logging
extension (process: SSubProcess)(process: SSubProcess)

Attributes

Inherited from:
SSubProcessExtensions

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SEventExtensions
extension (sEvent: SMessageEvent)(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)(sEvent: SSignalEvent)
def event: SignalEvent[_]

Attributes

Inherited from:
SEventExtensions

Attributes

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

Attributes

Inherited from:
SEventExtensions
extension (scen: ProcessScenario)(scen: ProcessScenario)

Attributes

Inherited from:
SimulationDsl
extension (scenario: DmnScenario)(scenario: DmnScenario)
def evaluate()(using data: ScenarioData): ResultType

Attributes

Inherited from:
DmnScenarioExtensions
def run(): Future[ResultType]

Attributes

Inherited from:
DmnScenarioExtensions
extension (scenario: IsProcessScenario)(scenario: IsProcessScenario)
def sendMessage()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SScenarioExtensions
def startProcess()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SScenarioExtensions
extension (scenario: ProcessScenario)(scenario: ProcessScenario)
def run(): Future[ResultType]

Attributes

Inherited from:
SScenarioExtensions
extension (scenario: ExternalTaskScenario)(scenario: ExternalTaskScenario)
def run(): Future[ResultType]

Attributes

Inherited from:
SScenarioExtensions
extension (scenario: IsIncidentScenario)(scenario: IsIncidentScenario)
def checkIncident(rootIncidentId: Option[String])(data: ScenarioData): ResultType

Attributes

Inherited from:
SScenarioExtensions
def run(): Future[ResultType]

Attributes

Inherited from:
SScenarioExtensions
extension (scenario: BadScenario)(scenario: BadScenario)
def run(): Future[ResultType]

Attributes

Inherited from:
SScenarioExtensions
def startProcess()(using data: ScenarioData): ResultType

Attributes

Inherited from:
SScenarioExtensions
extension (scenario: SScenario)(scenario: SScenario)

Attributes

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

Attributes

Inherited from:
SStepExtensions
extension (step: ScenarioOrStep)(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)(userTask: SUserTask)
def checkForm()(using data: ScenarioData): ResultType

Attributes

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

Attributes

Inherited from:
SUserTaskExtensions
extension (ut: UserTask[_, _])(ut: UserTask[_, _])
def waitForSec(sec: Int): SUserTask

Attributes

Inherited from:
SimulationDsl
extension [T <: WithTestOverrides[T]](withOverride: T)(withOverride: T)
def contains[V : Encoder](expected: V)(implicit evidence$3: Encoder[V]): T

Attributes

Inherited from:
TestOverrideExtensions
def contains[V : Encoder](key: String, value: V)(implicit evidence$2: Encoder[V]): T

Attributes

Inherited from:
TestOverrideExtensions
def isEquals[V : Encoder](key: String, value: V)(implicit evidence$1: Encoder[V]): T

Attributes

Inherited from:
TestOverrideExtensions
extension [T <: WithTestOverrides[LazyRef(...)]](withOverride: T)(withOverride: T)
def exists(key: String): T

Attributes

Inherited from:
TestOverrideExtensions
def hasSize(size: Int): T

Attributes

Inherited from:
TestOverrideExtensions
def hasSize(key: String, size: Int): T

Attributes

Inherited from:
TestOverrideExtensions
def notExists(key: String): T

Attributes

Inherited from:
TestOverrideExtensions

Implicits

Implicits

implicit override def config: SimulationConfig[RequestT[Empty, Either[String, String], Any]]

Attributes

Definition Classes