Skip to content

Comments

fix(acm,glue): use JSONProtocolService interface#229

Merged
sivchari merged 1 commit intomainfrom
fix/json-protocol-services
Feb 13, 2026
Merged

fix(acm,glue): use JSONProtocolService interface#229
sivchari merged 1 commit intomainfrom
fix/json-protocol-services

Conversation

@sivchari
Copy link
Owner

Summary

  • Fix ACM and Glue to use JSONProtocolService interface instead of registering POST / directly
  • This resolves route conflicts between JSON protocol services

Changes

  • ACM: Add TargetPrefix(), JSONProtocol() methods, rename handleRequest to DispatchAction
  • Glue: Add TargetPrefix(), JSONProtocol() methods, rename handleRequest to DispatchAction
  • Both services: Remove POST / from RegisterRoutes

Test plan

  • CI passes (lint, unit tests, integration tests)
  • Server starts without panic

ACM and Glue were registering POST / directly in RegisterRoutes,
which conflicts with the unified protocol dispatcher. This fixes
the issue by implementing the JSONProtocolService interface:
- Add TargetPrefix() method
- Add JSONProtocol() marker method
- Rename handleRequest to DispatchAction
- Remove direct POST / registration from RegisterRoutes

This allows multiple JSON protocol services to coexist without
route conflicts.
@sivchari sivchari force-pushed the fix/json-protocol-services branch from ab976cd to 0e823e4 Compare February 13, 2026 07:10
@sivchari sivchari merged commit ff2328f into main Feb 13, 2026
2 of 3 checks passed
@sivchari sivchari deleted the fix/json-protocol-services branch February 13, 2026 07:16
@github-actions github-actions bot mentioned this pull request Feb 13, 2026
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.

1 participant