Commit 9cdeea93 authored by mohammad.salama's avatar mohammad.salama

GRPC Contracts Edited, Scheduled Added, With Storing in DataBase MongoDB, All Workking Fine

parent 030bdf6f
...@@ -85,7 +85,27 @@ ...@@ -85,7 +85,27 @@
"ProjectGuid": "4239ec44-4415-4369-8da3-809610735e98", "ProjectGuid": "4239ec44-4415-4369-8da3-809610735e98",
"DisplayName": "TestMongoDBValidator", "DisplayName": "TestMongoDBValidator",
"ColorIndex": 15 "ColorIndex": 15
},
"ea05977f-a221-49af-99ea-2086c63e8fb1": {
"ProjectGuid": "ea05977f-a221-49af-99ea-2086c63e8fb1",
"DisplayName": "MessagesConsumer",
"ColorIndex": 0
},
"e79d172b-80db-4396-ae93-461a9ab3eaf1": {
"ProjectGuid": "e79d172b-80db-4396-ae93-461a9ab3eaf1",
"DisplayName": "ScheduledMessagesHandler",
"ColorIndex": 1
},
"af47ce2a-6fdd-4315-b8fe-1470a1909547": {
"ProjectGuid": "af47ce2a-6fdd-4315-b8fe-1470a1909547",
"DisplayName": "ScheduledMessagesHandler",
"ColorIndex": 2
},
"62d17724-6487-4586-9f2f-c2c0175280a5": {
"ProjectGuid": "62d17724-6487-4586-9f2f-c2c0175280a5",
"DisplayName": "ScheduledMessagesHandler",
"ColorIndex": 3
} }
}, },
"NextColorIndex": 0 "NextColorIndex": 4
} }
\ No newline at end of file
...@@ -12,6 +12,11 @@ message Message2 { ...@@ -12,6 +12,11 @@ message Message2 {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -12,6 +12,11 @@ message Message { ...@@ -12,6 +12,11 @@ message Message {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -11,7 +11,12 @@ service Validate { ...@@ -11,7 +11,12 @@ service Validate {
message MessageMetaData { message MessageMetaData {
string clientID = 1; string clientID = 1;
string apiKey = 2; string apiKey = 2;
string tag = 3; string tag = 3;
int32 year = 4;
int32 month = 5;
int32 day = 6;
int32 hour = 7;
int32 minute = 8;
} }
message ValidatorReply { message ValidatorReply {
......
...@@ -24,18 +24,19 @@ namespace GrpcMessageNode { ...@@ -24,18 +24,19 @@ namespace GrpcMessageNode {
static SchemaReflection() { static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIoEBCgdNZXNzYWdl", "ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD", "EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg", "IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJIjcKD0Fja25vd2xlZGdl", "ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"bWVudBIRCglyZXBseUNvZGUYASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkcK", "DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"BFNlbmQSPwoLU2VuZE1lc3NhZ2USEy5UcmFubWl0dGVyLk1lc3NhZ2UaGy5U", "bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"cmFubWl0dGVyLkFja25vd2xlZGdlbWVudEISqgIPR3JwY01lc3NhZ2VOb2Rl", "ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkcKBFNlbmQSPwoLU2VuZE1lc3Nh",
"YgZwcm90bzM=")); "Z2USEy5UcmFubWl0dGVyLk1lc3NhZ2UaGy5UcmFubWl0dGVyLkFja25vd2xl",
"ZGdlbWVudEISqgIPR3JwY01lc3NhZ2VOb2RlYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Message), global::GrpcMessageNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Message), global::GrpcMessageNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Acknowledgement), global::GrpcMessageNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Acknowledgement), global::GrpcMessageNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +86,11 @@ namespace GrpcMessageNode { ...@@ -85,6 +86,11 @@ namespace GrpcMessageNode {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +184,66 @@ namespace GrpcMessageNode { ...@@ -178,6 +184,66 @@ namespace GrpcMessageNode {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +266,11 @@ namespace GrpcMessageNode { ...@@ -200,6 +266,11 @@ namespace GrpcMessageNode {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +285,11 @@ namespace GrpcMessageNode { ...@@ -214,6 +285,11 @@ namespace GrpcMessageNode {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +336,26 @@ namespace GrpcMessageNode { ...@@ -260,6 +336,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +394,26 @@ namespace GrpcMessageNode { ...@@ -298,6 +394,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +445,21 @@ namespace GrpcMessageNode { ...@@ -329,6 +445,21 @@ namespace GrpcMessageNode {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +493,21 @@ namespace GrpcMessageNode { ...@@ -362,6 +493,21 @@ namespace GrpcMessageNode {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +551,26 @@ namespace GrpcMessageNode { ...@@ -405,6 +551,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +614,26 @@ namespace GrpcMessageNode { ...@@ -448,6 +614,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -24,18 +24,20 @@ namespace GrpcMessageNode { ...@@ -24,18 +24,20 @@ namespace GrpcMessageNode {
static SchemaQueueReflection() { static SchemaQueueReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChlQcm90b3Mvc2NoZW1hLXF1ZXVlLnByb3RvEgpUcmFubWl0dGVyIoIBCghN", "ChlQcm90b3Mvc2NoZW1hLXF1ZXVlLnByb3RvEgpUcmFubWl0dGVyIsoBCghN",
"ZXNzYWdlMhIQCghjbGllbnRJRBgBIAEoCRIOCgZhcGlLZXkYAiABKAkSDQoF", "ZXNzYWdlMhIQCghjbGllbnRJRBgBIAEoCRIOCgZhcGlLZXkYAiABKAkSDQoF",
"bXNnSWQYAyABKAkSEwoLcGhvbmVOdW1iZXIYBCABKAkSFQoNbG9jYWxQcmlv", "bXNnSWQYAyABKAkSEwoLcGhvbmVOdW1iZXIYBCABKAkSFQoNbG9jYWxQcmlv",
"cml0eRgFIAEoBRIMCgR0ZXh0GAYgASgJEgsKA3RhZxgHIAEoCSI4ChBBY2tu", "cml0eRgFIAEoBRIMCgR0ZXh0GAYgASgJEgsKA3RhZxgHIAEoCRIMCgR5ZWFy",
"b3dsZWRnZW1lbnQyEhEKCXJlcGx5Q29kZRgBIAEoCRIRCglyZXF1ZXN0SUQY", "GAggASgFEg0KBW1vbnRoGAkgASgFEgsKA2RheRgKIAEoBRIMCgRob3VyGAsg",
"AiABKAkySwoFUXVldWUSQgoMUXVldWVNZXNzYWdlEhQuVHJhbm1pdHRlci5N", "ASgFEg4KBm1pbnV0ZRgMIAEoBSI4ChBBY2tub3dsZWRnZW1lbnQyEhEKCXJl",
"ZXNzYWdlMhocLlRyYW5taXR0ZXIuQWNrbm93bGVkZ2VtZW50MkISqgIPR3Jw", "cGx5Q29kZRgBIAEoCRIRCglyZXF1ZXN0SUQYAiABKAkySwoFUXVldWUSQgoM",
"Y01lc3NhZ2VOb2RlYgZwcm90bzM=")); "UXVldWVNZXNzYWdlEhQuVHJhbm1pdHRlci5NZXNzYWdlMhocLlRyYW5taXR0",
"ZXIuQWNrbm93bGVkZ2VtZW50MkISqgIPR3JwY01lc3NhZ2VOb2RlYgZwcm90",
"bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Message2), global::GrpcMessageNode.Message2.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Message2), global::GrpcMessageNode.Message2.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Acknowledgement2), global::GrpcMessageNode.Acknowledgement2.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.Acknowledgement2), global::GrpcMessageNode.Acknowledgement2.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +87,11 @@ namespace GrpcMessageNode { ...@@ -85,6 +87,11 @@ namespace GrpcMessageNode {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +185,66 @@ namespace GrpcMessageNode { ...@@ -178,6 +185,66 @@ namespace GrpcMessageNode {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +267,11 @@ namespace GrpcMessageNode { ...@@ -200,6 +267,11 @@ namespace GrpcMessageNode {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +286,11 @@ namespace GrpcMessageNode { ...@@ -214,6 +286,11 @@ namespace GrpcMessageNode {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +337,26 @@ namespace GrpcMessageNode { ...@@ -260,6 +337,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +395,26 @@ namespace GrpcMessageNode { ...@@ -298,6 +395,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +446,21 @@ namespace GrpcMessageNode { ...@@ -329,6 +446,21 @@ namespace GrpcMessageNode {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +494,21 @@ namespace GrpcMessageNode { ...@@ -362,6 +494,21 @@ namespace GrpcMessageNode {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +552,26 @@ namespace GrpcMessageNode { ...@@ -405,6 +552,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +615,26 @@ namespace GrpcMessageNode { ...@@ -448,6 +615,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -24,17 +24,18 @@ namespace GrpcMessageNode { ...@@ -24,17 +24,18 @@ namespace GrpcMessageNode {
static ValidatorReflection() { static ValidatorReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiQAoPTWVzc2Fn", "ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiiAEKD01lc3Nh",
"ZU1ldGFEYXRhEhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRIL", "Z2VNZXRhRGF0YRIQCghjbGllbnRJRBgBIAEoCRIOCgZhcGlLZXkYAiABKAkS",
"CgN0YWcYAyABKAkiPAoOVmFsaWRhdG9yUmVwbHkSEQoJcmVwbHlDb2RlGAEg", "CwoDdGFnGAMgASgJEgwKBHllYXIYBCABKAUSDQoFbW9udGgYBSABKAUSCwoD",
"ASgJEhcKD2FjY291bnRQcmlvcml0eRgCIAEoBTJUCghWYWxpZGF0ZRJICg9W", "ZGF5GAYgASgFEgwKBGhvdXIYByABKAUSDgoGbWludXRlGAggASgFIjwKDlZh",
"YWxpZGF0ZU1lc3NhZ2USGi5WYWxpZGF0b3IuTWVzc2FnZU1ldGFEYXRhGhku", "bGlkYXRvclJlcGx5EhEKCXJlcGx5Q29kZRgBIAEoCRIXCg9hY2NvdW50UHJp",
"VmFsaWRhdG9yLlZhbGlkYXRvclJlcGx5QhKqAg9HcnBjTWVzc2FnZU5vZGVi", "b3JpdHkYAiABKAUyVAoIVmFsaWRhdGUSSAoPVmFsaWRhdGVNZXNzYWdlEhou",
"BnByb3RvMw==")); "VmFsaWRhdG9yLk1lc3NhZ2VNZXRhRGF0YRoZLlZhbGlkYXRvci5WYWxpZGF0",
"b3JSZXBseUISqgIPR3JwY01lc3NhZ2VOb2RlYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.MessageMetaData), global::GrpcMessageNode.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.MessageMetaData), global::GrpcMessageNode.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.ValidatorReply), global::GrpcMessageNode.ValidatorReply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::GrpcMessageNode.ValidatorReply), global::GrpcMessageNode.ValidatorReply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null)
})); }));
} }
...@@ -80,6 +81,11 @@ namespace GrpcMessageNode { ...@@ -80,6 +81,11 @@ namespace GrpcMessageNode {
clientID_ = other.clientID_; clientID_ = other.clientID_;
apiKey_ = other.apiKey_; apiKey_ = other.apiKey_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -125,6 +131,66 @@ namespace GrpcMessageNode { ...@@ -125,6 +131,66 @@ namespace GrpcMessageNode {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 4;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 5;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 6;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 7;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 8;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -143,6 +209,11 @@ namespace GrpcMessageNode { ...@@ -143,6 +209,11 @@ namespace GrpcMessageNode {
if (ClientID != other.ClientID) return false; if (ClientID != other.ClientID) return false;
if (ApiKey != other.ApiKey) return false; if (ApiKey != other.ApiKey) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -153,6 +224,11 @@ namespace GrpcMessageNode { ...@@ -153,6 +224,11 @@ namespace GrpcMessageNode {
if (ClientID.Length != 0) hash ^= ClientID.GetHashCode(); if (ClientID.Length != 0) hash ^= ClientID.GetHashCode();
if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode(); if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -183,6 +259,26 @@ namespace GrpcMessageNode { ...@@ -183,6 +259,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -205,6 +301,26 @@ namespace GrpcMessageNode { ...@@ -205,6 +301,26 @@ namespace GrpcMessageNode {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -224,6 +340,21 @@ namespace GrpcMessageNode { ...@@ -224,6 +340,21 @@ namespace GrpcMessageNode {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -245,6 +376,21 @@ namespace GrpcMessageNode { ...@@ -245,6 +376,21 @@ namespace GrpcMessageNode {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -272,6 +418,26 @@ namespace GrpcMessageNode { ...@@ -272,6 +418,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -299,6 +465,26 @@ namespace GrpcMessageNode { ...@@ -299,6 +465,26 @@ namespace GrpcMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -15,11 +15,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HTTPMessageGenerator", "HTT ...@@ -15,11 +15,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HTTPMessageGenerator", "HTT
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Validator", "Validator\Validator.csproj", "{D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Validator", "Validator\Validator.csproj", "{D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleStreamConsumerTest", "SimpleStreamConsumerTest\SimpleStreamConsumerTest.csproj", "{8F51B680-F3B6-4892-B854-2E2AF840CD71}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PriorityStream", "PriorityStream\PriorityStream.csproj", "{4F286608-7770-4511-BF37-2B94F5351D42}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PriorityStream", "PriorityStream\PriorityStream.csproj", "{4F286608-7770-4511-BF37-2B94F5351D42}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MessagesConsumer", "MessagesConsumer\MessagesConsumer.csproj", "{EA05977F-A221-49AF-99EA-2086C63E8FB1}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MessagesConsumer", "MessagesConsumer\MessagesConsumer.csproj", "{EA05977F-A221-49AF-99EA-2086C63E8FB1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScheduledMessagesHandler", "ScheduledMessagesHandler\ScheduledMessagesHandler.csproj", "{62D17724-6487-4586-9F2F-C2C0175280A5}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
...@@ -51,10 +51,6 @@ Global ...@@ -51,10 +51,6 @@ Global
{D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Debug|Any CPU.Build.0 = Debug|Any CPU {D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Release|Any CPU.ActiveCfg = Release|Any CPU {D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Release|Any CPU.Build.0 = Release|Any CPU {D2C3ADDD-BA47-473C-A761-1CE5B1EE6407}.Release|Any CPU.Build.0 = Release|Any CPU
{8F51B680-F3B6-4892-B854-2E2AF840CD71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F51B680-F3B6-4892-B854-2E2AF840CD71}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F51B680-F3B6-4892-B854-2E2AF840CD71}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F51B680-F3B6-4892-B854-2E2AF840CD71}.Release|Any CPU.Build.0 = Release|Any CPU
{4F286608-7770-4511-BF37-2B94F5351D42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4F286608-7770-4511-BF37-2B94F5351D42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F286608-7770-4511-BF37-2B94F5351D42}.Debug|Any CPU.Build.0 = Debug|Any CPU {4F286608-7770-4511-BF37-2B94F5351D42}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F286608-7770-4511-BF37-2B94F5351D42}.Release|Any CPU.ActiveCfg = Release|Any CPU {4F286608-7770-4511-BF37-2B94F5351D42}.Release|Any CPU.ActiveCfg = Release|Any CPU
...@@ -63,6 +59,10 @@ Global ...@@ -63,6 +59,10 @@ Global
{EA05977F-A221-49AF-99EA-2086C63E8FB1}.Debug|Any CPU.Build.0 = Debug|Any CPU {EA05977F-A221-49AF-99EA-2086C63E8FB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA05977F-A221-49AF-99EA-2086C63E8FB1}.Release|Any CPU.ActiveCfg = Release|Any CPU {EA05977F-A221-49AF-99EA-2086C63E8FB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA05977F-A221-49AF-99EA-2086C63E8FB1}.Release|Any CPU.Build.0 = Release|Any CPU {EA05977F-A221-49AF-99EA-2086C63E8FB1}.Release|Any CPU.Build.0 = Release|Any CPU
{62D17724-6487-4586-9F2F-C2C0175280A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62D17724-6487-4586-9F2F-C2C0175280A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62D17724-6487-4586-9F2F-C2C0175280A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62D17724-6487-4586-9F2F-C2C0175280A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
......
...@@ -15,5 +15,10 @@ namespace HTTPMessageGenerator ...@@ -15,5 +15,10 @@ namespace HTTPMessageGenerator
public int localPriority { get; set; } public int localPriority { get; set; }
public string? text { get; set; } public string? text { get; set; }
public string? tag { get; set; } public string? tag { get; set; }
public int year { get; set; }
public int month { get; set; }
public int day { get; set; }
public int hour { get; set; }
public int minute { get; set; }
} }
} }
...@@ -12,6 +12,11 @@ message Message { ...@@ -12,6 +12,11 @@ message Message {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -24,18 +24,19 @@ namespace HTTPMessageGenerator { ...@@ -24,18 +24,19 @@ namespace HTTPMessageGenerator {
static SchemaReflection() { static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIoEBCgdNZXNzYWdl", "ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD", "EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg", "IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJIjcKD0Fja25vd2xlZGdl", "ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"bWVudBIRCglyZXBseUNvZGUYASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkK", "DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"BVF1ZXVlEkAKDFF1ZXVlTWVzc2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRob", "bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"LlRyYW5taXR0ZXIuQWNrbm93bGVkZ2VtZW50QheqAhRIVFRQTWVzc2FnZUdl", "ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkKBVF1ZXVlEkAKDFF1ZXVlTWVz",
"bmVyYXRvcmIGcHJvdG8z")); "c2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRobLlRyYW5taXR0ZXIuQWNrbm93",
"bGVkZ2VtZW50QheqAhRIVFRQTWVzc2FnZUdlbmVyYXRvcmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageGenerator.Message), global::HTTPMessageGenerator.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageGenerator.Message), global::HTTPMessageGenerator.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageGenerator.Acknowledgement), global::HTTPMessageGenerator.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageGenerator.Acknowledgement), global::HTTPMessageGenerator.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +86,11 @@ namespace HTTPMessageGenerator { ...@@ -85,6 +86,11 @@ namespace HTTPMessageGenerator {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +184,66 @@ namespace HTTPMessageGenerator { ...@@ -178,6 +184,66 @@ namespace HTTPMessageGenerator {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +266,11 @@ namespace HTTPMessageGenerator { ...@@ -200,6 +266,11 @@ namespace HTTPMessageGenerator {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +285,11 @@ namespace HTTPMessageGenerator { ...@@ -214,6 +285,11 @@ namespace HTTPMessageGenerator {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +336,26 @@ namespace HTTPMessageGenerator { ...@@ -260,6 +336,26 @@ namespace HTTPMessageGenerator {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +394,26 @@ namespace HTTPMessageGenerator { ...@@ -298,6 +394,26 @@ namespace HTTPMessageGenerator {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +445,21 @@ namespace HTTPMessageGenerator { ...@@ -329,6 +445,21 @@ namespace HTTPMessageGenerator {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +493,21 @@ namespace HTTPMessageGenerator { ...@@ -362,6 +493,21 @@ namespace HTTPMessageGenerator {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +551,26 @@ namespace HTTPMessageGenerator { ...@@ -405,6 +551,26 @@ namespace HTTPMessageGenerator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +614,26 @@ namespace HTTPMessageGenerator { ...@@ -448,6 +614,26 @@ namespace HTTPMessageGenerator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -108,6 +108,11 @@ namespace HTTPMessageNode.Controllers ...@@ -108,6 +108,11 @@ namespace HTTPMessageNode.Controllers
message.ApiKey = messageDTO.apiKey; message.ApiKey = messageDTO.apiKey;
message.ClientID = messageDTO.clientID; message.ClientID = messageDTO.clientID;
message.Tag = messageDTO.tag; message.Tag = messageDTO.tag;
message.Year = messageDTO.year;
message.Month = messageDTO.month;
message.Day = messageDTO.day;
message.Hour = messageDTO.hour;
message.Minute = messageDTO.minute;
return message; return message;
} }
......
...@@ -15,5 +15,10 @@ namespace HTTPMessageNode ...@@ -15,5 +15,10 @@ namespace HTTPMessageNode
public int localPriority { get; set; } public int localPriority { get; set; }
public string? text { get; set; } public string? text { get; set; }
public string? tag { get; set; } public string? tag { get; set; }
public int year { get; set; }
public int month { get; set; }
public int day { get; set; }
public int hour { get; set; }
public int minute { get; set; }
} }
} }
...@@ -12,6 +12,11 @@ message Message { ...@@ -12,6 +12,11 @@ message Message {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -12,6 +12,11 @@ message MessageMetaData { ...@@ -12,6 +12,11 @@ message MessageMetaData {
string clientID = 1; string clientID = 1;
string apiKey = 2; string apiKey = 2;
string tag = 3; string tag = 3;
int32 year = 4;
int32 month = 5;
int32 day = 6;
int32 hour = 7;
int32 minute = 8;
} }
message ValidatorReply { message ValidatorReply {
......
...@@ -24,18 +24,19 @@ namespace HTTPMessageNode { ...@@ -24,18 +24,19 @@ namespace HTTPMessageNode {
static SchemaReflection() { static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIoEBCgdNZXNzYWdl", "ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD", "EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg", "IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJIjcKD0Fja25vd2xlZGdl", "ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"bWVudBIRCglyZXBseUNvZGUYASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkK", "DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"BVF1ZXVlEkAKDFF1ZXVlTWVzc2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRob", "bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"LlRyYW5taXR0ZXIuQWNrbm93bGVkZ2VtZW50QhKqAg9IVFRQTWVzc2FnZU5v", "ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkKBVF1ZXVlEkAKDFF1ZXVlTWVz",
"ZGViBnByb3RvMw==")); "c2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRobLlRyYW5taXR0ZXIuQWNrbm93",
"bGVkZ2VtZW50QhKqAg9IVFRQTWVzc2FnZU5vZGViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageNode.Message), global::HTTPMessageNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageNode.Message), global::HTTPMessageNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageNode.Acknowledgement), global::HTTPMessageNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::HTTPMessageNode.Acknowledgement), global::HTTPMessageNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +86,11 @@ namespace HTTPMessageNode { ...@@ -85,6 +86,11 @@ namespace HTTPMessageNode {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +184,66 @@ namespace HTTPMessageNode { ...@@ -178,6 +184,66 @@ namespace HTTPMessageNode {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +266,11 @@ namespace HTTPMessageNode { ...@@ -200,6 +266,11 @@ namespace HTTPMessageNode {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +285,11 @@ namespace HTTPMessageNode { ...@@ -214,6 +285,11 @@ namespace HTTPMessageNode {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +336,26 @@ namespace HTTPMessageNode { ...@@ -260,6 +336,26 @@ namespace HTTPMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +394,26 @@ namespace HTTPMessageNode { ...@@ -298,6 +394,26 @@ namespace HTTPMessageNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +445,21 @@ namespace HTTPMessageNode { ...@@ -329,6 +445,21 @@ namespace HTTPMessageNode {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +493,21 @@ namespace HTTPMessageNode { ...@@ -362,6 +493,21 @@ namespace HTTPMessageNode {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +551,26 @@ namespace HTTPMessageNode { ...@@ -405,6 +551,26 @@ namespace HTTPMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +614,26 @@ namespace HTTPMessageNode { ...@@ -448,6 +614,26 @@ namespace HTTPMessageNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -24,17 +24,18 @@ namespace Validator { ...@@ -24,17 +24,18 @@ namespace Validator {
static ValidatorReflection() { static ValidatorReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiQAoPTWVzc2Fn", "ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiiAEKD01lc3Nh",
"ZU1ldGFEYXRhEhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRIL", "Z2VNZXRhRGF0YRIQCghjbGllbnRJRBgBIAEoCRIOCgZhcGlLZXkYAiABKAkS",
"CgN0YWcYAyABKAkiPAoOVmFsaWRhdG9yUmVwbHkSEQoJcmVwbHlDb2RlGAEg", "CwoDdGFnGAMgASgJEgwKBHllYXIYBCABKAUSDQoFbW9udGgYBSABKAUSCwoD",
"ASgJEhcKD2FjY291bnRQcmlvcml0eRgCIAEoBTJUCghWYWxpZGF0ZRJICg9W", "ZGF5GAYgASgFEgwKBGhvdXIYByABKAUSDgoGbWludXRlGAggASgFIjwKDlZh",
"YWxpZGF0ZU1lc3NhZ2USGi5WYWxpZGF0b3IuTWVzc2FnZU1ldGFEYXRhGhku", "bGlkYXRvclJlcGx5EhEKCXJlcGx5Q29kZRgBIAEoCRIXCg9hY2NvdW50UHJp",
"VmFsaWRhdG9yLlZhbGlkYXRvclJlcGx5QgyqAglWYWxpZGF0b3JiBnByb3Rv", "b3JpdHkYAiABKAUyVAoIVmFsaWRhdGUSSAoPVmFsaWRhdGVNZXNzYWdlEhou",
"Mw==")); "VmFsaWRhdG9yLk1lc3NhZ2VNZXRhRGF0YRoZLlZhbGlkYXRvci5WYWxpZGF0",
"b3JSZXBseUIMqgIJVmFsaWRhdG9yYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Validator.MessageMetaData), global::Validator.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Validator.MessageMetaData), global::Validator.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Validator.ValidatorReply), global::Validator.ValidatorReply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::Validator.ValidatorReply), global::Validator.ValidatorReply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null)
})); }));
} }
...@@ -80,6 +81,11 @@ namespace Validator { ...@@ -80,6 +81,11 @@ namespace Validator {
clientID_ = other.clientID_; clientID_ = other.clientID_;
apiKey_ = other.apiKey_; apiKey_ = other.apiKey_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -125,6 +131,66 @@ namespace Validator { ...@@ -125,6 +131,66 @@ namespace Validator {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 4;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 5;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 6;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 7;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 8;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -143,6 +209,11 @@ namespace Validator { ...@@ -143,6 +209,11 @@ namespace Validator {
if (ClientID != other.ClientID) return false; if (ClientID != other.ClientID) return false;
if (ApiKey != other.ApiKey) return false; if (ApiKey != other.ApiKey) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -153,6 +224,11 @@ namespace Validator { ...@@ -153,6 +224,11 @@ namespace Validator {
if (ClientID.Length != 0) hash ^= ClientID.GetHashCode(); if (ClientID.Length != 0) hash ^= ClientID.GetHashCode();
if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode(); if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -183,6 +259,26 @@ namespace Validator { ...@@ -183,6 +259,26 @@ namespace Validator {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -205,6 +301,26 @@ namespace Validator { ...@@ -205,6 +301,26 @@ namespace Validator {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -224,6 +340,21 @@ namespace Validator { ...@@ -224,6 +340,21 @@ namespace Validator {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -245,6 +376,21 @@ namespace Validator { ...@@ -245,6 +376,21 @@ namespace Validator {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -272,6 +418,26 @@ namespace Validator { ...@@ -272,6 +418,26 @@ namespace Validator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -299,6 +465,26 @@ namespace Validator { ...@@ -299,6 +465,26 @@ namespace Validator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -21,3 +21,4 @@ ...@@ -21,3 +21,4 @@
2.0 2.0
2.0 2.0
2.0 2.0
2.0
...@@ -12,6 +12,11 @@ message Message { ...@@ -12,6 +12,11 @@ message Message {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -24,18 +24,19 @@ namespace GGRPCMessageGenerator { ...@@ -24,18 +24,19 @@ namespace GGRPCMessageGenerator {
static SchemaReflection() { static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIoEBCgdNZXNzYWdl", "ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD", "EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg", "IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJIjcKD0Fja25vd2xlZGdl", "ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"bWVudBIRCglyZXBseUNvZGUYASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkcK", "DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"BFNlbmQSPwoLU2VuZE1lc3NhZ2USEy5UcmFubWl0dGVyLk1lc3NhZ2UaGy5U", "bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"cmFubWl0dGVyLkFja25vd2xlZGdlbWVudEIYqgIVR0dSUENNZXNzYWdlR2Vu", "ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkcKBFNlbmQSPwoLU2VuZE1lc3Nh",
"ZXJhdG9yYgZwcm90bzM=")); "Z2USEy5UcmFubWl0dGVyLk1lc3NhZ2UaGy5UcmFubWl0dGVyLkFja25vd2xl",
"ZGdlbWVudEIYqgIVR0dSUENNZXNzYWdlR2VuZXJhdG9yYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::GGRPCMessageGenerator.Message), global::GGRPCMessageGenerator.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GGRPCMessageGenerator.Message), global::GGRPCMessageGenerator.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::GGRPCMessageGenerator.Acknowledgement), global::GGRPCMessageGenerator.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::GGRPCMessageGenerator.Acknowledgement), global::GGRPCMessageGenerator.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +86,11 @@ namespace GGRPCMessageGenerator { ...@@ -85,6 +86,11 @@ namespace GGRPCMessageGenerator {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +184,66 @@ namespace GGRPCMessageGenerator { ...@@ -178,6 +184,66 @@ namespace GGRPCMessageGenerator {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +266,11 @@ namespace GGRPCMessageGenerator { ...@@ -200,6 +266,11 @@ namespace GGRPCMessageGenerator {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +285,11 @@ namespace GGRPCMessageGenerator { ...@@ -214,6 +285,11 @@ namespace GGRPCMessageGenerator {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +336,26 @@ namespace GGRPCMessageGenerator { ...@@ -260,6 +336,26 @@ namespace GGRPCMessageGenerator {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +394,26 @@ namespace GGRPCMessageGenerator { ...@@ -298,6 +394,26 @@ namespace GGRPCMessageGenerator {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +445,21 @@ namespace GGRPCMessageGenerator { ...@@ -329,6 +445,21 @@ namespace GGRPCMessageGenerator {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +493,21 @@ namespace GGRPCMessageGenerator { ...@@ -362,6 +493,21 @@ namespace GGRPCMessageGenerator {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +551,26 @@ namespace GGRPCMessageGenerator { ...@@ -405,6 +551,26 @@ namespace GGRPCMessageGenerator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +614,26 @@ namespace GGRPCMessageGenerator { ...@@ -448,6 +614,26 @@ namespace GGRPCMessageGenerator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -15,5 +15,10 @@ namespace MessagesConsumer ...@@ -15,5 +15,10 @@ namespace MessagesConsumer
public int localPriority { get; set; } public int localPriority { get; set; }
public string? text { get; set; } public string? text { get; set; }
public string? tag { get; set; } public string? tag { get; set; }
public int year { get; set; }
public int month { get; set; }
public int day { get; set; }
public int hour { get; set; }
public int minute { get; set; }
} }
} }
...@@ -6,7 +6,7 @@ using MessagesConsumer.StreamsHandler; ...@@ -6,7 +6,7 @@ using MessagesConsumer.StreamsHandler;
var tokenSource = new CancellationTokenSource(); var tokenSource = new CancellationTokenSource();
var token = tokenSource.Token; var token = tokenSource.Token;
string redis_read = "localhost:6379"; string redis_read = "localhost:6400";
try try
{ {
......
...@@ -15,5 +15,10 @@ namespace PriorityStream ...@@ -15,5 +15,10 @@ namespace PriorityStream
public int localPriority { get; set; } public int localPriority { get; set; }
public string? text { get; set; } public string? text { get; set; }
public string? tag { get; set; } public string? tag { get; set; }
public int year { get; set; }
public int month { get; set; }
public int day { get; set; }
public int hour { get; set; }
public int minute { get; set; }
} }
} }
...@@ -8,7 +8,7 @@ var tokenSource = new CancellationTokenSource(); ...@@ -8,7 +8,7 @@ var tokenSource = new CancellationTokenSource();
var token = tokenSource.Token; var token = tokenSource.Token;
string redis_read = "localhost:6379"; string redis_read = "localhost:6379";
string redis_wite = "localhost:6379"; string redis_wite = "localhost:6400";
try try
{ {
......
using MongoDB.Bson;
using MongoDB.Driver;
using SchedulerNode;
using SchedulerNode.RedisQueuer;
using SchedulerNode.Services;
namespace Scheduler.MongoMessages
{
public class MongoMessagesShceduler
{
private static string MONGODB = "mongodb://127.0.0.1:27017";
private static string DataBaseName = "scheduled-messages";
private static string myCollection = "messages";
public static string ConnectionError = "Error Connecting to MongoDB on : " + MONGODB;
private static IMongoCollection<BsonDocument> collection;
private static string NotTaken = "Not-Taken";
public static string init(string MyId)
{
try
{
var client = new MongoClient(MONGODB);
var database = client.GetDatabase(DataBaseName);
collection = database.GetCollection<BsonDocument>(myCollection);
return "ok";
}
catch (Exception ex)
{
return ex.Message;
}
}
public static string insertMessage(ref Message message)
{
try
{
DateTime date = new DateTime(message.Year, message.Month, message.Day, message.Hour, message.Minute, 2);
var document = new BsonDocument
{
{ "sender", message.ClientID},
{ "timestamp", date },
{ "content", message.Text},
{ "tag" , message.Tag },
{ "priority" , message.LocalPriority},
{ "msg-id" , message.MsgId},
{ "phone-number" , message.PhoneNumber },
{ "api-key" , message.ApiKey },
{ "status" , NotTaken }
};
collection.InsertOne(document);
return "OK";
}
catch (Exception ex)
{
return ConnectionError;
}
}
/*
//getBulkOfMessages where their Oks is MyId (not Acked)
//queue them
//then ack them (ok = Acked)
//when finished get Oks = 0 and put their Ok as MyId
public static void getDuedMessagesAndQueue()
{
bool thereArePending = true;
while (true)
{
if (thereArePending)
{
thereArePending = getBulkMessages(Pending);
}
if (! thereArePending)
{
thereArePending = getBulkMessages(NotTaken);
}
Task.Delay(5000);
}
}
private static bool getBulkMessages(string status)
{
var specificTime = DateTime.UtcNow;
var filter = Builders<BsonDocument>.Filter.And(
Builders<BsonDocument>.Filter.Lte("timestamp", specificTime),
Builders<BsonDocument>.Filter.Eq("status", status)
);
var docs = collection.Find(filter).Limit(limit).ToList<BsonDocument>();
if (docs.Count == 0)
{
return false;
}
UpdateDefinition<BsonDocument> updatePending = Builders<BsonDocument>.Update.Set("status", Pending);
UpdateDefinition<BsonDocument> updateAcj = Builders<BsonDocument>.Update.Set("status", Acked);
foreach (var doc in docs)
{
Message message = getMessage(doc);
var _filter = Builders<BsonDocument>.Filter.Eq("_id", doc["_id"]);
collection.UpdateOne(_filter, updatePending);
}
return true;
}
private static Message getMessage(BsonDocument doc)
{
Message message = new Message();
message.ClientID = (string)doc["sender"];
message.Text = (string)doc["content"];
message.Tag = (string)doc["tag"];
message.LocalPriority = (int)doc["priority"];
message.PhoneNumber = (string)doc["phone-number"];
message.MsgId = (string)doc["msg-id"];
message.ApiKey = (string)doc["api-key"];
message.Year = message.Month = message.Day = message.Hour = message.Minute = 0;
return message;
}
*/
}
}
using Scheduler.MongoMessages;
using SchedulerNode.RedisQueuer; using SchedulerNode.RedisQueuer;
using SchedulerNode.Services; using SchedulerNode.Services;
using Steeltoe.Discovery.Client; using Steeltoe.Discovery.Client;
...@@ -10,9 +11,16 @@ var builder = WebApplication.CreateBuilder(args); ...@@ -10,9 +11,16 @@ var builder = WebApplication.CreateBuilder(args);
// Add services to the container. // Add services to the container.
builder.Services.AddGrpc(); builder.Services.AddGrpc();
builder.Services.AddDiscoveryClient(); builder.Services.AddDiscoveryClient();
MessageQueues.init(); MessageQueues.init();
string MyId = "Scheduler-1";
MongoMessagesShceduler.init(MyId);
var app = builder.Build(); var app = builder.Build();
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
app.MapGrpcService<QueueMessageService>(); app.MapGrpcService<QueueMessageService>();
app.MapGet("/", () => "Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909"); app.MapGet("/", () => "Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
......
...@@ -12,6 +12,11 @@ message Message { ...@@ -12,6 +12,11 @@ message Message {
int32 localPriority = 5; int32 localPriority = 5;
string text = 6; string text = 6;
string tag = 7; string tag = 7;
int32 year = 8;
int32 month = 9;
int32 day = 10;
int32 hour = 11;
int32 minute = 12;
} }
......
...@@ -51,17 +51,14 @@ namespace SchedulerNode.RedisQueuer ...@@ -51,17 +51,14 @@ namespace SchedulerNode.RedisQueuer
} }
} }
public static string addMessage(Message message , IDiscoveryClient discoveryClient) public static string addMessage(Message message)
{ {
string id = "Error"; string id = "Error";
string temp = string.Empty; string temp = string.Empty;
//if (message.Tag.Contains(Syriatel, StringComparison.OrdinalIgnoreCase))
{ var resid = addMessageRedisAsync(message, RedisURL);
// get url using discovery client temp = resid.Result;
var resid = addMessageRedisAsync(message, RedisURL);
temp = resid.Result;
}
if (temp.Equals(RedisConnectionError)) if (temp.Equals(RedisConnectionError))
{ {
return RedisConnectionError; return RedisConnectionError;
......
...@@ -3,6 +3,7 @@ using Grpc.Core; ...@@ -3,6 +3,7 @@ using Grpc.Core;
using Steeltoe.Common.Discovery; using Steeltoe.Common.Discovery;
using Steeltoe.Discovery; using Steeltoe.Discovery;
using SchedulerNode.RedisQueuer; using SchedulerNode.RedisQueuer;
using Scheduler.MongoMessages;
namespace SchedulerNode.Services namespace SchedulerNode.Services
{ {
...@@ -10,42 +11,77 @@ namespace SchedulerNode.Services ...@@ -10,42 +11,77 @@ namespace SchedulerNode.Services
{ {
private readonly ILogger<QueueMessageService> _logger; private readonly ILogger<QueueMessageService> _logger;
private readonly IDiscoveryClient _client; private readonly IDiscoveryClient _client;
private readonly static string ErrorQueuing = "Error"; private readonly static string ErrorQueuing = "Error";
public readonly static string ErrorConnection = "Error Connecting to Redis"; public readonly static string ErrorConnection = "Error Connecting to Redis";
public readonly static string MyId = "Scheduler-1";
public QueueMessageService(ILogger<QueueMessageService> logger , IDiscoveryClient client) public QueueMessageService(ILogger<QueueMessageService> logger , IDiscoveryClient client)
{ {
_logger = logger; _logger = logger;
_client = client; _client = client;
//MessageQueues.init();
} }
public override Task<Acknowledgement> QueueMessage(Message message, ServerCallContext context) public override Task<Acknowledgement> QueueMessage(Message message, ServerCallContext context)
{ {
//Console.WriteLine("Message Receieved to Queuer !!"); //Console.WriteLine("Message Receieved to Queuer !!");
if (message.Year == 0)
{
return Task.FromResult(SendAsap(ref message));
}
else
{
return Task.FromResult(Schedule(ref message));
}
string reqId = MessageQueues.addMessage(message, _client); }
public Acknowledgement SendAsap(ref Message message)
{
string reqId = MessageQueues.addMessage(message);
Console.WriteLine("req id grcp que = " + reqId); Console.WriteLine("req id grcp que = " + reqId);
if (reqId.Equals(MessageQueues.RedisConnectionError)) if (reqId.Equals(MessageQueues.RedisConnectionError))
{ {
return Task.FromResult(new Acknowledgement return (new Acknowledgement
{ {
ReplyCode = ErrorQueuing, ReplyCode = ErrorQueuing,
RequestID = reqId, RequestID = reqId,
}); });
} }
return Task.FromResult(new Acknowledgement return (new Acknowledgement
{ {
ReplyCode = "OK on Send : id = " + message.MsgId + " ==> Message Reached Queue" ReplyCode = "OK on Send : id = " + message.MsgId + " ==> Message Reached Queue"
+ " with priority : " + message.LocalPriority , + " with priority : " + message.LocalPriority,
RequestID = reqId RequestID = reqId
}); });
} }
private Acknowledgement Schedule(ref Message message)
{
string res = MongoMessagesShceduler.insertMessage(ref message);
if (res.Equals (MongoMessagesShceduler.ConnectionError))
{
return new Acknowledgement
{
ReplyCode = ErrorQueuing,
RequestID = res
};
}
else
{
return new Acknowledgement
{
ReplyCode = res,
RequestID = "id = some id"
};
}
}
} }
} }
...@@ -24,18 +24,19 @@ namespace SchedulerNode { ...@@ -24,18 +24,19 @@ namespace SchedulerNode {
static SchemaReflection() { static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIoEBCgdNZXNzYWdl", "ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD", "EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg", "IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJIjcKD0Fja25vd2xlZGdl", "ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"bWVudBIRCglyZXBseUNvZGUYASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkK", "DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"BVF1ZXVlEkAKDFF1ZXVlTWVzc2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRob", "bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"LlRyYW5taXR0ZXIuQWNrbm93bGVkZ2VtZW50QhCqAg1TY2hlZHVsZXJOb2Rl", "ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkKBVF1ZXVlEkAKDFF1ZXVlTWVz",
"YgZwcm90bzM=")); "c2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRobLlRyYW5taXR0ZXIuQWNrbm93",
"bGVkZ2VtZW50QhCqAg1TY2hlZHVsZXJOb2RlYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::SchedulerNode.Message), global::SchedulerNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::SchedulerNode.Message), global::SchedulerNode.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SchedulerNode.Acknowledgement), global::SchedulerNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::SchedulerNode.Acknowledgement), global::SchedulerNode.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
})); }));
} }
...@@ -85,6 +86,11 @@ namespace SchedulerNode { ...@@ -85,6 +86,11 @@ namespace SchedulerNode {
localPriority_ = other.localPriority_; localPriority_ = other.localPriority_;
text_ = other.text_; text_ = other.text_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -178,6 +184,66 @@ namespace SchedulerNode { ...@@ -178,6 +184,66 @@ namespace SchedulerNode {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -200,6 +266,11 @@ namespace SchedulerNode { ...@@ -200,6 +266,11 @@ namespace SchedulerNode {
if (LocalPriority != other.LocalPriority) return false; if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false; if (Text != other.Text) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -214,6 +285,11 @@ namespace SchedulerNode { ...@@ -214,6 +285,11 @@ namespace SchedulerNode {
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode(); if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -260,6 +336,26 @@ namespace SchedulerNode { ...@@ -260,6 +336,26 @@ namespace SchedulerNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -298,6 +394,26 @@ namespace SchedulerNode { ...@@ -298,6 +394,26 @@ namespace SchedulerNode {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -329,6 +445,21 @@ namespace SchedulerNode { ...@@ -329,6 +445,21 @@ namespace SchedulerNode {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -362,6 +493,21 @@ namespace SchedulerNode { ...@@ -362,6 +493,21 @@ namespace SchedulerNode {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -405,6 +551,26 @@ namespace SchedulerNode { ...@@ -405,6 +551,26 @@ namespace SchedulerNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -448,6 +614,26 @@ namespace SchedulerNode { ...@@ -448,6 +614,26 @@ namespace SchedulerNode {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
6f8971af9414862698a411f352acad36316ccd21 1f0e2a1bb6cbe5b4409b9dd8371db07c8488c227
...@@ -42,3 +42,5 @@ ...@@ -42,3 +42,5 @@
2.0 2.0
2.0 2.0
2.0 2.0
2.0
2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScheduledMessagesHandler
{
public class MessageDTO
{
public string? clientID { get; set; }
public string? apiKey { get; set; }
public string? msgId { get; set; }
public string? phoneNumber { get; set; }
public int localPriority { get; set; }
public string? text { get; set; }
public string? tag { get; set; }
public int year { get; set; }
public int month { get; set; }
public int day { get; set; }
public int hour { get; set; }
public int minute { get; set; }
}
}
using MongoDB.Bson;
using MongoDB.Driver;
using ScheduledMessagesHandler.RedisQueuer;
namespace ScheduledMessagesHandler.MongoMessages
{
public class MongoMessagesShceduler
{
private static string MONGODB = "mongodb://127.0.0.1:27017";
private static string DataBaseName = "scheduled-messages";
private static string myCollection = "messages";
public static string ConnectionError = "Error Connecting to MongoDB on : " + MONGODB;
private static IMongoCollection<BsonDocument> collection;
private static string Pending = "Pending";
private static string Acked = "Acked";
//this NotTaken here must be the same of NotTaken in scheduler
private static string NotTaken = "Not-Taken";
private static int limit = 100000;
public static string init()
{
try
{
var client = new MongoClient(MONGODB);
var database = client.GetDatabase(DataBaseName);
collection = database.GetCollection<BsonDocument>(myCollection);
return "ok";
}
catch (Exception ex)
{
return ex.Message;
}
}
public static void getDuedMessagesAndQueue()
{
bool thereArePending = true;
while (true)
{
if (thereArePending)
{
thereArePending = getBulkMessages(Pending);
}
if (! thereArePending)
{
thereArePending = getBulkMessages(NotTaken);
}
//Task.Delay(5000);
}
}
private static bool getBulkMessages(string status)
{
var specificTime = DateTime.UtcNow;
var filter = Builders<BsonDocument>.Filter.And(
Builders<BsonDocument>.Filter.Lte("timestamp", specificTime),
Builders<BsonDocument>.Filter.Eq("status", status)
);
var docs = collection.Find(filter).Limit(limit).ToList<BsonDocument>();
if (docs.Count == 0)
{
return false;
}
UpdateDefinition<BsonDocument> updatePending = Builders<BsonDocument>.Update.Set("status", Pending);
UpdateDefinition<BsonDocument> updateAck = Builders<BsonDocument>.Update.Set("status", Acked);
foreach (var doc in docs)
{
MessageDTO message = getMessage(doc);
var _filter = Builders<BsonDocument>.Filter.Eq("_id", doc["_id"]);
if (!status.Equals(Pending))
{
collection.UpdateOne(_filter, updatePending);
}
string result = MessageQueues.addMessage(message);
if (!result.Equals (MessageQueues.RedisConnectionError))
{
collection.UpdateOne(_filter, updateAck);
//Console.WriteLine(message);
}
}
return true;
}
private static MessageDTO getMessage(BsonDocument doc)
{
MessageDTO message = new MessageDTO();
message.clientID = (string)doc["sender"];
message.text = (string)doc["content"];
message.tag = (string)doc["tag"];
message.localPriority = (int)doc["priority"];
message.phoneNumber = (string)doc["phone-number"];
message.msgId = (string)doc["msg-id"];
message.apiKey = (string)doc["api-key"];
message.year = message.month = message.day = message.hour = message.minute = 0;
return message;
}
}
}
using ScheduledMessagesHandler;
using ScheduledMessagesHandler.MongoMessages;
using ScheduledMessagesHandler.RedisQueuer;
using Steeltoe.Discovery.Client;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
services.AddDiscoveryClient();
})
.Build();
MessageQueues.init();
MongoMessagesShceduler.init();
await host.RunAsync();
{
"profiles": {
"ScheduledMessagesHandler": {
"commandName": "Project",
"dotnetRunMessages": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
}
}
}
using Newtonsoft.Json;
using ScheduledMessagesHandler;
using StackExchange.Redis;
using Steeltoe.Discovery;
namespace ScheduledMessagesHandler.RedisQueuer
{
public class MessageQueues
{
private static string RedisURL = "localhost:6379";
public static string RedisConnectionError = "Error Writing to Redis";
private static string Syriatel = "SYR";
private static string MTN = "MTN";
private static int LEVELS = 6;
private static IDatabase db = null;
public static void init()
{
var redis = ConnectionMultiplexer.Connect(RedisURL);
db = redis.GetDatabase();
for (int i=1; i < LEVELS; i++)
{
try
{
bool k1 = db.StreamCreateConsumerGroup(Syriatel+"_"+i.ToString(),
"SYS_MSGS",
0,
true);
bool k2 = db.StreamCreateConsumerGroup(MTN+"_"+i.ToString(),
"SYS_MSGS",
0,
true);
if (k1 && k2)
{
Console.WriteLine("OK");
}
}
catch (Exception ex)
{
continue;
}
}
}
public static string addMessage(MessageDTO message)
{
string id = "Error";
string temp = string.Empty;
var resid = addMessageRedisAsync(message, RedisURL);
temp = resid.Result;
if (temp.Equals(RedisConnectionError))
{
return RedisConnectionError;
}
id = message.tag + ":" + message.localPriority + ":" + temp;
return id;
}
private static async Task<string> addMessageRedisAsync(MessageDTO message, string URL)
{
try
{
string tag = getTag(ref message);
string streamName = tag + "_" + message.localPriority.ToString();
//Console.WriteLine("stream name = " + streamName);
var serializedMessage = JsonConvert.SerializeObject(message);
//Console.WriteLine("Sending to stream : " + streamName);
var messageId = await db.StreamAddAsync
(streamName,
new NameValueEntry[]
{
new NameValueEntry("message", serializedMessage)
});
//Console.WriteLine("Done Sending to stream : " + streamName);
//Console.WriteLine("Stream msg id = " + messageId);
//var messageId = "YES";
return messageId.ToString();
}
catch (Exception ex)
{
return await Task.FromResult(RedisConnectionError);
}
}
private static string getTag (ref MessageDTO message)
{
if(message.tag.Contains(Syriatel, StringComparison.OrdinalIgnoreCase))
{
return Syriatel;
}
else
{
return MTN;
}
}
}
}
<Project Sdk="Microsoft.NET.Sdk.Worker">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-ScheduledMessagesHandler-8B5723E2-676C-4BF7-B809-A54587AF3768</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
</ItemGroup>
<PropertyGroup>
<SteeltoeVersion>3.2.6</SteeltoeVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Steeltoe.Connector.ConnectorCore" Version="$(SteeltoeVersion)" />
<PackageReference Include="Steeltoe.Discovery.Eureka" Version="$(SteeltoeVersion)" />
<PackageReference Include="MongoDB.Driver" Version="2.27.0" />
<PackageReference Include="CSRedisCore" Version="3.8.803" />
<PackageReference Include="StackExchange.Redis" Version="2.8.0" />
</ItemGroup>
</Project>
using Steeltoe.Discovery;
using MongoDB.Bson;
using MongoDB.Driver;
using ScheduledMessagesHandler.MongoMessages;
namespace ScheduledMessagesHandler
{
public class Worker : BackgroundService
{
private readonly ILogger<Worker> _logger;
private readonly IDiscoveryClient client;
//public string ConnectionError = "Error Connecting to MongoDB on : " + MONGODB;
public Worker(ILogger<Worker> logger , IDiscoveryClient discoveryClient)
{
_logger = logger;
client = discoveryClient;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
MongoMessagesShceduler.getDuedMessagesAndQueue();
}
}
}
\ No newline at end of file
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"ScheduledMessagesHandler/1.0.0": {
"dependencies": {
"CSRedisCore": "3.8.803",
"Microsoft.Extensions.Hosting": "6.0.0",
"MongoDB.Driver": "2.27.0",
"StackExchange.Redis": "2.8.0",
"Steeltoe.Connector.ConnectorCore": "3.2.6",
"Steeltoe.Discovery.Eureka": "3.2.6",
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"ScheduledMessagesHandler.dll": {}
}
},
"AWSSDK.Core/3.7.100.14": {
"runtime": {
"lib/netcoreapp3.1/AWSSDK.Core.dll": {
"assemblyVersion": "3.3.0.0",
"fileVersion": "3.7.100.14"
}
}
},
"AWSSDK.SecurityToken/3.7.100.14": {
"dependencies": {
"AWSSDK.Core": "3.7.100.14"
},
"runtime": {
"lib/netcoreapp3.1/AWSSDK.SecurityToken.dll": {
"assemblyVersion": "3.3.0.0",
"fileVersion": "3.7.100.14"
}
}
},
"CSRedisCore/3.8.803": {
"dependencies": {
"Newtonsoft.Json": "13.0.1",
"System.ValueTuple": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/CSRedisCore.dll": {
"assemblyVersion": "3.8.803.0",
"fileVersion": "3.8.803.0"
}
}
},
"DnsClient/1.6.1": {
"dependencies": {
"Microsoft.Win32.Registry": "5.0.0"
},
"runtime": {
"lib/net5.0/DnsClient.dll": {
"assemblyVersion": "1.6.1.0",
"fileVersion": "1.6.1.0"
}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
"Microsoft.Extensions.Caching.Abstractions/3.1.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Configuration/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.Binder/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.CommandLine/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.EnvironmentVariables/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.FileExtensions/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Physical": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.Json/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "6.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
"System.Text.Json": "6.0.0"
}
},
"Microsoft.Extensions.Configuration.UserSecrets/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Configuration.Json": "6.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Physical": "6.0.0"
}
},
"Microsoft.Extensions.DependencyInjection/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {},
"Microsoft.Extensions.Diagnostics.HealthChecks/2.2.5": {
"dependencies": {
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions": "2.2.0",
"Microsoft.Extensions.Hosting.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0"
}
},
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions/2.2.0": {},
"Microsoft.Extensions.FileProviders.Abstractions/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.FileProviders.Physical/6.0.0": {
"dependencies": {
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
"Microsoft.Extensions.FileSystemGlobbing": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.FileSystemGlobbing/6.0.0": {},
"Microsoft.Extensions.Hosting/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Configuration.Binder": "6.0.0",
"Microsoft.Extensions.Configuration.CommandLine": "6.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "6.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "6.0.0",
"Microsoft.Extensions.Configuration.Json": "6.0.0",
"Microsoft.Extensions.Configuration.UserSecrets": "6.0.0",
"Microsoft.Extensions.DependencyInjection": "6.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Physical": "6.0.0",
"Microsoft.Extensions.Hosting.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging.Configuration": "6.0.0",
"Microsoft.Extensions.Logging.Console": "6.0.0",
"Microsoft.Extensions.Logging.Debug": "6.0.0",
"Microsoft.Extensions.Logging.EventLog": "6.0.0",
"Microsoft.Extensions.Logging.EventSource": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0"
}
},
"Microsoft.Extensions.Hosting.Abstractions/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0"
}
},
"Microsoft.Extensions.Http/3.1.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0"
}
},
"Microsoft.Extensions.Logging/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "6.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"System.Diagnostics.DiagnosticSource": "6.0.0"
}
},
"Microsoft.Extensions.Logging.Abstractions/6.0.0": {},
"Microsoft.Extensions.Logging.Configuration/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Configuration.Binder": "6.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "6.0.0"
}
},
"Microsoft.Extensions.Logging.Console/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging.Configuration": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"System.Text.Json": "6.0.0"
}
},
"Microsoft.Extensions.Logging.Debug/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0"
}
},
"Microsoft.Extensions.Logging.EventLog/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"System.Diagnostics.EventLog": "6.0.0"
}
},
"Microsoft.Extensions.Logging.EventSource/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Logging": "6.0.0",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0",
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Json": "6.0.0"
}
},
"Microsoft.Extensions.Options/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Options.ConfigurationExtensions/6.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Microsoft.Extensions.Configuration.Binder": "6.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
}
},
"Microsoft.Extensions.Primitives/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
"Microsoft.NETCore.Platforms/5.0.0": {},
"Microsoft.OpenApi/1.2.3": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "1.2.3.0",
"fileVersion": "1.2.3.0"
}
}
},
"Microsoft.Win32.Registry/5.0.0": {
"dependencies": {
"System.Security.AccessControl": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Bson/2.27.0": {
"dependencies": {
"System.Memory": "4.5.5",
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/MongoDB.Bson.dll": {
"assemblyVersion": "2.27.0.0",
"fileVersion": "2.27.0.0"
}
}
},
"MongoDB.Driver/2.27.0": {
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"MongoDB.Bson": "2.27.0",
"MongoDB.Driver.Core": "2.27.0",
"MongoDB.Libmongocrypt": "1.10.0"
},
"runtime": {
"lib/netstandard2.1/MongoDB.Driver.dll": {
"assemblyVersion": "2.27.0.0",
"fileVersion": "2.27.0.0"
}
}
},
"MongoDB.Driver.Core/2.27.0": {
"dependencies": {
"AWSSDK.SecurityToken": "3.7.100.14",
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"MongoDB.Bson": "2.27.0",
"MongoDB.Libmongocrypt": "1.10.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
},
"runtime": {
"lib/netstandard2.1/MongoDB.Driver.Core.dll": {
"assemblyVersion": "2.27.0.0",
"fileVersion": "2.27.0.0"
}
}
},
"MongoDB.Libmongocrypt/1.10.0": {
"runtime": {
"lib/netstandard2.1/MongoDB.Libmongocrypt.dll": {
"assemblyVersion": "1.10.0.0",
"fileVersion": "1.10.0.0"
}
},
"runtimeTargets": {
"runtimes/linux/native/libmongocrypt.so": {
"rid": "linux",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx/native/libmongocrypt.dylib": {
"rid": "osx",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win/native/mongocrypt.dll": {
"rid": "win",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
},
"Pipelines.Sockets.Unofficial/2.2.8": {
"dependencies": {
"System.IO.Pipelines": "5.0.1"
},
"runtime": {
"lib/net5.0/Pipelines.Sockets.Unofficial.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "2.2.8.1080"
}
}
},
"SharpCompress/0.30.1": {
"runtime": {
"lib/net5.0/SharpCompress.dll": {
"assemblyVersion": "0.30.1.0",
"fileVersion": "0.30.1.0"
}
}
},
"Snappier/1.0.0": {
"runtime": {
"lib/net5.0/Snappier.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"StackExchange.Redis/2.8.0": {
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Pipelines.Sockets.Unofficial": "2.2.8"
},
"runtime": {
"lib/net6.0/StackExchange.Redis.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.8.0.27420"
}
}
},
"Steeltoe.Common/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "3.1.0",
"Microsoft.Extensions.Configuration.Binder": "6.0.0",
"Microsoft.Extensions.Configuration.CommandLine": "6.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "6.0.0",
"Microsoft.Extensions.DependencyInjection": "6.0.0",
"Microsoft.Extensions.Logging.Console": "6.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "6.0.0",
"Steeltoe.Common.Abstractions": "3.2.6",
"System.Diagnostics.DiagnosticSource": "6.0.0",
"System.Reflection.MetadataLoadContext": "4.6.0",
"System.Text.Json": "6.0.0"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Common.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Common.Abstractions/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Configuration.Binder": "6.0.0"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Common.Abstractions.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Common.Http/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Http": "3.1.0",
"Steeltoe.Common": "3.2.6",
"Steeltoe.Discovery.Abstractions": "3.2.6",
"System.Text.Json": "6.0.0"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Common.Http.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Connector.Abstractions/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Steeltoe.Common.Abstractions": "3.2.6",
"Steeltoe.Extensions.Configuration.Abstractions": "3.2.6"
},
"runtime": {
"lib/net6.0/Steeltoe.Connector.Abstractions.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Connector.ConnectorBase/3.2.6": {
"dependencies": {
"Steeltoe.Common": "3.2.6",
"Steeltoe.Connector.Abstractions": "3.2.6"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Connector.ConnectorBase.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Connector.ConnectorCore/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Diagnostics.HealthChecks": "2.2.5",
"Steeltoe.Connector.ConnectorBase": "3.2.6"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Connector.ConnectorCore.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Discovery.Abstractions/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0",
"Steeltoe.Common.Abstractions": "3.2.6"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Discovery.Abstractions.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Discovery.ClientBase/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Hosting": "6.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "6.0.0",
"Steeltoe.Common.Http": "3.2.6",
"Steeltoe.Connector.ConnectorBase": "3.2.6",
"Steeltoe.Discovery.Abstractions": "3.2.6"
},
"runtime": {
"lib/net6.0/Steeltoe.Discovery.ClientBase.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Discovery.Eureka/3.2.6": {
"dependencies": {
"Steeltoe.Common.Http": "3.2.6",
"Steeltoe.Connector.Abstractions": "3.2.6",
"Steeltoe.Discovery.ClientBase": "3.2.6",
"System.Net.Http.Json": "3.2.1"
},
"runtime": {
"lib/netstandard2.0/Steeltoe.Discovery.Eureka.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Steeltoe.Extensions.Configuration.Abstractions/3.2.6": {
"dependencies": {
"Microsoft.Extensions.Configuration": "6.0.0",
"Microsoft.Extensions.Configuration.Binder": "6.0.0",
"Microsoft.Extensions.DependencyInjection": "6.0.0",
"Steeltoe.Common.Abstractions": "3.2.6"
},
"runtime": {
"lib/net6.0/Steeltoe.Extensions.Configuration.Abstractions.dll": {
"assemblyVersion": "3.2.6.0",
"fileVersion": "3.2.6.0"
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"System.Buffers/4.5.1": {},
"System.Diagnostics.DiagnosticSource/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
"System.Diagnostics.EventLog/6.0.0": {},
"System.IO.Pipelines/5.0.1": {},
"System.Memory/4.5.5": {},
"System.Net.Http.Json/3.2.1": {
"dependencies": {
"System.Text.Json": "6.0.0"
}
},
"System.Reflection.MetadataLoadContext/4.6.0": {
"runtime": {
"lib/netcoreapp3.0/System.Reflection.MetadataLoadContext.dll": {
"assemblyVersion": "4.0.0.0",
"fileVersion": "4.700.19.46214"
}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
"System.Security.AccessControl/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"System.Security.Principal.Windows/5.0.0": {},
"System.Text.Encodings.Web/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
"System.Text.Json/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "6.0.0"
}
},
"System.ValueTuple/4.5.0": {},
"ZstdSharp.Port/0.7.3": {
"runtime": {
"lib/net6.0/ZstdSharp.dll": {
"assemblyVersion": "0.7.3.0",
"fileVersion": "0.7.3.0"
}
}
}
}
},
"libraries": {
"ScheduledMessagesHandler/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"AWSSDK.Core/3.7.100.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gnEgxBlk4PFEfdPE8Lkf4+D16MZFYSaW7/o6Wwe5e035QWUkTJX0Dn4LfTCdV5QSEL/fOFxu+yCAm55eIIBgog==",
"path": "awssdk.core/3.7.100.14",
"hashPath": "awssdk.core.3.7.100.14.nupkg.sha512"
},
"AWSSDK.SecurityToken/3.7.100.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dGCVuVo0CFUKWW85W8YENO+aREf8sCBDjvGbnNvxJuNW4Ss+brEU9ltHhq2KfZze2VUNK1/wygbPG1bmbpyXEw==",
"path": "awssdk.securitytoken/3.7.100.14",
"hashPath": "awssdk.securitytoken.3.7.100.14.nupkg.sha512"
},
"CSRedisCore/3.8.803": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+tCmvsJy0f69WMARgRT9nmTtIiwJDkTl9g5H32r7mJ003IxeZKFhLkvjO6MIm/6o79wM+s0lLW4fYlBvWP8C8Q==",
"path": "csrediscore/3.8.803",
"hashPath": "csrediscore.3.8.803.nupkg.sha512"
},
"DnsClient/1.6.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4H/f2uYJOZ+YObZjpY9ABrKZI+JNw3uizp6oMzTXwDw6F+2qIPhpRl/1t68O/6e98+vqNiYGu+lswmwdYUy3gg==",
"path": "dnsclient/1.6.1",
"hashPath": "dnsclient.1.6.1.nupkg.sha512"
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
"path": "microsoft.extensions.apidescription.server/6.0.5",
"hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Abstractions/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+R7REEI+Pks1/ITjDdvey+QJzIG3tIYOtrv4RT40UVVe2Y1Sa8pIjJy3MzPZbyXVgOFN3JHFz1UZH8kz04aa5A==",
"path": "microsoft.extensions.caching.abstractions/3.1.0",
"hashPath": "microsoft.extensions.caching.abstractions.3.1.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-tq2wXyh3fL17EMF2bXgRhU7JrbO3on93MRKYxzz4JzzvuGSA1l0W3GI9/tl8EO89TH+KWEymP7bcFway6z9fXg==",
"path": "microsoft.extensions.configuration/6.0.0",
"hashPath": "microsoft.extensions.configuration.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==",
"path": "microsoft.extensions.configuration.abstractions/6.0.0",
"hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Binder/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-b3ErKzND8LIC7o08QAVlKfaEIYEvLJbtmVbFZVBRXeu9YkKfSSzLZfR1SUfQPBIy9mKLhEtJgGYImkcMNaKE0A==",
"path": "microsoft.extensions.configuration.binder/6.0.0",
"hashPath": "microsoft.extensions.configuration.binder.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.CommandLine/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3nL1qCkZ1Oxx14ZTzgo4MmlO7tso7F+TtMZAY2jUAtTLyAcDp+EDjk3RqafoKiNaePyPvvlleEcBxh3b2Hzl1g==",
"path": "microsoft.extensions.configuration.commandline/6.0.0",
"hashPath": "microsoft.extensions.configuration.commandline.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.EnvironmentVariables/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DjYkzqvhiHCq38LW71PcIxXk6nhtV6VySP9yDcSO0goPl7YCU1VG1f2Wbgy58lkA10pWkjHCblZPUyboCB93ZA==",
"path": "microsoft.extensions.configuration.environmentvariables/6.0.0",
"hashPath": "microsoft.extensions.configuration.environmentvariables.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.FileExtensions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-V4Dth2cYMZpw3HhGw9XUDIijpI6gN+22LDt0AhufIgOppCUfpWX4483OmN+dFXRJkJLc8Tv0Q8QK+1ingT2+KQ==",
"path": "microsoft.extensions.configuration.fileextensions/6.0.0",
"hashPath": "microsoft.extensions.configuration.fileextensions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Json/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GJGery6QytCzS/BxJ96klgG9in3uH26KcUBbiVG/coNDXCRq6LGVVlUT4vXq34KPuM+R2av+LeYdX9h4IZOCUg==",
"path": "microsoft.extensions.configuration.json/6.0.0",
"hashPath": "microsoft.extensions.configuration.json.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.UserSecrets/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lB0Hb2V4+RUHy+LjEcqEr4EcV4RWc9EnjAV2GdtWQEdljQX+R4hGREftI7sInU9okP93pDrJiaj6QUJ6ZsslOA==",
"path": "microsoft.extensions.configuration.usersecrets/6.0.0",
"hashPath": "microsoft.extensions.configuration.usersecrets.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==",
"path": "microsoft.extensions.dependencyinjection/6.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Diagnostics.HealthChecks/2.2.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/Il+nqw4dgR0b01qJnE9e99bnF8JpZQye1dTlTn9OSKFkdPXJsNZj9uzaJJIhd+Bc17saIqRW8gUUSLqlayqKg==",
"path": "microsoft.extensions.diagnostics.healthchecks/2.2.5",
"hashPath": "microsoft.extensions.diagnostics.healthchecks.2.2.5.nupkg.sha512"
},
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cO6f4csTakJXuLWnU/p5mfQInyNq5sSi4mS2YtQZcGoHynU6P/TD6gjqt1TRnVfwuZLw3tmmw2ipFrHbBUqWew==",
"path": "microsoft.extensions.diagnostics.healthchecks.abstractions/2.2.0",
"hashPath": "microsoft.extensions.diagnostics.healthchecks.abstractions.2.2.0.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0pd4/fho0gC12rQswaGQxbU34jOS1TPS8lZPpkFCH68ppQjHNHYle9iRuHeev1LhrJ94YPvzcRd8UmIuFk23Qw==",
"path": "microsoft.extensions.fileproviders.abstractions/6.0.0",
"hashPath": "microsoft.extensions.fileproviders.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Physical/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QvkL7l0nM8udt3gfyu0Vw8bbCXblxaKOl7c2oBfgGy4LCURRaL9XWZX1FWJrQc43oMokVneVxH38iz+bY1sbhg==",
"path": "microsoft.extensions.fileproviders.physical/6.0.0",
"hashPath": "microsoft.extensions.fileproviders.physical.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.FileSystemGlobbing/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ip8jnL1aPiaPeKINCqaTEbvBFDmVx9dXQEBZ2HOBRXPD1eabGNqP/bKlsIcp7U2lGxiXd5xIhoFcmY8nM4Hdiw==",
"path": "microsoft.extensions.filesystemglobbing/6.0.0",
"hashPath": "microsoft.extensions.filesystemglobbing.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Hosting/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M8VzD0ni5VarIRT8njnwK4K2WSAo0kZH4Zc3mKcSGkP4CjDZ91T9ZEFmmwhmo4z7x8AFq+tW0WFi9wX+K2cxkQ==",
"path": "microsoft.extensions.hosting/6.0.0",
"hashPath": "microsoft.extensions.hosting.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Hosting.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GcT5l2CYXL6Sa27KCSh0TixsRfADUgth+ojQSD5EkzisZxmGFh7CwzkcYuGwvmXLjr27uWRNrJ2vuuEjMhU05Q==",
"path": "microsoft.extensions.hosting.abstractions/6.0.0",
"hashPath": "microsoft.extensions.hosting.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Http/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DLigdcV0nYaT6/ly0rnfP80BnXq8NNd/h8/SkfY39uio7Bd9LauVntp6RcRh1Kj23N+uf80GgL7Win6P3BCtoQ==",
"path": "microsoft.extensions.http/3.1.0",
"hashPath": "microsoft.extensions.http.3.1.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==",
"path": "microsoft.extensions.logging/6.0.0",
"hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==",
"path": "microsoft.extensions.logging.abstractions/6.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Configuration/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZDskjagmBAbv+K8rYW9VhjPplhbOE63xUD0DiuydZJwt15dRyoqicYklLd86zzeintUc7AptDkHn+YhhYkYo8A==",
"path": "microsoft.extensions.logging.configuration/6.0.0",
"hashPath": "microsoft.extensions.logging.configuration.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Console/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gsqKzOEdsvq28QiXFxagmn1oRB9GeI5GgYCkoybZtQA0IUb7QPwf1WmN3AwJeNIsadTvIFQCiVK0OVIgKfOBGg==",
"path": "microsoft.extensions.logging.console/6.0.0",
"hashPath": "microsoft.extensions.logging.console.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Debug/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M9g/JixseSZATJE9tcMn9uzoD4+DbSglivFqVx8YkRJ7VVPmnvCEbOZ0AAaxsL1EKyI4cz07DXOOJExxNsUOHw==",
"path": "microsoft.extensions.logging.debug/6.0.0",
"hashPath": "microsoft.extensions.logging.debug.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.EventLog/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-rlo0RxlMd0WtLG3CHI0qOTp6fFn7MvQjlrCjucA31RqmiMFCZkF8CHNbe8O7tbBIyyoLGWB1he9CbaA5iyHthg==",
"path": "microsoft.extensions.logging.eventlog/6.0.0",
"hashPath": "microsoft.extensions.logging.eventlog.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.EventSource/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-BeDyyqt7nkm/nr+Gdk+L8n1tUT/u33VkbXAOesgYSNsxDM9hJ1NOBGoZfj9rCbeD2+9myElI6JOVVFmnzgeWQA==",
"path": "microsoft.extensions.logging.eventsource/6.0.0",
"hashPath": "microsoft.extensions.logging.eventsource.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==",
"path": "microsoft.extensions.options/6.0.0",
"hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options.ConfigurationExtensions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bXWINbTn0vC0FYc9GaQTISbxhQLAMrvtbuvD9N6JelEaIS/Pr62wUCinrq5bf1WRBGczt1v4wDhxFtVFNcMdUQ==",
"path": "microsoft.extensions.options.configurationextensions/6.0.0",
"hashPath": "microsoft.extensions.options.configurationextensions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==",
"path": "microsoft.extensions.primitives/6.0.0",
"hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==",
"path": "microsoft.netcore.platforms/5.0.0",
"hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512"
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"path": "microsoft.openapi/1.2.3",
"hashPath": "microsoft.openapi.1.2.3.nupkg.sha512"
},
"Microsoft.Win32.Registry/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==",
"path": "microsoft.win32.registry/5.0.0",
"hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
},
"MongoDB.Bson/2.27.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IZ0B3upRWzDkV9wWSJ4bO8BriYZ2ChjtBCHFGFglOVDZHjLz1D7Bmx2yAFQf/kWyieKD7s7xBLDywzezNX+NCw==",
"path": "mongodb.bson/2.27.0",
"hashPath": "mongodb.bson.2.27.0.nupkg.sha512"
},
"MongoDB.Driver/2.27.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-AP9z8FktHqKu/M3AOQ46fBTm7zLcJPOWvet8KY6NfwgXOqJwqHsedyjj0COceIvwAm2gdbRrR3bryfy0HzFuIw==",
"path": "mongodb.driver/2.27.0",
"hashPath": "mongodb.driver.2.27.0.nupkg.sha512"
},
"MongoDB.Driver.Core/2.27.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VoihnTUynBPRfLHAlcgW1UBcR8XF67x/F79a6f/cmxIogLlYViICleARYqBytnrXjoqylp00xWo0BNaelENo7A==",
"path": "mongodb.driver.core/2.27.0",
"hashPath": "mongodb.driver.core.2.27.0.nupkg.sha512"
},
"MongoDB.Libmongocrypt/1.10.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2toxrngTVcb5PhQJMPlsxxnG97XJ+28WyBeW1Wfh2X+LOFbKabJDJJuWwipB9wLIb5VmqXEPWl6zYVvEW1cdAA==",
"path": "mongodb.libmongocrypt/1.10.0",
"hashPath": "mongodb.libmongocrypt.1.10.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
},
"Pipelines.Sockets.Unofficial/2.2.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zG2FApP5zxSx6OcdJQLbZDk2AVlN2BNQD6MorwIfV6gVj0RRxWPEp2LXAxqDGZqeNV1Zp0BNPcNaey/GXmTdvQ==",
"path": "pipelines.sockets.unofficial/2.2.8",
"hashPath": "pipelines.sockets.unofficial.2.2.8.nupkg.sha512"
},
"SharpCompress/0.30.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XqD4TpfyYGa7QTPzaGlMVbcecKnXy4YmYLDWrU+JIj7IuRNl7DH2END+Ll7ekWIY8o3dAMWLFDE1xdhfIWD1nw==",
"path": "sharpcompress/0.30.1",
"hashPath": "sharpcompress.0.30.1.nupkg.sha512"
},
"Snappier/1.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-rFtK2KEI9hIe8gtx3a0YDXdHOpedIf9wYCEYtBEmtlyiWVX3XlCNV03JrmmAi/Cdfn7dxK+k0sjjcLv4fpHnqA==",
"path": "snappier/1.0.0",
"hashPath": "snappier.1.0.0.nupkg.sha512"
},
"StackExchange.Redis/2.8.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MjAJ0ejH8zLhtuN5+Z+/I07NmPGdVuGEvE2+4xONQoFwgl+7vbQ/A6jlUgH9UkZb4s9Mu9QDyBq1TkRqQcOgTQ==",
"path": "stackexchange.redis/2.8.0",
"hashPath": "stackexchange.redis.2.8.0.nupkg.sha512"
},
"Steeltoe.Common/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Xy2dCXh8OwzOR5t6/owrDOds/NwXlHpPzfSgP74csHegtrrGXlIvjtxD9MiG6ljzgy/o4wCTEKkD8HIXfLiQ6A==",
"path": "steeltoe.common/3.2.6",
"hashPath": "steeltoe.common.3.2.6.nupkg.sha512"
},
"Steeltoe.Common.Abstractions/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-jZBFHFrbUHjQfiAjCx2dlskT/m34SQP/oOfRadVmxt+wc2d8Mh8k3A0YLP6Kr02mZtfjLhnaTcxCghJeptv/sA==",
"path": "steeltoe.common.abstractions/3.2.6",
"hashPath": "steeltoe.common.abstractions.3.2.6.nupkg.sha512"
},
"Steeltoe.Common.Http/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-btPjQdqs3FE5jV7T/ESnE7KDo718rPs2AUiAfs14FZVRpn0u2yFYDLz9DHqtLGW74PwyD2TSa5novCuBM3b+nw==",
"path": "steeltoe.common.http/3.2.6",
"hashPath": "steeltoe.common.http.3.2.6.nupkg.sha512"
},
"Steeltoe.Connector.Abstractions/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yp1lR0J4JHe4gqAaI6SNcuzxD6/7sfCu78DQDwtekl3rPiB8nehRqxQrTNUSQrgIWsKyScXW5MX0FjmJmrHVYg==",
"path": "steeltoe.connector.abstractions/3.2.6",
"hashPath": "steeltoe.connector.abstractions.3.2.6.nupkg.sha512"
},
"Steeltoe.Connector.ConnectorBase/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MpmNeL87sWqGxefPBPBnymjJrvYg0JTF+zjnFAXJvo2Clciuv5LnVv0G1eUepqY/gNq/YgaPMWHLN8B5zjmqaA==",
"path": "steeltoe.connector.connectorbase/3.2.6",
"hashPath": "steeltoe.connector.connectorbase.3.2.6.nupkg.sha512"
},
"Steeltoe.Connector.ConnectorCore/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eWcSaZAVQknJqIwM0pEBHeOUZg5eD5FpujP3ZlY8reegcgDLE8stUFMnTmJA0mPQ7/Cjs5zplbZnm0f/yRJQ2A==",
"path": "steeltoe.connector.connectorcore/3.2.6",
"hashPath": "steeltoe.connector.connectorcore.3.2.6.nupkg.sha512"
},
"Steeltoe.Discovery.Abstractions/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nZsdB5RKB1OMvCooLrvTRxGfaiFb5Pu2S3yxBc0FRDRHrLnFs7DyQhAym+ZNeiBomb9p6hT79h03Ws3hwEJpfA==",
"path": "steeltoe.discovery.abstractions/3.2.6",
"hashPath": "steeltoe.discovery.abstractions.3.2.6.nupkg.sha512"
},
"Steeltoe.Discovery.ClientBase/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-efv/lN10m+tcBBarfI9sQ9o8d+ssVkB/RZTTMKPP4U11CuaDmj4sPYHg40MoTyIUwLyn74H2nSeRYMEyRyFgMw==",
"path": "steeltoe.discovery.clientbase/3.2.6",
"hashPath": "steeltoe.discovery.clientbase.3.2.6.nupkg.sha512"
},
"Steeltoe.Discovery.Eureka/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VWLsF0dsUdn2aXjXK2Rv5Q1AhGJOaHT1EbUrDqUPsOTZ+P+lpGB5D1Sgr3z25xQ/BEdeV/6W8/aV05GpPiZRgg==",
"path": "steeltoe.discovery.eureka/3.2.6",
"hashPath": "steeltoe.discovery.eureka.3.2.6.nupkg.sha512"
},
"Steeltoe.Extensions.Configuration.Abstractions/3.2.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zeflgvXeExfsgkL3ox0/+moBWOpDZT6EgBlTZifcMuzQ9Jk6j6EgSmSp4gxQ6iyK3VtdUwBUza33CXC1PFoWow==",
"path": "steeltoe.extensions.configuration.abstractions/3.2.6",
"hashPath": "steeltoe.extensions.configuration.abstractions.3.2.6.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
},
"System.Buffers/4.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
"path": "system.buffers/4.5.1",
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
},
"System.Diagnostics.DiagnosticSource/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==",
"path": "system.diagnostics.diagnosticsource/6.0.0",
"hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512"
},
"System.Diagnostics.EventLog/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lcyUiXTsETK2ALsZrX+nWuHSIQeazhqPphLfaRxzdGaG93+0kELqpgEHtwWOlQe7+jSFnKwaCAgL4kjeZCQJnw==",
"path": "system.diagnostics.eventlog/6.0.0",
"hashPath": "system.diagnostics.eventlog.6.0.0.nupkg.sha512"
},
"System.IO.Pipelines/5.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==",
"path": "system.io.pipelines/5.0.1",
"hashPath": "system.io.pipelines.5.0.1.nupkg.sha512"
},
"System.Memory/4.5.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"path": "system.memory/4.5.5",
"hashPath": "system.memory.4.5.5.nupkg.sha512"
},
"System.Net.Http.Json/3.2.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KkevRTwX9uMYxuxG2/wSql8FIAItB89XT36zoh6hraQkFhf2yjotDswpAKzeuaEuMhAia6c50oZMkP1PJoYufQ==",
"path": "system.net.http.json/3.2.1",
"hashPath": "system.net.http.json.3.2.1.nupkg.sha512"
},
"System.Reflection.MetadataLoadContext/4.6.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-TezS9fEP9kzL5U6GYHZY6I/tqz6qiHKNgAzuT6JJXJXuP+wWvNLN03gPxBK2uLP0LrLg/QXEAF++lxBNBSYILA==",
"path": "system.reflection.metadataloadcontext/4.6.0",
"hashPath": "system.reflection.metadataloadcontext.4.6.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
},
"System.Security.AccessControl/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==",
"path": "system.security.accesscontrol/5.0.0",
"hashPath": "system.security.accesscontrol.5.0.0.nupkg.sha512"
},
"System.Security.Principal.Windows/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==",
"path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
},
"System.Text.Encodings.Web/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==",
"path": "system.text.encodings.web/6.0.0",
"hashPath": "system.text.encodings.web.6.0.0.nupkg.sha512"
},
"System.Text.Json/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zaJsHfESQvJ11vbXnNlkrR46IaMULk/gHxYsJphzSF+07kTjPHv+Oc14w6QEOfo3Q4hqLJgStUaYB9DBl0TmWg==",
"path": "system.text.json/6.0.0",
"hashPath": "system.text.json.6.0.0.nupkg.sha512"
},
"System.ValueTuple/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
"path": "system.valuetuple/4.5.0",
"hashPath": "system.valuetuple.4.5.0.nupkg.sha512"
},
"ZstdSharp.Port/0.7.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-U9Ix4l4cl58Kzz1rJzj5hoVTjmbx1qGMwzAcbv1j/d3NzrFaESIurQyg+ow4mivCgkE3S413y+U9k4WdnEIkRA==",
"path": "zstdsharp.port/0.7.3",
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
}
}
}
\ No newline at end of file
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "6.0.0"
}
]
}
}
\ No newline at end of file
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
obj\Debug\net6.0\Protos/Schema.cs \
obj\Debug\net6.0\Protos/SchemaGrpc.cs: Protos/schema.proto
\ No newline at end of file
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos/schema.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace ScheduledMessagesHandler {
/// <summary>Holder for reflection information generated from Protos/schema.proto</summary>
public static partial class SchemaReflection {
#region Descriptor
/// <summary>File descriptor for Protos/schema.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SchemaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChNQcm90b3Mvc2NoZW1hLnByb3RvEgpUcmFubWl0dGVyIskBCgdNZXNzYWdl",
"EhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRINCgVtc2dJZBgD",
"IAEoCRITCgtwaG9uZU51bWJlchgEIAEoCRIVCg1sb2NhbFByaW9yaXR5GAUg",
"ASgFEgwKBHRleHQYBiABKAkSCwoDdGFnGAcgASgJEgwKBHllYXIYCCABKAUS",
"DQoFbW9udGgYCSABKAUSCwoDZGF5GAogASgFEgwKBGhvdXIYCyABKAUSDgoG",
"bWludXRlGAwgASgFIjcKD0Fja25vd2xlZGdlbWVudBIRCglyZXBseUNvZGUY",
"ASABKAkSEQoJcmVxdWVzdElEGAIgASgJMkkKBVF1ZXVlEkAKDFF1ZXVlTWVz",
"c2FnZRITLlRyYW5taXR0ZXIuTWVzc2FnZRobLlRyYW5taXR0ZXIuQWNrbm93",
"bGVkZ2VtZW50QhuqAhhTY2hlZHVsZWRNZXNzYWdlc0hhbmRsZXJiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::ScheduledMessagesHandler.Message), global::ScheduledMessagesHandler.Message.Parser, new[]{ "ClientID", "ApiKey", "MsgId", "PhoneNumber", "LocalPriority", "Text", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ScheduledMessagesHandler.Acknowledgement), global::ScheduledMessagesHandler.Acknowledgement.Parser, new[]{ "ReplyCode", "RequestID" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Message : pb::IMessage<Message>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Message> _parser = new pb::MessageParser<Message>(() => new Message());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Message> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::ScheduledMessagesHandler.SchemaReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Message() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Message(Message other) : this() {
clientID_ = other.clientID_;
apiKey_ = other.apiKey_;
msgId_ = other.msgId_;
phoneNumber_ = other.phoneNumber_;
localPriority_ = other.localPriority_;
text_ = other.text_;
tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Message Clone() {
return new Message(this);
}
/// <summary>Field number for the "clientID" field.</summary>
public const int ClientIDFieldNumber = 1;
private string clientID_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientID {
get { return clientID_; }
set {
clientID_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "apiKey" field.</summary>
public const int ApiKeyFieldNumber = 2;
private string apiKey_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ApiKey {
get { return apiKey_; }
set {
apiKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "msgId" field.</summary>
public const int MsgIdFieldNumber = 3;
private string msgId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string MsgId {
get { return msgId_; }
set {
msgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "phoneNumber" field.</summary>
public const int PhoneNumberFieldNumber = 4;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "localPriority" field.</summary>
public const int LocalPriorityFieldNumber = 5;
private int localPriority_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LocalPriority {
get { return localPriority_; }
set {
localPriority_ = value;
}
}
/// <summary>Field number for the "text" field.</summary>
public const int TextFieldNumber = 6;
private string text_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Text {
get { return text_; }
set {
text_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "tag" field.</summary>
public const int TagFieldNumber = 7;
private string tag_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Tag {
get { return tag_; }
set {
tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 8;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 9;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 10;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 11;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 12;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Message);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Message other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ClientID != other.ClientID) return false;
if (ApiKey != other.ApiKey) return false;
if (MsgId != other.MsgId) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (LocalPriority != other.LocalPriority) return false;
if (Text != other.Text) return false;
if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ClientID.Length != 0) hash ^= ClientID.GetHashCode();
if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode();
if (MsgId.Length != 0) hash ^= MsgId.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (LocalPriority != 0) hash ^= LocalPriority.GetHashCode();
if (Text.Length != 0) hash ^= Text.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ClientID.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ClientID);
}
if (ApiKey.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ApiKey);
}
if (MsgId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MsgId);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(34);
output.WriteString(PhoneNumber);
}
if (LocalPriority != 0) {
output.WriteRawTag(40);
output.WriteInt32(LocalPriority);
}
if (Text.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Text);
}
if (Tag.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Tag);
}
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ClientID.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ClientID);
}
if (ApiKey.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ApiKey);
}
if (MsgId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MsgId);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(34);
output.WriteString(PhoneNumber);
}
if (LocalPriority != 0) {
output.WriteRawTag(40);
output.WriteInt32(LocalPriority);
}
if (Text.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Text);
}
if (Tag.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Tag);
}
if (Year != 0) {
output.WriteRawTag(64);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(72);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(80);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(88);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(96);
output.WriteInt32(Minute);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ClientID.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientID);
}
if (ApiKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ApiKey);
}
if (MsgId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(MsgId);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (LocalPriority != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LocalPriority);
}
if (Text.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
}
if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
}
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Message other) {
if (other == null) {
return;
}
if (other.ClientID.Length != 0) {
ClientID = other.ClientID;
}
if (other.ApiKey.Length != 0) {
ApiKey = other.ApiKey;
}
if (other.MsgId.Length != 0) {
MsgId = other.MsgId;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.LocalPriority != 0) {
LocalPriority = other.LocalPriority;
}
if (other.Text.Length != 0) {
Text = other.Text;
}
if (other.Tag.Length != 0) {
Tag = other.Tag;
}
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
ClientID = input.ReadString();
break;
}
case 18: {
ApiKey = input.ReadString();
break;
}
case 26: {
MsgId = input.ReadString();
break;
}
case 34: {
PhoneNumber = input.ReadString();
break;
}
case 40: {
LocalPriority = input.ReadInt32();
break;
}
case 50: {
Text = input.ReadString();
break;
}
case 58: {
Tag = input.ReadString();
break;
}
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
ClientID = input.ReadString();
break;
}
case 18: {
ApiKey = input.ReadString();
break;
}
case 26: {
MsgId = input.ReadString();
break;
}
case 34: {
PhoneNumber = input.ReadString();
break;
}
case 40: {
LocalPriority = input.ReadInt32();
break;
}
case 50: {
Text = input.ReadString();
break;
}
case 58: {
Tag = input.ReadString();
break;
}
case 64: {
Year = input.ReadInt32();
break;
}
case 72: {
Month = input.ReadInt32();
break;
}
case 80: {
Day = input.ReadInt32();
break;
}
case 88: {
Hour = input.ReadInt32();
break;
}
case 96: {
Minute = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Acknowledgement : pb::IMessage<Acknowledgement>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Acknowledgement> _parser = new pb::MessageParser<Acknowledgement>(() => new Acknowledgement());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Acknowledgement> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::ScheduledMessagesHandler.SchemaReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Acknowledgement() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Acknowledgement(Acknowledgement other) : this() {
replyCode_ = other.replyCode_;
requestID_ = other.requestID_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Acknowledgement Clone() {
return new Acknowledgement(this);
}
/// <summary>Field number for the "replyCode" field.</summary>
public const int ReplyCodeFieldNumber = 1;
private string replyCode_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ReplyCode {
get { return replyCode_; }
set {
replyCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "requestID" field.</summary>
public const int RequestIDFieldNumber = 2;
private string requestID_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RequestID {
get { return requestID_; }
set {
requestID_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Acknowledgement);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Acknowledgement other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ReplyCode != other.ReplyCode) return false;
if (RequestID != other.RequestID) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ReplyCode.Length != 0) hash ^= ReplyCode.GetHashCode();
if (RequestID.Length != 0) hash ^= RequestID.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ReplyCode.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ReplyCode);
}
if (RequestID.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RequestID);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ReplyCode.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ReplyCode);
}
if (RequestID.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RequestID);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ReplyCode.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ReplyCode);
}
if (RequestID.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestID);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Acknowledgement other) {
if (other == null) {
return;
}
if (other.ReplyCode.Length != 0) {
ReplyCode = other.ReplyCode;
}
if (other.RequestID.Length != 0) {
RequestID = other.RequestID;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
ReplyCode = input.ReadString();
break;
}
case 18: {
RequestID = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
ReplyCode = input.ReadString();
break;
}
case 18: {
RequestID = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos/schema.proto
// </auto-generated>
#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;
namespace ScheduledMessagesHandler {
public static partial class Queue
{
static readonly string __ServiceName = "Tranmitter.Queue";
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (message is global::Google.Protobuf.IBufferMessage)
{
context.SetPayloadLength(message.CalculateSize());
global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
context.Complete();
return;
}
#endif
context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static class __Helper_MessageCache<T>
{
public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (__Helper_MessageCache<T>.IsBufferMessage)
{
return parser.ParseFrom(context.PayloadAsReadOnlySequence());
}
#endif
return parser.ParseFrom(context.PayloadAsNewBuffer());
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::ScheduledMessagesHandler.Message> __Marshaller_Tranmitter_Message = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ScheduledMessagesHandler.Message.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::ScheduledMessagesHandler.Acknowledgement> __Marshaller_Tranmitter_Acknowledgement = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ScheduledMessagesHandler.Acknowledgement.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::ScheduledMessagesHandler.Message, global::ScheduledMessagesHandler.Acknowledgement> __Method_QueueMessage = new grpc::Method<global::ScheduledMessagesHandler.Message, global::ScheduledMessagesHandler.Acknowledgement>(
grpc::MethodType.Unary,
__ServiceName,
"QueueMessage",
__Marshaller_Tranmitter_Message,
__Marshaller_Tranmitter_Acknowledgement);
/// <summary>Service descriptor</summary>
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::ScheduledMessagesHandler.SchemaReflection.Descriptor.Services[0]; }
}
/// <summary>Client for Queue</summary>
public partial class QueueClient : grpc::ClientBase<QueueClient>
{
/// <summary>Creates a new client for Queue</summary>
/// <param name="channel">The channel to use to make remote calls.</param>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public QueueClient(grpc::ChannelBase channel) : base(channel)
{
}
/// <summary>Creates a new client for Queue that uses a custom <c>CallInvoker</c>.</summary>
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public QueueClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected QueueClient() : base()
{
}
/// <summary>Protected constructor to allow creation of configured clients.</summary>
/// <param name="configuration">The client configuration.</param>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected QueueClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ScheduledMessagesHandler.Acknowledgement QueueMessage(global::ScheduledMessagesHandler.Message request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return QueueMessage(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ScheduledMessagesHandler.Acknowledgement QueueMessage(global::ScheduledMessagesHandler.Message request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_QueueMessage, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::ScheduledMessagesHandler.Acknowledgement> QueueMessageAsync(global::ScheduledMessagesHandler.Message request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return QueueMessageAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::ScheduledMessagesHandler.Acknowledgement> QueueMessageAsync(global::ScheduledMessagesHandler.Message request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_QueueMessage, null, options, request);
}
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected override QueueClient NewInstance(ClientBaseConfiguration configuration)
{
return new QueueClient(configuration);
}
}
}
}
#endregion
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("dotnet-ScheduledMessagesHandler-8B5723E2-676C-4BF7-B809-A54587AF3768")]
[assembly: System.Reflection.AssemblyCompanyAttribute("ScheduledMessagesHandler")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("ScheduledMessagesHandler")]
[assembly: System.Reflection.AssemblyTitleAttribute("ScheduledMessagesHandler")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ScheduledMessagesHandler
build_property.ProjectDir = D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\
// <auto-generated/>
global using global::Microsoft.Extensions.Configuration;
global using global::Microsoft.Extensions.DependencyInjection;
global using global::Microsoft.Extensions.Hosting;
global using global::Microsoft.Extensions.Logging;
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\appsettings.Development.json
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\appsettings.json
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ScheduledMessagesHandler.exe
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ScheduledMessagesHandler.deps.json
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ScheduledMessagesHandler.runtimeconfig.json
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ScheduledMessagesHandler.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ref\ScheduledMessagesHandler.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ScheduledMessagesHandler.pdb
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\AWSSDK.Core.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\AWSSDK.SecurityToken.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\CSRedisCore.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\DnsClient.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Microsoft.OpenApi.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\MongoDB.Bson.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\MongoDB.Driver.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\MongoDB.Driver.Core.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\MongoDB.Libmongocrypt.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Newtonsoft.Json.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Pipelines.Sockets.Unofficial.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\SharpCompress.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Snappier.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\StackExchange.Redis.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Common.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Common.Abstractions.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Common.Http.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Connector.Abstractions.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Connector.ConnectorBase.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Connector.ConnectorCore.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Discovery.Abstractions.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Discovery.ClientBase.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Discovery.Eureka.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Steeltoe.Extensions.Configuration.Abstractions.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\System.Reflection.MetadataLoadContext.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\ZstdSharp.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\runtimes\linux\native\libmongocrypt.so
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\runtimes\osx\native\libmongocrypt.dylib
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\bin\Debug\net6.0\runtimes\win\native\mongocrypt.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.csproj.AssemblyReference.cache
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.GeneratedMSBuildEditorConfig.editorconfig
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.AssemblyInfoInputs.cache
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.AssemblyInfo.cs
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.csproj.CoreCompileInputs.cache
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.csproj.CopyComplete
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ref\ScheduledMessagesHandler.dll
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.pdb
D:\HIAST\FIY\Project-MSGPriorityQ\GrpcMessage\message-priority-queue\ScheduledMessagesHandler\obj\Debug\net6.0\ScheduledMessagesHandler.genruntimeconfig.cache
{
"format": 1,
"restore": {
"D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\ScheduledMessagesHandler.csproj": {}
},
"projects": {
"D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\ScheduledMessagesHandler.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\ScheduledMessagesHandler.csproj",
"projectName": "ScheduledMessagesHandler",
"projectPath": "D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\ScheduledMessagesHandler.csproj",
"packagesPath": "C:\\Users\\moham\\.nuget\\packages\\",
"outputPath": "D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\moham\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"CSRedisCore": {
"target": "Package",
"version": "[3.8.803, )"
},
"Microsoft.Extensions.Hosting": {
"target": "Package",
"version": "[6.0.0, )"
},
"MongoDB.Driver": {
"target": "Package",
"version": "[2.27.0, )"
},
"StackExchange.Redis": {
"target": "Package",
"version": "[2.8.0, )"
},
"Steeltoe.Connector.ConnectorCore": {
"target": "Package",
"version": "[3.2.6, )"
},
"Steeltoe.Discovery.Eureka": {
"target": "Package",
"version": "[3.2.6, )"
},
"Swashbuckle.AspNetCore": {
"target": "Package",
"version": "[6.4.*, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json"
}
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\moham\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\moham\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" />
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\moham\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server>
<PkgAWSSDK_Core Condition=" '$(PkgAWSSDK_Core)' == '' ">C:\Users\moham\.nuget\packages\awssdk.core\3.7.100.14</PkgAWSSDK_Core>
<PkgAWSSDK_SecurityToken Condition=" '$(PkgAWSSDK_SecurityToken)' == '' ">C:\Users\moham\.nuget\packages\awssdk.securitytoken\3.7.100.14</PkgAWSSDK_SecurityToken>
</PropertyGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets')" />
</ImportGroup>
</Project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"version": 2,
"dgSpecHash": "pwhqu7hMMpBHuqqlnhy9sJ+eNqLQ75WiVbB8iQB5/M1mYe01RFWDi+5ZtqGTxCt8Xf2sq3cvT7P+1cmgkoLGxg==",
"success": true,
"projectFilePath": "D:\\HIAST\\FIY\\Project-MSGPriorityQ\\GrpcMessage\\message-priority-queue\\ScheduledMessagesHandler\\ScheduledMessagesHandler.csproj",
"expectedPackageFiles": [
"C:\\Users\\moham\\.nuget\\packages\\awssdk.core\\3.7.100.14\\awssdk.core.3.7.100.14.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\awssdk.securitytoken\\3.7.100.14\\awssdk.securitytoken.3.7.100.14.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\csrediscore\\3.8.803\\csrediscore.3.8.803.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\dnsclient\\1.6.1\\dnsclient.1.6.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\3.1.0\\microsoft.extensions.caching.abstractions.3.1.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration\\6.0.0\\microsoft.extensions.configuration.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.binder\\6.0.0\\microsoft.extensions.configuration.binder.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\6.0.0\\microsoft.extensions.configuration.commandline.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\6.0.0\\microsoft.extensions.configuration.environmentvariables.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\6.0.0\\microsoft.extensions.configuration.fileextensions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.json\\6.0.0\\microsoft.extensions.configuration.json.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\6.0.0\\microsoft.extensions.configuration.usersecrets.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\6.0.0\\microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\6.0.0\\microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.diagnostics.healthchecks\\2.2.5\\microsoft.extensions.diagnostics.healthchecks.2.2.5.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.diagnostics.healthchecks.abstractions\\2.2.0\\microsoft.extensions.diagnostics.healthchecks.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\6.0.0\\microsoft.extensions.fileproviders.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\6.0.0\\microsoft.extensions.fileproviders.physical.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\6.0.0\\microsoft.extensions.filesystemglobbing.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.hosting\\6.0.0\\microsoft.extensions.hosting.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\6.0.0\\microsoft.extensions.hosting.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.http\\3.1.0\\microsoft.extensions.http.3.1.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging\\6.0.0\\microsoft.extensions.logging.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\6.0.0\\microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.configuration\\6.0.0\\microsoft.extensions.logging.configuration.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.console\\6.0.0\\microsoft.extensions.logging.console.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.debug\\6.0.0\\microsoft.extensions.logging.debug.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\6.0.0\\microsoft.extensions.logging.eventlog.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\6.0.0\\microsoft.extensions.logging.eventsource.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\6.0.0\\microsoft.extensions.options.configurationextensions.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.netcore.platforms\\5.0.0\\microsoft.netcore.platforms.5.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\microsoft.win32.registry\\5.0.0\\microsoft.win32.registry.5.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\mongodb.bson\\2.27.0\\mongodb.bson.2.27.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\mongodb.driver\\2.27.0\\mongodb.driver.2.27.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\mongodb.driver.core\\2.27.0\\mongodb.driver.core.2.27.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\mongodb.libmongocrypt\\1.10.0\\mongodb.libmongocrypt.1.10.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\pipelines.sockets.unofficial\\2.2.8\\pipelines.sockets.unofficial.2.2.8.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\sharpcompress\\0.30.1\\sharpcompress.0.30.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\snappier\\1.0.0\\snappier.1.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\stackexchange.redis\\2.8.0\\stackexchange.redis.2.8.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.common\\3.2.6\\steeltoe.common.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.common.abstractions\\3.2.6\\steeltoe.common.abstractions.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.common.http\\3.2.6\\steeltoe.common.http.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.connector.abstractions\\3.2.6\\steeltoe.connector.abstractions.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.connector.connectorbase\\3.2.6\\steeltoe.connector.connectorbase.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.connector.connectorcore\\3.2.6\\steeltoe.connector.connectorcore.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.discovery.abstractions\\3.2.6\\steeltoe.discovery.abstractions.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.discovery.clientbase\\3.2.6\\steeltoe.discovery.clientbase.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.discovery.eureka\\3.2.6\\steeltoe.discovery.eureka.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\steeltoe.extensions.configuration.abstractions\\3.2.6\\steeltoe.extensions.configuration.abstractions.3.2.6.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\swashbuckle.aspnetcore\\6.4.0\\swashbuckle.aspnetcore.6.4.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.4.0\\swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.4.0\\swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.4.0\\swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.0\\system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.eventlog\\6.0.0\\system.diagnostics.eventlog.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.io.pipelines\\5.0.1\\system.io.pipelines.5.0.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.net.http.json\\3.2.1\\system.net.http.json.3.2.1.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.reflection.metadataloadcontext\\4.6.0\\system.reflection.metadataloadcontext.4.6.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.security.accesscontrol\\5.0.0\\system.security.accesscontrol.5.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.text.encodings.web\\6.0.0\\system.text.encodings.web.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.text.json\\6.0.0\\system.text.json.6.0.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512",
"C:\\Users\\moham\\.nuget\\packages\\zstdsharp.port\\0.7.3\\zstdsharp.port.0.7.3.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
...@@ -12,6 +12,11 @@ message MessageMetaData { ...@@ -12,6 +12,11 @@ message MessageMetaData {
string clientID = 1; string clientID = 1;
string apiKey = 2; string apiKey = 2;
string tag = 3; string tag = 3;
int32 year = 4;
int32 month = 5;
int32 day = 6;
int32 hour = 7;
int32 minute = 8;
} }
message Reply { message Reply {
......
...@@ -24,16 +24,18 @@ namespace Validator { ...@@ -24,16 +24,18 @@ namespace Validator {
static ValidatorReflection() { static ValidatorReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiQAoPTWVzc2Fn", "ChZQcm90b3MvdmFsaWRhdG9yLnByb3RvEglWYWxpZGF0b3IiiAEKD01lc3Nh",
"ZU1ldGFEYXRhEhAKCGNsaWVudElEGAEgASgJEg4KBmFwaUtleRgCIAEoCRIL", "Z2VNZXRhRGF0YRIQCghjbGllbnRJRBgBIAEoCRIOCgZhcGlLZXkYAiABKAkS",
"CgN0YWcYAyABKAkiMwoFUmVwbHkSEQoJcmVwbHlDb2RlGAEgASgJEhcKD2Fj", "CwoDdGFnGAMgASgJEgwKBHllYXIYBCABKAUSDQoFbW9udGgYBSABKAUSCwoD",
"Y291bnRQcmlvcml0eRgCIAEoBTJLCghWYWxpZGF0ZRI/Cg9WYWxpZGF0ZU1l", "ZGF5GAYgASgFEgwKBGhvdXIYByABKAUSDgoGbWludXRlGAggASgFIjMKBVJl",
"c3NhZ2USGi5WYWxpZGF0b3IuTWVzc2FnZU1ldGFEYXRhGhAuVmFsaWRhdG9y", "cGx5EhEKCXJlcGx5Q29kZRgBIAEoCRIXCg9hY2NvdW50UHJpb3JpdHkYAiAB",
"LlJlcGx5QgyqAglWYWxpZGF0b3JiBnByb3RvMw==")); "KAUySwoIVmFsaWRhdGUSPwoPVmFsaWRhdGVNZXNzYWdlEhouVmFsaWRhdG9y",
"Lk1lc3NhZ2VNZXRhRGF0YRoQLlZhbGlkYXRvci5SZXBseUIMqgIJVmFsaWRh",
"dG9yYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Validator.MessageMetaData), global::Validator.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Validator.MessageMetaData), global::Validator.MessageMetaData.Parser, new[]{ "ClientID", "ApiKey", "Tag", "Year", "Month", "Day", "Hour", "Minute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Validator.Reply), global::Validator.Reply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null) new pbr::GeneratedClrTypeInfo(typeof(global::Validator.Reply), global::Validator.Reply.Parser, new[]{ "ReplyCode", "AccountPriority" }, null, null, null, null)
})); }));
} }
...@@ -79,6 +81,11 @@ namespace Validator { ...@@ -79,6 +81,11 @@ namespace Validator {
clientID_ = other.clientID_; clientID_ = other.clientID_;
apiKey_ = other.apiKey_; apiKey_ = other.apiKey_;
tag_ = other.tag_; tag_ = other.tag_;
year_ = other.year_;
month_ = other.month_;
day_ = other.day_;
hour_ = other.hour_;
minute_ = other.minute_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
...@@ -124,6 +131,66 @@ namespace Validator { ...@@ -124,6 +131,66 @@ namespace Validator {
} }
} }
/// <summary>Field number for the "year" field.</summary>
public const int YearFieldNumber = 4;
private int year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Year {
get { return year_; }
set {
year_ = value;
}
}
/// <summary>Field number for the "month" field.</summary>
public const int MonthFieldNumber = 5;
private int month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Month {
get { return month_; }
set {
month_ = value;
}
}
/// <summary>Field number for the "day" field.</summary>
public const int DayFieldNumber = 6;
private int day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Day {
get { return day_; }
set {
day_ = value;
}
}
/// <summary>Field number for the "hour" field.</summary>
public const int HourFieldNumber = 7;
private int hour_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hour {
get { return hour_; }
set {
hour_ = value;
}
}
/// <summary>Field number for the "minute" field.</summary>
public const int MinuteFieldNumber = 8;
private int minute_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Minute {
get { return minute_; }
set {
minute_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
...@@ -142,6 +209,11 @@ namespace Validator { ...@@ -142,6 +209,11 @@ namespace Validator {
if (ClientID != other.ClientID) return false; if (ClientID != other.ClientID) return false;
if (ApiKey != other.ApiKey) return false; if (ApiKey != other.ApiKey) return false;
if (Tag != other.Tag) return false; if (Tag != other.Tag) return false;
if (Year != other.Year) return false;
if (Month != other.Month) return false;
if (Day != other.Day) return false;
if (Hour != other.Hour) return false;
if (Minute != other.Minute) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
...@@ -152,6 +224,11 @@ namespace Validator { ...@@ -152,6 +224,11 @@ namespace Validator {
if (ClientID.Length != 0) hash ^= ClientID.GetHashCode(); if (ClientID.Length != 0) hash ^= ClientID.GetHashCode();
if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode(); if (ApiKey.Length != 0) hash ^= ApiKey.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode(); if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Hour != 0) hash ^= Hour.GetHashCode();
if (Minute != 0) hash ^= Minute.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
...@@ -182,6 +259,26 @@ namespace Validator { ...@@ -182,6 +259,26 @@ namespace Validator {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
...@@ -204,6 +301,26 @@ namespace Validator { ...@@ -204,6 +301,26 @@ namespace Validator {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Tag); output.WriteString(Tag);
} }
if (Year != 0) {
output.WriteRawTag(32);
output.WriteInt32(Year);
}
if (Month != 0) {
output.WriteRawTag(40);
output.WriteInt32(Month);
}
if (Day != 0) {
output.WriteRawTag(48);
output.WriteInt32(Day);
}
if (Hour != 0) {
output.WriteRawTag(56);
output.WriteInt32(Hour);
}
if (Minute != 0) {
output.WriteRawTag(64);
output.WriteInt32(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
...@@ -223,6 +340,21 @@ namespace Validator { ...@@ -223,6 +340,21 @@ namespace Validator {
if (Tag.Length != 0) { if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
} }
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Year);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Month);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day);
}
if (Hour != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hour);
}
if (Minute != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minute);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
...@@ -244,6 +376,21 @@ namespace Validator { ...@@ -244,6 +376,21 @@ namespace Validator {
if (other.Tag.Length != 0) { if (other.Tag.Length != 0) {
Tag = other.Tag; Tag = other.Tag;
} }
if (other.Year != 0) {
Year = other.Year;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Hour != 0) {
Hour = other.Hour;
}
if (other.Minute != 0) {
Minute = other.Minute;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
...@@ -271,6 +418,26 @@ namespace Validator { ...@@ -271,6 +418,26 @@ namespace Validator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
#endif #endif
...@@ -298,6 +465,26 @@ namespace Validator { ...@@ -298,6 +465,26 @@ namespace Validator {
Tag = input.ReadString(); Tag = input.ReadString();
break; break;
} }
case 32: {
Year = input.ReadInt32();
break;
}
case 40: {
Month = input.ReadInt32();
break;
}
case 48: {
Day = input.ReadInt32();
break;
}
case 56: {
Hour = input.ReadInt32();
break;
}
case 64: {
Minute = input.ReadInt32();
break;
}
} }
} }
} }
......
...@@ -5,3 +5,4 @@ ...@@ -5,3 +5,4 @@
2.0 2.0
2.0 2.0
2.0 2.0
2.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment