Slide 1

Slide 1 text

Mauricio Salatino @salaboy Laurent Broudoux @lbroudoux SIMPLIFYING CLOUD-NATIVE APP TESTING ACROSS ENVIRONMENTS THE WORKSHOP

Slide 2

Slide 2 text

Before we start… • git clone https://github.com/salaboy/spring-io-2026-workshop • cd spring-io-2026-workshop/ • Run ./init-workshop.sh or ./init-workshop.ps1 • You need an ANTHROPIC_API_KEY • Create issues if you have questions

Slide 3

Slide 3 text

Workshop objectives • How to run all these tools in developer environment and keep a reasonable cognitive load? • Illustrate usage of modern development techniques (mocking, contract testing, containers testing, observability, …) • Managing complexity and deal with non-deterministic behavior.

Slide 4

Slide 4 text

Who we are! Mauricio Salatino @salaboy Laurent Broudoux @lbroudoux CNCF Ambassador, Java Champion, OSS & ecosystem @ DashO Cloud native Architect @ Postman Microcks founder

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

The AI/Cloud-native Spring Store Logical view Store 🛍 Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process

Slide 7

Slide 7 text

Step #1

Slide 8

Slide 8 text

Step-01 - Let’s start simple, no dependencies Store 🛍 Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process

Slide 9

Slide 9 text

Step-01 - Observing Spring AI Store 🛍 LLM 🧠 󰠁 User place Order orchestrate process Jaeger 👀 traces

Slide 10

Slide 10 text

Step-01 - Discover app & cut dependencies Store 🛍 LLM 🧠 󰠁 User place Order orchestrate process ❌ LLM integration can be slow, costly, tedious to use in CI environment… We can use simulations/mocked responses to speed-up the feedback loop when testing non-LLM areas

Slide 11

Slide 11 text

Microcks Turn artifacts into light & smart simulation INGEST PROVIDE MOCKS WELL-KNOWN ARTIFACTS 🧠 SMART MOCKS API Consumer and others

Slide 12

Slide 12 text

Step-01 - Discover app & cut dependencies Store 🛍 󰠁 User place Order Jaeger 👀 traces traces https://github.com/anthropics/anthropic-sdk-java/pull/315

Slide 13

Slide 13 text

Step #2

Slide 14

Slide 14 text

Step-02 - Plug the warehouse with MCP Store 🛍 Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP

Slide 15

Slide 15 text

Step-02 - Plug the warehouse with MCP Store 🛍 Warehouse 🗂 LLM 🧠 󰠁 User check Inventory place Order orchestrate process Warehouse MCP ❌ Mocks Contract Testing MCP Team can validate with no delay, in isolation. Backend Team can guarantee conformance with spec, ensure smooth integration.

Slide 16

Slide 16 text

Microcks Turn artifacts into Contract Testing Suite INGEST WELL-KNOWN ARTIFACTS AUTOMATIC TEST SUITE and others VALIDATE REAL API API v1.2 API v1.1 API v1.0 API Provider

Slide 17

Slide 17 text

Step-02 - Plug the warehouse with MCP Store 🛍 󰠁 User check Inventory place Order Warehouse MCP Jaeger 👀 traces traces traces

Slide 18

Slide 18 text

Step #3

Slide 19

Slide 19 text

Step-03 - Events, Dapr and more MCP Store 🛍 Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP Shipping MCP

Slide 20

Slide 20 text

Step-03 - Events, Dapr PubSub and more MCP Store 🛍 Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP Shipping MCP Kafka Dapr ✉ ✉ Dapr

Slide 21

Slide 21 text

Reshapr Turn artifacts into MCP Server INGEST PROVIDE MCP SERVERS ENTERPRISE-GRADE MCP SERVERS 🛡 NO CODE GEN!

Slide 22

Slide 22 text

Step-03 - Events, Dapr PubSub and more MCP Store 🛍 Shipping 🚚 󰠁 User ask Shipment place Order Shipping MCP Kafka Dapr ✉ ✉ Dapr Jaeger 👀 traces https://github.com/dapr/java-sdk/pull/1724

Slide 23

Slide 23 text

Step #4

Slide 24

Slide 24 text

Step-04 - Dapr Durable Workflows Store 🛍 LLM 🧠 󰠁 User ask Shipment place Order orchestrate process Dapr Kafka Dapr ✉ Warehouse 🗂 Shipping 🚚 check Inventory ✉ Dapr

Slide 25

Slide 25 text

Step #5

Slide 26

Slide 26 text

Step-05 - Running on Kubernetes Store 🛍 Anthropic.com 🧠 󰠁 User Dapr Kafka Warehouse MCP ↔ Shipping 🚚 PostgreSQL Warehouse 🗂 Otel Collector Cert Manager Infrastructure Dash0 👀 External Services

Slide 27

Slide 27 text

Wrap-up

Slide 28

Slide 28 text

Key Learnings 🤔 • Mocking & Contract Testing come together for cutting dependencies and providing with fast feedback loops • Observability is mandatory for understanding how distributed AI-infused apps are expected to work • Dapr provides powerful abstractions, making your application portable and your workflow durable • All of the above can run on your machine without a Kubernetes cluster!

Slide 29

Slide 29 text

THANK YOU! https://github.com/salaboy/spring-io-2026-workshop