ModelEngine-Group / ModelEngine-Group/fit-framework

tool-maven-plugin插件解析runnables兼容Fitable、Genericable中的id属性

Open
#286 0 comments 0 reactions 1 assignee View on GitHub

@CodeCasterX is already working on this.

Since Sep 5, 2025.

status: waiting-for-triage type: bug
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

问题摘要 / Issue Summary

tool-maven-plugin编译后runnables中的FIT节点genericableId为空

版本信息 / Version Information

其他 (请在下方说明) / Other (please specify below)

浏览器 / Browser

Chrome

操作系统 / Operating System

macOS (Intel)

发生了什么?/ What happened?

tool-maven-plugin编译后runnables中的FIT节点genericableId、fitableId出现为空的情况

期望的行为 / Expected Behavior

@Genericable("xxx.http.call")和@Genericable(id="xxx.http.call") 生成的tools.json格式一样

重现步骤 / Steps to Reproduce

使用@Genericable(id="xxx.http.call"),查看生成的tools.json

相关日志 / Relevant Logs

额外信息 / Additional Context

https://github.com/ModelEngine-Group/fit-framework/blob/bb5b10882b7c294afd258d22db4cbbf90c63a5da/framework/fel/java/maven-plugins/tool-maven-plugin/src/main/java/modelengine/fel/maven/complie/parser/ByteBuddyToolsParser.java#L120-L131

需要兼容Genericable的id属性

确认事项 / Confirmations
  • 我已经搜索了现有的issues,确认这不是重复问题
    I have searched existing issues and confirmed this is not a duplicate

  • 我已经阅读了项目文档和 FAQ
    I have read the project documentation and FAQ

  • 我提供的信息准确完整
    The information I provided is accurate and complete

  • 我愿意协助测试问题修复 (可选)
    I'm willing to help test the bug fix (optional)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.