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

Allow AsyncAPI mocking and contract-testing support #27

Closed
lbroudoux opened this issue Oct 19, 2023 · 1 comment
Closed

Allow AsyncAPI mocking and contract-testing support #27

lbroudoux opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
component/documentation Improvements or additions to documentation component/runtime Runtime behavior of test container component/settings Relates to API/settings availables kind/feature New feature
Milestone

Comments

@lbroudoux
Copy link
Member

Reason/Context

As of today (version 0.1.4 of this library) we just support essential features of Microcks provided by the main Microcks container. The list of supported features is the following:

  • Mocking of REST APIs using different kinds of artifacts,
  • Contract-testing of REST APIs using OPEN_API_SCHEMA runner/strategy,
  • Mocking and contract-testing of SOAP WebServices,
  • Mocking and contract-testing of GraphQL APIs,
  • Mocking and contract-testing of gRPC APIs.

Asynchronous API mocking and ASYNC_API_SCHEMA contract-testing strategy are not supported at the moment as it would require an additional microcks-async-minion container as well as a Kafka broker to ensure communication with the main container.

Description

We'd like to extend the notion of MicrocksContainersEnsemblewe described in #24 to also allow the usage of Microcks asynchronous features.

Implementation ideas

Ideally, we should be able to manage 2 different modes:

  • the one we're providing a Kafka broker because the user doesn't care (typically, we'll use a RedPanda testcontainer here)
  • the one we're reusing a Kafka broker that the user has initialized. In that case, we may want/need to reuse or share the same docker network and also have loose-coupling just reusing a broker bootstrap URL to connect everything
@lbroudoux lbroudoux added kind/enhancement Enhancement of existing feature component/documentation Improvements or additions to documentation kind/feature New feature component/settings Relates to API/settings availables component/runtime Runtime behavior of test container and removed kind/enhancement Enhancement of existing feature labels Oct 19, 2023
@lbroudoux lbroudoux self-assigned this Dec 15, 2023
@lbroudoux lbroudoux added this to the 0.2.1 milestone Dec 15, 2023
@lbroudoux
Copy link
Member Author

Now that we have microcks/microcks#1020, we can tackle this one more lightweight and efficiently!

lbroudoux added a commit that referenced this issue Dec 15, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 18, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 19, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 19, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 19, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 19, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 30, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 30, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 30, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Dec 31, 2023
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit that referenced this issue Jan 4, 2024
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
lbroudoux added a commit to microcks/api-lifecycle that referenced this issue Jan 11, 2024
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/documentation Improvements or additions to documentation component/runtime Runtime behavior of test container component/settings Relates to API/settings availables kind/feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant