trisulrp 3.2.4 → 3.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +6 -0
- data/lib/trisulrp/trp.proto +7 -1
- data/trisulrp.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374f6d0a2ea683ee50c2e7fdc8c6e4b09bf30d21
|
4
|
+
data.tar.gz: e41d8eb26f8597f0600625241eec32a5006b4a81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405123c069c4c5a4f32038c3a5b54a638a6e863e715a250af9eca4797384b8186c64990bcd0faeab0ea702e7baa0049d096b1f70e0e88e82f2b37103fa975693
|
7
|
+
data.tar.gz: c86b443debb5bc62f8eaf6cffb0f917ccbb446016c46639126796653adc7f703767fbd451bea027b471db55b0288c865f0c0344fd2b1fb3ed0a6cb6cc4792541
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.5
|
data/lib/trisulrp/trp.pb.rb
CHANGED
@@ -639,11 +639,13 @@ module TRP
|
|
639
639
|
optional ::TRP::KeyT, :any_port, 19
|
640
640
|
repeated ::TRP::KeyT, :ip_pair, 20
|
641
641
|
optional :string, :message_regex, 21
|
642
|
+
optional :bool, :approx_count_only, 22, :default => false
|
642
643
|
end
|
643
644
|
|
644
645
|
class QueryAlertsResponse
|
645
646
|
required :string, :alert_group, 2
|
646
647
|
repeated ::TRP::AlertT, :alerts, 3
|
648
|
+
optional :int64, :approx_count, 4
|
647
649
|
end
|
648
650
|
|
649
651
|
class QueryResourcesRequest
|
@@ -662,11 +664,13 @@ module TRP
|
|
662
664
|
optional ::TRP::KeyT, :any_port, 15
|
663
665
|
optional ::TRP::KeyT, :any_ip, 16
|
664
666
|
repeated ::TRP::KeyT, :ip_pair, 17
|
667
|
+
optional :bool, :approx_count_only, 18, :default => false
|
665
668
|
end
|
666
669
|
|
667
670
|
class QueryResourcesResponse
|
668
671
|
required :string, :resource_group, 2
|
669
672
|
repeated ::TRP::ResourceT, :resources, 3
|
673
|
+
optional :int64, :approx_count, 4
|
670
674
|
end
|
671
675
|
|
672
676
|
class KeySpaceRequest
|
@@ -714,11 +718,13 @@ module TRP
|
|
714
718
|
required :string, :fts_group, 3
|
715
719
|
required :string, :keywords, 4
|
716
720
|
optional :int64, :maxitems, 5, :default => 100
|
721
|
+
optional :bool, :approx_count_only, 6, :default => false
|
717
722
|
end
|
718
723
|
|
719
724
|
class QueryFTSResponse
|
720
725
|
required :string, :fts_group, 2
|
721
726
|
repeated ::TRP::DocumentT, :documents, 3
|
727
|
+
optional :int64, :approx_count, 4
|
722
728
|
end
|
723
729
|
|
724
730
|
class TimeSlicesRequest
|
data/lib/trisulrp/trp.proto
CHANGED
@@ -604,13 +604,15 @@ message QueryAlertsRequest {
|
|
604
604
|
optional KeyT any_port=19; /// search by any_port (source_dest)
|
605
605
|
repeated KeyT ip_pair=20; /// array of 2 ips
|
606
606
|
optional string message_regex=21; /// searech via regex of the dispatch message
|
607
|
+
optional bool approx_count_only=22[default=false]; /// approx count per alert group
|
607
608
|
}
|
608
609
|
|
609
610
|
/// QueryAlertsResponse - response
|
610
611
|
/// if you used group_by_fieldname then AlertT.occurrances would contain the count
|
611
612
|
message QueryAlertsResponse {
|
612
613
|
required string alert_group=2;
|
613
|
-
repeated AlertT alerts=3;
|
614
|
+
repeated AlertT alerts=3; /// array of matching alerts
|
615
|
+
optional int64 approx_count=4; /// approx count
|
614
616
|
}
|
615
617
|
|
616
618
|
|
@@ -631,12 +633,14 @@ message QueryResourcesRequest {
|
|
631
633
|
optional KeyT any_port=15;
|
632
634
|
optional KeyT any_ip=16;
|
633
635
|
repeated KeyT ip_pair=17; // array of 2 ips
|
636
|
+
optional bool approx_count_only=18[default=false]; // count-star only over time interval
|
634
637
|
}
|
635
638
|
|
636
639
|
/// QueryResourceResponse
|
637
640
|
message QueryResourcesResponse {
|
638
641
|
required string resource_group=2;
|
639
642
|
repeated ResourceT resources=3;
|
643
|
+
optional int64 approx_count=4;
|
640
644
|
}
|
641
645
|
|
642
646
|
|
@@ -719,6 +723,7 @@ message QueryFTSRequest {
|
|
719
723
|
required string fts_group=3;
|
720
724
|
required string keywords=4;
|
721
725
|
optional int64 maxitems=5[default=100];
|
726
|
+
optional bool approx_count_only=6[default=false];
|
722
727
|
}
|
723
728
|
|
724
729
|
|
@@ -726,6 +731,7 @@ message QueryFTSResponse {
|
|
726
731
|
|
727
732
|
required string fts_group=2;
|
728
733
|
repeated DocumentT documents=3;
|
734
|
+
optional int64 approx_count=4; /// approx count
|
729
735
|
|
730
736
|
}
|
731
737
|
|
data/trisulrp.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: trisulrp 3.2.
|
5
|
+
# stub: trisulrp 3.2.5 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "trisulrp"
|
9
|
-
s.version = "3.2.
|
9
|
+
s.version = "3.2.5"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["vivek"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2018-01-12"
|
15
15
|
s.description = "This gem deals about the trisul remote protocol"
|
16
16
|
s.email = "vivek_rajagopal@yahoo.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trisulrp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protobuf
|