web-app-mocks

0

Описание

Web application - Http Mocks

Языки

  • Java55%
  • TypeScript39,6%
  • Kotlin4,8%
  • JavaScript0,5%
  • HTML0,1%
readme.md

SibDevTools - Web Application Mocks

Web service provide ability to create HTTP mocks.

Mocks are grouped into services.

Features

  • Ant path for mocks
  • JavaScript response processor
  • Static response

To build

Service parameters

CodeValueDescription
web.app.mocks.uri.mock.path
/web/app/mocks/mock/
Url for mocks request
web.app.mocks.uri.rest.mocks.path
/web/app/mocks/rest/api/services/{serviceId}/mocks/
Url for Rest mocks request
web.app.mocks.uri.rest.services.path
/web/app/mocks/rest/api/services/
Url for Rest services request
web.app.mocks.props.bucket.code
mocks
Used bucket code for mocks storing
web.app.mocks.props.invocations.bucket.code
mocks.invocations
Used bucket code for mock invocations storing
web.app.mocks.props.invocation.history.enabled
true
Invocation history enabler

Clean Ups

Obsolete invokes

CodeValueDescription
web.app.mocks.props.clean-up.obsolete.enabled
false
Enabler
web.app.mocks.props.clean-up.obsolete.cron
0 0 */6 * * *
Scheduling clean up CRON
web.app.mocks.props.clean-up.obsolete.ttl
3
Invokes ttl to remove
web.app.mocks.props.clean-up.obsolete.ttl-type
DAYS
Invokes ttl type to remove:
* DAYS
* HOURS
* MINUTES
* SECONDS
* MILLIS

Store only last N invokes

CodeValueDescription
web.app.mocks.props.clean-up.count.enabled
false
Enabler
web.app.mocks.props.clean-up.count.max
10
Max invocations per mock