You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by cu...@apache.org on 2014/08/04 22:12:16 UTC
svn commit: r1615768 - in /avro/trunk: CHANGES.txt
lang/csharp/src/apache/ipc/Avro.ipc.csproj
lang/csharp/src/apache/test/Avro.test.csproj
lang/csharp/src/apache/test/Ipc/SocketServerTest.cs
Author: cutting
Date: Mon Aug 4 20:12:16 2014
New Revision: 1615768
URL: http://svn.apache.org/r1615768
Log:
C#: Add support for RPC over HTTP. Contributed by Dmitry Kovalev.
Modified:
avro/trunk/CHANGES.txt
avro/trunk/lang/csharp/src/apache/ipc/Avro.ipc.csproj
avro/trunk/lang/csharp/src/apache/test/Avro.test.csproj
avro/trunk/lang/csharp/src/apache/test/Ipc/SocketServerTest.cs
Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1615768&r1=1615767&r2=1615768&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Mon Aug 4 20:12:16 2014
@@ -4,6 +4,8 @@ Trunk (not yet released)
NEW FEATURES
+ AVRO-1555. C#: Add support for RPC over HTTP. (Dmitry Kovalev via cutting)
+
OPTIMIZATIONS
IMPROVEMENTS
Modified: avro/trunk/lang/csharp/src/apache/ipc/Avro.ipc.csproj
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/src/apache/ipc/Avro.ipc.csproj?rev=1615768&r1=1615767&r2=1615768&view=diff
==============================================================================
--- avro/trunk/lang/csharp/src/apache/ipc/Avro.ipc.csproj (original)
+++ avro/trunk/lang/csharp/src/apache/ipc/Avro.ipc.csproj Mon Aug 4 20:12:16 2014
@@ -67,6 +67,8 @@
<Compile Include="CountdownLatch.cs" />
<Compile Include="Generic\GenericRequestor.cs" />
<Compile Include="Generic\GenericResponder.cs" />
+ <Compile Include="HttpListenerServer.cs" />
+ <Compile Include="HttpTransceiver.cs" />
<Compile Include="OutputStream.cs" />
<Compile Include="RpcRequest.cs" />
<Compile Include="SocketServer.cs" />
Modified: avro/trunk/lang/csharp/src/apache/test/Avro.test.csproj
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/src/apache/test/Avro.test.csproj?rev=1615768&r1=1615767&r2=1615768&view=diff
==============================================================================
--- avro/trunk/lang/csharp/src/apache/test/Avro.test.csproj (original)
+++ avro/trunk/lang/csharp/src/apache/test/Avro.test.csproj Mon Aug 4 20:12:16 2014
@@ -106,6 +106,7 @@
<Compile Include="Ipc\GeneratedFiles\org\apache\avro\test\TestRecord.cs" />
<Compile Include="Ipc\GeneratedFiles\org\apache\avro\test\TestRecordExtensions.cs" />
<Compile Include="Ipc\GeneratedFiles\org\apache\avro\test\TestRecordWithUnion.cs" />
+ <Compile Include="Ipc\HttpClientServerTest.cs" />
<Compile Include="Ipc\LocalTransceiverTest.cs" />
<Compile Include="Ipc\MailResponder.cs" />
<Compile Include="Ipc\SerializationTest.cs" />
Modified: avro/trunk/lang/csharp/src/apache/test/Ipc/SocketServerTest.cs
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/src/apache/test/Ipc/SocketServerTest.cs?rev=1615768&r1=1615767&r2=1615768&view=diff
==============================================================================
--- avro/trunk/lang/csharp/src/apache/test/Ipc/SocketServerTest.cs (original)
+++ avro/trunk/lang/csharp/src/apache/test/Ipc/SocketServerTest.cs Mon Aug 4 20:12:16 2014
@@ -88,7 +88,7 @@ namespace Avro.Test.Ipc
return bytes;
}
- private static GenericRecord CreateMessage()
+ public static GenericRecord CreateMessage()
{
// The first and only type in the list is the Message type.
var recordSchema = (RecordSchema) MailResponder.Protocol.Types[0];
@@ -101,7 +101,7 @@ namespace Avro.Test.Ipc
return record;
}
- private static void VerifyResponse(string result)
+ public static void VerifyResponse(string result)
{
Assert.AreEqual(
"Sent message to [wife] from [husband] with body [I love you!]",