Skip to content

[ISSUE #8202] Publish an externally consumable LEGACY plugin contract kit - #34

Open
yangjj-iso wants to merge 1 commit into
apache:masterfrom
yangjj-iso:feat/issue-8202-external-contract-kit
Open

yangjj-iso wants to merge 1 commit into
apache:masterfrom
yangjj-iso:feat/issue-8202-external-contract-kit

Conversation

@yangjj-iso

Copy link
Copy Markdown

External plugin authors need to test against the production gateway chain from packaged dependencies. Extend the existing test-support artifact with a LEGACY contract session and a parentless consumer example, using ShenyuWebHandler rather than a copied executor.

Cover subscription deferral, terminal/error/cancellation ownership, continuation/decorator behavior, cache removal and explicit coverage evidence. Document that LEGACY forks restart from the chain head, and restore shared fixture context after use. The kit remains test-only; it does not introduce another runtime executor or claim GRAPH/release-matrix coverage.

Fixes apache/shenyu#8202.

Validation: 18 producer tests and 4 tests in an independent non-reactor consumer passed. The verification script rebuilds pinned core/kit artifacts, stages JARs/POMs, uses a fresh isolated consumer repository, and compares SHA256 for every resolved ShenYu JAR. The original clean proof pins core b46bf15c3a243e926994cb32c3f0a23eadc41adf (2.7.2-SNAPSHOT); the source of the kit is unchanged by splitting this branch. Checkstyle and RAT passed. See CONTRACT-KIT.md and script/plugin-store/verify-legacy-contract-consumer.ps1 for reproduction and compatibility boundaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task][Plugin] Provide an externally consumable reactive plugin contract test kit

1 participant