去 BioNode: 手板与量产分目录 gRPC 并直连 Mongo - #60
Merged
Merged
Conversation
去掉对 BioNode/comm-service 的依赖,HTTP /api/audio 契约不变。 - 手板 gRPC :50051(ubernode.v1):音频 CUD/Search 对齐 HTTP,Quiz 可 stub - 量产 gRPC :50052(ubernode.somni.v1):本期 GetAnswer 查 somni_quiz_answers - 手板与量产分目录实现,各自使用独立数据源 - GetAnswer:uid/answer_id 必传;出参对齐答卷 answers[](含 input_type/value 等) Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/audio契约不变:50051(ubernode.v1):音频 CUD/Search 对齐 HTTP,Quiz 可 stub:50052(ubernode.somni.v1):本期 GetAnswer 查somni_quiz_answersuid/answer_id必传;出参对齐答卷answers[](含input_type/value等)Test plan
:50051、量产 gRPC:50052可连通QuizService/GetAnswer:缺uid/answer_id返回INVALID_ARGUMENTuid+answer_id,从somni_quiz_answers返回answers[]NOT_FOUND/api/audio创建/更新/删除/检索回归正常Made with Cursor