[
https://issues.apache.org/jira/browse/AVRO-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989362#comment-12989362
]
Doug Cutting commented on AVRO-756:
-----------------------------------
The simplest way to test adding and removing parameters might be:
- create a protocol that modifies the Simple protocol currently used in RPC
tests, adding and removing a parameter. For example, the hello(string) method
might be changed to hello(string,string) and add(int,int) might be changed to
add(int). In both cases a default value might be specified.
- implement a generic client for the new protocol
-- test this against each of the existing generic, specific and reflect
servers
- implement a generic server for the new protocol
-- test this against each of the existing generic, specific and reflect
clients
> Java: need RPC tests that alter protocol parameters between client & server
> ---------------------------------------------------------------------------
>
> Key: AVRO-756
> URL: https://issues.apache.org/jira/browse/AVRO-756
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Doug Cutting
>
> We need RPC tests that:
> - have client and server use different protocols that:
> -- add a parameter to a message
> -- remove a parameter from a message
> -- change the type of a parameter
> - run with each of generic, specific and reflect as both client & server
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira