Repository navigation
build: update copyright year to 2026 - #2183
Merged
Merged
Conversation
Bump copyrightYears to ${project.inceptionYear}-2026 in the
license-maven-plugin config and reformat all license headers via
./mvnw license:format.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BS7NEP1aHfpLrkJoYFugK3
2 tasks done
jfallows
pushed a commit
that referenced
this pull request
Jul 22, 2026
Our spec and runtime modules were created before develop's bulk copyright-year-update (#2183) landed, so their license headers still said 2021-2024 while the rest of the repo now says 2021-2026. license:format brings both modules in line.
jfallows
added a commit
that referenced
this pull request
Jul 22, 2026
…inding (#2068) * feat(binding-mcp-schema-registry): scaffold spec-first module for issue #1672 Adds specs/binding-mcp-schema-registry.spec/ (schema patch, 20 mcp/http .rpt scenario pairs for the 10 bundled tools, config fixtures, self consistency ITs — all green) and runtime/binding-mcp-schema-registry/ module scaffold, wired into runtime/specs/docker-image poms. No Java implementation yet by design: the runtime IT currently fails with an unrecognized binding type, the expected checkpoint before implementation begins per the repo's test-first discipline. Design: kind: proxy emitting the real OpenapiBeginEx wire extension to an operator-declared `type: openapi, kind: client` exit, mirroring the binding-openapi-asyncapi precedent, using an internally-bundled spec to resolve tool -> operationId with zero operator catalog boilerplate. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HL4h3tkf4oYSdjEgK4zffn * feat(binding-mcp-schema-registry): implement mcp_schema_registry proxy binding Adds the BindingFactorySpi, config adapters, and stream handler (McpSchemaRegistryProxyFactory) that map the 10 bundled MCP tools onto Schema Registry OpenAPI operations, forwarding through an operator-declared openapi client exit per the mcp-natural design in #1672. Also fixes escaping bugs in the .rpt fixtures: k3po strips a single backslash-quote in single-quoted write/read literals, so scripts embedding a JSON-quoted string value (the "schema" field) need \\" to produce a literal \" on the wire. This was silently truncating declared contentLength and corrupting response bodies for get_schema/register_schema/ check_compatibility. Also fixes the request-body flush to respect initial-window flow-control credit instead of writing the full body unconditionally on the first WINDOW frame. Fixes #1672 * fix(docker-image): add binding-mcp-schema-registry to zpm.json.template The module was already wired into runtime/pom.xml, specs/pom.xml, and cloud/docker-image/pom.xml, but missing from the zpm packaging manifest, so it would not have been installed into the published Docker image. * refactor(binding-mcp-schema-registry): rewrite as thin composite wrapper around mcp_openapi Replace the hand-rolled MCP proxy implementation with a kind:client composite generator that inlines a bundled schema-registry OpenAPI spec into a generated catalog and drives it through an mcp_openapi kind:client binding, mirroring how binding-openapi's own kind:client generates its downstream bindings. The 10 tools are fixed and author-controlled, so routes and tool naming are synthesized internally rather than exposed as operator-facing config; the only remaining option is options.server. McpSchemaRegistryClientFactory is now a pure pass-through relay (no protocol awareness), matching McpOpenapiClientFactory. Spec fixtures were rewritten to the zilla://streams/http0 k3po transport (required for the external-exit test double to intercept nested composite-generated streams) and structuredContent shapes corrected to match mcp_openapi's verbatim JSON passthrough behavior. * fix(binding-mcp-schema-registry): wrap structuredContent under result key mcp_openapi/mcp_http on current develop always wraps tool-call structuredContent under a top-level "result" key, regardless of the underlying HTTP response shape (object, array, or scalar) - a behavior change picked up by merging develop (most likely from the common-json parsson removal). Update all 10 scenarios' mcp-side fixtures to match. * feat(binding-mcp-schema-registry): support routes[].when.tool + guarded Allow operators to scope and guard individual tools via routes[], on top of #2103/#2105's new mcp_openapi routes[].guarded support: - routes[].when[].tool accepts a tool name or glob pattern (mirrors mcp_openapi's own when.tool schema - a singular string, not an array, since when[] is already the "match any of several" mechanism) - routes[].guarded threads through to the generated mcp_openapi0 route, resolved to an absolute namespace-qualified guard qname since the guard is declared in the operator's outer namespace but the generated route lives in the nested composite namespace - with omitting routes entirely still exposes all 10 tools ungated (unchanged default); declaring routes narrows exposure to only the tools matched by a when.tool entry routes[].with stays disallowed - the operation mapping is still synthesized internally from the tool name, never operator-declared. * style(binding-mcp-schema-registry): drop multi-line comments from McpSchemaRegistryClientFactory * feat(binding-mcp-schema-registry): interpolate ${result.*} in tool summaries Add explicit response schemas to register_schema, get_schema, check_compatibility, get_compatibility, and set_compatibility in the bundled OpenAPI spec, and interpolate their tool summaries with the confirmable result value (e.g. "Registered schema with id ${result.id}"). Declaring the response schema is required, not cosmetic: without it, McpOpenapiCompositeGenerator treats the tool output as schema-less and wraps structuredContent as {"result": <value>}, shifting every capture path down one level and making ${result.*} resolve empty. * fix(binding-mcp-http): decide result wrapping from the real response shape McpHttpResultWrap previously wrapped structuredContent as {"result": <value>} whenever no declared object response schema existed, regardless of what the upstream API actually returned. Any undeclared-schema operation whose real response happened to already be an object got a spurious wrapper. Make the decision from the real body's own first event instead: skip wrapping when it's already an object, wrap otherwise (arrays, scalars, or anything a declared array/scalar schema guarantees non-object). Rename McpHttpToolConfig.outputWrapped to outputMaybeWrapped to reflect that the field now only gates whether the transform is installed, not what it does. Backs out the karapace-schema-registry.openapi.json response-schema additions from the previous commit -- declaring schemas was a workaround for this bug, not the real fix. ${result.*} interpolation in the 5 tool summaries now works via the runtime fix alone, with no schema required. * build(binding-mcp-schema-registry): update copyright year to 2026 Our spec and runtime modules were created before develop's bulk copyright-year-update (#2183) landed, so their license headers still said 2021-2024 while the rest of the repo now says 2021-2026. license:format brings both modules in line. * fix(binding-mcp-schema-registry): remove list_contexts (Confluent-only, not in vanilla/Karapace Schema Registry) GET /contexts ("Schema Contexts") is a Confluent Platform/Confluent Cloud extension, absent from the Aiven-Open/karapace source and 404s against a live Karapace instance. binding-mcp-schema-registry targets vanilla/Karapace Schema Registry, so drop list_contexts from the bundled OpenAPI spec, the composite generator's tool list, and all associated tests/fixtures. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HL4h3tkf4oYSdjEgK4zffn * docs(examples/mcp.proxy): add a schemaregistry toolkit backed by real Karapace Extends the multi-toolkit MCP gateway example with an mcp_schema_registry kind:client binding wired against a real Karapace Schema Registry (not a mock) sharing the example's existing Kafka broker. Adds the south_mcp_schema_registry_client binding/routes, the karapace-registry compose service, README documentation (architecture diagram, authorization layering, walkthrough), and .github/test.sh assertions covering tools/list scope filtering plus a full register -> list -> describe -> get_schema -> set_compatibility -> get_compatibility -> check_compatibility call sequence against the live Karapace instance. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HL4h3tkf4oYSdjEgK4zffn * test(binding-mcp-schema-registry): add tools/list coverage Every existing scenario only exercised tools/call by name; tools/list was never tested for this binding. Add shouldListTools, driving a bare mcp:beginEx().toolsList() request directly against the binding's own accept side and asserting the full nine-tool set with correct input schemas comes back. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HL4h3tkf4oYSdjEgK4zffn * fix(examples/mcp.proxy): rename schemaregistry toolkit to kafka_sr, fix tools/list hydration Renames the schema-registry toolkit's routing key from "schemaregistry" to "kafka_sr" throughout north_mcp_proxy's routes, the eager tools.match list, JWT scope examples, README, and .github/test.sh. While validating this end-to-end, tools/list never surfaced any of the toolkit's tools (not even as a cold/searchable tool), though tools/call by name worked fine. Root cause: north_mcp_proxy.options.cache.authorization's hardcoded hydration JWT never had its scope updated to include kafka_sr:tools when this toolkit was added -- its guard silently rejected the hydration stream while every other toolkit's required scope happened to already be present in that credential. tools/call was unaffected because real calls use the caller's own JWT, not this shared one. Minted a new hydration credential including kafka_sr:tools and added a comment warning that every new guarded toolkit must be added here too. Full .github/test.sh run against the real stack (including live Karapace) now passes 25/25 with zero failures. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HL4h3tkf4oYSdjEgK4zffn --------- Co-authored-by: Claude <[email protected]>
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.
Description
Port of #2025 (merged to
support/1.x) todevelop.Bump
copyrightYearsto${project.inceptionYear}-2026in thelicense-maven-pluginconfiguration in the rootpom.xml, then run./mvnw license:formatto reformat all license headers across the reactor accordingly.The standalone
examples/grpc.kafka.fanout/grpc.reliable.streamingproject (outside the main reactor, with its own independent license config pinned toinceptionYear-2022) was intentionally left untouched, as it is a separate, independently-versioned project. The rest ofexamples/is likewise outside the Maven reactor (no rootpom.xmlmodule entry) and untouched.Verified: every changed file (11,199) contains only a copyright-year bump (
2021-2024→2021-2026) or, forpom.xml, thecopyrightYearsproperty update — confirmed via an automated diff check that flags any non-year content change../mvnw install -DskipITs -DskipTestsis running to confirm the reactor still compiles cleanly with the updated headers.Fixes # (issue)
Generated by Claude Code