Capability-aligned microservices