Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide MockConfiguration to StubMapping converter #108

Closed
kulasekp opened this issue Feb 19, 2020 · 0 comments · Fixed by #123
Closed

Provide MockConfiguration to StubMapping converter #108

kulasekp opened this issue Feb 19, 2020 · 0 comments · Fixed by #123
Assignees
Milestone

Comments

@kulasekp
Copy link
Contributor

kulasekp commented Feb 19, 2020

Implement simple converter (without external libraries) that will create StubMapping model from MockConfiguration.

Proposed mapping:

MockConfiguration StubMapping
id id
name name
order priority
path one of request.urlPattern (most probably urlPattern)
httpMethod request.method
timeout response.fixedDelayMilliseconds
status response.status
configurationContent response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants