Zero-to-Federation in 60 Seconds: How a GraphQL Middleware Replaced 500+ Legac…
summary
Red Hat replaces 500+ custom REST APIs with a lightweight GraphQL middleware that auto-introspects a broken Salesforce introspection by reconstructing a valid SDL, injects Apollo Federation directives like @key and @shareable while prefixing type names to avoid collisions, rewrites client queries using GraphQL aliases so Salesforce never sees prefixed names, and translates Keycloak JWTs into Salesforce OAuth tokens on the fly; hourly introspection syncs upstream schema changes and the migration that was estimated at 3+ years completes in weeks.
AI-written summary · about
chapters (11)
- 0:00GraphQL middleware intro
- 1:31Legacy API challenges
- 2:57Salesforce adoption blockers
- 5:03Middleware workflow
- 7:31Fixing introspection
- 9:15Query rewriting power
- 10:38SSO and federated identity
- 11:41Decommissioning APIs
- 13:08Schema checks automation
- 14:11Key takeaways
- 16:03Q&A
related talks
23mA glimpse of GraphQL" Frontend developers’ life is easy now!"
38mGraphQL Federation in the Wild
06mEscape the GraphQL Monolith
36mGraphQL Federation - The @key to Your Platform API Strategy
37mGraphQL and Microservices or How we learned to be big and small at the same time
21mLet's Talk GraphQL With Your Services
42mFrom REST to distributed GQL
30mDeep Learnings Migrating legacy services to Federated GraphQL
