Release 1.3.25.0 candidate

This commit is contained in:
Eric Fontana
2015-04-30 10:09:07 -04:00
parent 6600bb2b85
commit 3669acbb26
25 changed files with 387 additions and 89 deletions

View File

@@ -24,7 +24,7 @@ namespace TimberWinR.TestGenerator
NumMessages = 100;
Port = 6379;
Host = "localhost";
SleepTimeMilliseconds = 10;
SleepTimeMilliseconds = 1;
}
}
@@ -48,16 +48,23 @@ namespace TimberWinR.TestGenerator
{
JObject o = new JObject
{
{"Application", "udp-generator"},
{"Host", hostName},
{"Application", "udp-generator"},
{"Executable", "VP.Common.SvcFrm.Services.Host, Version=29.7.0.0, Culture=neutral, PublicKeyToken=null"},
{"RenderedMessage", "Responding to RequestSchedule message from 10.1.230.36 with Ack because: PRJ byte array is null."},
{"Team", "Manufacturing Software"},
{"Host", hostName},
{"UtcTimestamp", DateTime.UtcNow.ToString("o")},
{"Type", "udp"},
{"Type", "VP.Fulfillment.Direct.Initialization.LogWrapper"},
{"Message", "Testgenerator udp message " + DateTime.UtcNow.ToString("o")},
{"Index", "logstash"}
};
byte[] sendbuf = Encoding.UTF8.GetBytes(o.ToString());
IPEndPoint ep = new IPEndPoint(broadcast, parms.Port);
s.SendTo(sendbuf, ep);
if (i % 1000 == 0)
LogManager.GetCurrentClassLogger().Info("Sent {0} of {1} messages", i, parms.NumMessages);
Thread.Sleep(parms.SleepTimeMilliseconds);
}