Spring gRPC reference documentation covering server, client, security, and configuration
92
Pending
Does it follow best practices?
Impact
92%
2.19xAverage score across 3 eval scenarios
Pending
The risk profile of this skill
A warehouse management system exposes an InventoryService gRPC service with two methods: CheckStock and ReserveItems. The team has written the service implementation but has no integration tests. They want a proper Spring-based integration test setup that:
The team is not sure which testing approach to use. They want the tests to use Spring's test framework (not plain JUnit with manual channel setup), and they want to keep things simple — no Docker, no external processes.
Produce the following files:
pom.xml — Maven project with Spring gRPC and test dependenciessrc/main/java/.../InventoryServiceImpl.java — minimal service implementation (stub logic is fine)src/main/proto/inventory.proto — proto definition for the servicesrc/test/java/.../InventoryInProcessTest.java — integration test using in-process transport (no real network port)src/test/java/.../InventoryPortTest.java — integration test connecting to a dynamically assigned portsrc/test/resources/application-test.properties — any test-specific configuration neededProvide a notes.md explaining why each testing approach was chosen and how the client connects in each case.
evals