apache / apache/teaclave-java-tee-sdk

Can teaclave support the persistence operation, such as h2database

未关闭
#33 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
67
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

基于samples/springboot项目,在common和enclave模块增加h2db的crud操作,目前程序能正常运行,save操作没有报错。
但涉及到读数据的接口,返回内容就是null,即使不是返回数据库中的内容。

**service**:
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/31698930/b589a013-ea05-4d8f-b9aa-fa828963e20a)

**controller**:(返回null)
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/31698930/fb3c0621-615c-4d9e-acbe-3bf4a39b9183)

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 samples/springboot 项目开始,检查 common 和 enclave 模块中的 CRUD 路径,将正常工作的 save 操作与 issue 中所示的 read 接口进行比较。重现 read 请求并跟踪其返回值;当 read 端点返回预期的持久化数据而不是 null 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, spring-boot
领域
backend, databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。