feat: add SOFA framework extractor for RPC and MQ auto-detection#1971
Open
mieshi-laoren wants to merge 2 commits into
Open
feat: add SOFA framework extractor for RPC and MQ auto-detection#1971mieshi-laoren wants to merge 2 commits into
mieshi-laoren wants to merge 2 commits into
Conversation
Add native support for Alibaba SOFA framework contract extraction: - New SofaExtractor: discovers SOFA RPC providers and consumers from XML declarations (<sofa:service>/<sofa:reference> with <sofa:binding.tr/>) - Extend Java topic extractor: detect SOFAMQ (OpenMessaging API) patterns - consumer.subscribe(topic, tag, listener) → topic consumer - new Message(topic, tag, body) → topic provider - Add 'sofamq' broker type to topic pattern types - Add 'sofa' opt-in detect flag to group config (default: false) SOFA RPC uses XML namespace prefix (sofa:), making regex extraction reliable without a full XML tree-sitter grammar. Note: XML sofa:consumer/sofa:channel/sofa:binding.msg_broker declarations are intentionally NOT extracted as they represent distributed scheduled task dispatching (e.g. TP_F_SC channel), not real message pub/sub.
|
Someone is attempting to deploy a commit to the NexusCore Team on Vercel. A member of the Team first needs to authorize it. |
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.
Add native support for Alibaba SOFA framework contract extraction:
SOFA RPC uses XML namespace prefix (sofa:), making regex extraction reliable without a full XML tree-sitter grammar.
Note: XML sofa:consumer/sofa:channel/sofa:binding.msg_broker declarations are intentionally NOT extracted as they represent distributed scheduled task dispatching (e.g. TP_F_SC channel), not real message pub/sub.
Summary
Motivation / context
Areas touched
gitnexus/(CLI / core / MCP server)gitnexus-web/(Vite / React UI).github/(workflows, actions)eval/or other toolingAGENTS.md,CLAUDE.md,.cursor/,llms.txt, etc.)Scope & constraints
In scope
Explicitly out of scope / not done here
Implementation notes
Testing & verification
cd gitnexus && npm testcd gitnexus && npm run test:integration(if core/indexing/MCP paths changed)cd gitnexus && npx tsc --noEmitcd gitnexus-web && npm test(if web changed)cd gitnexus-web && npx tsc -b --noEmit(if web changed)gitnexus-web/e2e/)Risk & rollout
Checklist
AGENTS.md/ overlays changed: headers, scope block, and changelog updated per project conventions