添加 qute 依赖项后 Quarkus 测试失败
我正在开发 Quarkus AWS lambda 服务,该服务生成一些 html 报告并上传到 S3。实现后,我发现我的 lambda 测试开始失败并返回 404。
进一步分析,我发现我添加的 quarkus-resteasy-qute 依赖项是罪魁祸首。一旦我将此依赖项添加到我的项目中,我的 lambda 处理程序测试用例就会开始失败并显示 404。我的计划是使用 qute 对 lambda 生成的报告进行一些模板化。
我在此处的入门项目中复制了相同的内容。我不知道这种依赖关系到底是什么导致了失败。
非常感谢任何帮助或进一步调试的指示。
I was working on a Quarkus AWS lambda service that generates some html reports and uploads to S3. After implementation, I found that my lambda tests started failing with 404.
Analysing further, I found that the quarkus-resteasy-qute dependency that I added was the culprit. As soon as I add this dependency to my project, my lambda handler test case starts failing with a 404. My plan was to use qute for some templating of the reports generated by the lambda.
I have replicated the same in a starter project here. I don't have any clue on what exactly in this dependency is causing the failure.
Really appreciate any help or pointers to debug it further.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
quarkus-resteasy-qute
将不能与常规 lambda 一起使用。它可以与 quarkus-amazon-lambda-http(或其余)一起使用,后者在 AWS 上启动 API 网关。参考:https://github.com/quarkusio/quarkus/issues/24312
quarkus-resteasy-qute
will NOT work with regular lambda. It would work withquarkus-amazon-lambda-http
(or rest) which spins up an API gateway on AWS though.Reference: https://github.com/quarkusio/quarkus/issues/24312