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

Fix #297: Prepare mock Digital Onboarding Adapter #298

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

banterCZ
Copy link
Member

No description provided.

@@ -0,0 +1,19 @@
# Onboarding Adapter Mock

Mock of onboarding adapter using [WireMock].
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As agreed with @romanstrobl, we will give WireMock a try.

@@ -0,0 +1,4 @@
{
"userId": "mockuser_{{jsonPath request.body '$.identification.clientNumber'}}",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basic sample. Responses and request matching will be tuned later on.

Copy link
Contributor

@saalistaja saalistaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done. I've tested all mocked APIs, it works.

@banterCZ banterCZ merged commit b42143b into develop Jul 27, 2022
@banterCZ banterCZ deleted the issues/297-onboarding-adapter-mock branch July 27, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants