Configuration for the stub server, providing the http port, manager port, and optional list of stub configuration files to parse.
Configuration for the stub server, providing the http port, manager port, and optional list of stub configuration files to parse.
Int port number to listen on for stub requests
Int port number to listen on for management requests
List of json files to parse for endpoint configurations
Default clause for responses, providing defaults to be used for responses that do not provide these values
Default clause for responses, providing defaults to be used for responses that do not provide these values
optional LatencyConfig
optional StatusCode
optional AnyJsonObject to use as response
Specification of the response latency to simulate
Specification of the response latency to simulate
String with type of distribution
String with mean (quantity + time unit)
Configuration for a single response
Configuration for a single response
EndpointIds with values that identify this response
optional LatencyConfig
StatusCode for this response
AnyJsonObject to use as body for this response
Programmed response provider
Programmed response provider
String with scala class name
String with method name
Json Configuration for an endpoint
Json Configuration for an endpoint
String with path that will be matched
optional DefaultResponseConfig with defaults for all responses
optional List[ResponseConfig] with possible responses for the endpoint
optional ResponseProviderConfig if the endpoint is to be linked to a programmed response
Actual response that will be returned to the caller
Actual response that will be returned to the caller
StatusCode of the response
String with serialized version of the AnyJsonObject of the ResponseConfig
Define a default configuration to use when parsing the json fails
Definition of all case classes that are also represented as json strings/files.