2

I have the following structure of microservices with Apollo Gateway:
Services schema

Each microservice shares its GraphQL schema with the gateway. Types in these schemas refer to types from neighboring microservice schemas. The DGS framework has a dedicated page in its documentation for federated testing, but it mainly addresses scenarios where federation exists within a single microservice. Additionally, duplicating the full schema in each microservice is not an option by design (and would also not be idiomatic).

My question is: I cannot find a proper way to test this setup using JUnit and Spring testing tools, other than running the required services locally (including the gateway) and checking manually. However, this approach is not acceptable.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.