1 个仓库
Local emulation of cloud service APIs to enable inter-function communication during testing.
Distinct from SDK Conformance Simulation: Specifically targets the emulation of the SDK's invocation API rather than general SDK conformance testing.
Explore 1 awesome GitHub repository matching software engineering & architecture · Service Invocation Emulations. Refine with filters or upvote what's useful.
serverless-offline 是一个 Serverless Framework 插件,提供本地云基础设施模拟器。它充当 AWS Lambda 本地模拟器和 AWS API Gateway 模拟工具,允许在本地机器上开发和测试无服务器函数,而无需部署到远程提供商。 该项目的独特之处在于模拟双向 WebSocket 连接和消息路由,以及模仿 HTTP 网关的请求生命周期。它包含一个模拟身份验证器流水线,用于在本地验证令牌和 JWT,并支持将虚拟依赖层挂载到执行环境中。 该工具广泛涵盖了跨多种运行时的函数执行(具备隔离执行模式)、用于请求路由的云网关模拟,以及用于基于时间逻辑的定时事件触发模拟。它还提供了 SDK 调用模拟和请求上下文模拟功能,以促进本地集成测试。
Hosts a local HTTP server that emulates service invocation APIs to allow local functions to call each other.