trisulrp 3.2.2 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 619b5368f7199fd9df07e69d166c6a4ec5b19f02
4
- data.tar.gz: 8e3cd6fedb0b337feced8c58935681fc3d64e4f2
3
+ metadata.gz: a4e223c3a43eb737683ce0405302b6bb7b843bc6
4
+ data.tar.gz: d561d9c4ee26206f59da50796b98a2f4436704bf
5
5
  SHA512:
6
- metadata.gz: 4579499fa4d4fa376217ce7b766c24cad3d20b294d50f0fd0ad91810a9bdc95f6ec44bcce69854c1175987a42bfae2b9bbd89853d2cb34c8b4fff0823fc2c69d
7
- data.tar.gz: b79737d1a78ed7559187822187cd69dd9554c5944d5858f25617e1f0ff6e0ab7e22cfa278db4ee4d212ffe500945c8d365d154e529c9650e4f475aa419ef01d7
6
+ metadata.gz: f8a05821ff0f6bf3d1c6d274dbf62e47a8a21efc62f79e102867f05030808aa9b9f997c913203d1616d2f669b4012285860d57745e4f6024890cac3f71833989
7
+ data.tar.gz: 0e023c73d2805e6efc1c11431c7b4417890b7fdb9f5b53c72d04735c77bf1fabfd0360f05fab0057ad3b35472565e736a274b257dd53616c9a043b8aef0692d0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.2.4
@@ -70,7 +70,11 @@ module TRP
70
70
  end
71
71
 
72
72
  class KeyStats < ::Protobuf::Message; end
73
- class KeyT < ::Protobuf::Message; end
73
+ class KeyT < ::Protobuf::Message
74
+ class NameValueT < ::Protobuf::Message; end
75
+
76
+ end
77
+
74
78
  class CounterGroupT < ::Protobuf::Message; end
75
79
  class SessionT < ::Protobuf::Message; end
76
80
  class AlertT < ::Protobuf::Message; end
@@ -306,11 +310,17 @@ module TRP
306
310
  end
307
311
 
308
312
  class KeyT
313
+ class NameValueT
314
+ required :string, :attr_name, 1
315
+ required :string, :attr_value, 2
316
+ end
317
+
309
318
  optional :string, :key, 1
310
319
  optional :string, :readable, 2
311
320
  optional :string, :label, 3
312
321
  optional :string, :description, 4
313
322
  optional :int64, :metric, 5
323
+ repeated ::TRP::KeyT::NameValueT, :attributes, 6
314
324
  end
315
325
 
316
326
  class CounterGroupT
@@ -540,6 +550,7 @@ module TRP
540
550
  repeated :string, :keys, 6
541
551
  optional :int64, :offset, 7, :default => 0
542
552
  optional :bool, :get_totals, 8, :default => false
553
+ optional :bool, :get_attributes, 9, :default => false
543
554
  end
544
555
 
545
556
  class SearchKeysResponse
@@ -595,10 +606,11 @@ module TRP
595
606
 
596
607
  class SessionTrackerRequest
597
608
  optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
598
- required :int64, :tracker_id, 3, :default => 1
609
+ optional :int64, :tracker_id, 3
599
610
  optional :int64, :maxitems, 4, :default => 100
600
611
  required ::TRP::TimeInterval, :time_interval, 5
601
612
  optional :bool, :resolve_keys, 6, :default => true
613
+ optional :string, :tracker_name, 7
602
614
  end
603
615
 
604
616
  class SessionTrackerResponse
@@ -89,6 +89,7 @@ message KeyStats {
89
89
  }
90
90
 
91
91
 
92
+
92
93
  /// KeyT : Represents a Key
93
94
  /// Top level objects are named ObjT
94
95
  /// eg KeyT - Key Type, SessionT - Session Type etc.
@@ -98,6 +99,12 @@ message KeyT {
98
99
  optional string label=3; /// a user label eg, a hostname or manually assigned name
99
100
  optional string description=4; /// description
100
101
  optional int64 metric=5; /// optional : a single metric value - relevant to the query used
102
+
103
+ message NameValueT {
104
+ required string attr_name=1;
105
+ required string attr_value=2;
106
+ }
107
+ repeated NameValueT attributes=6; /// New: Attributes are NVP for keys
101
108
  }
102
109
 
103
110
 
@@ -486,6 +493,7 @@ message SearchKeysRequest{
486
493
  repeated string keys=6;
487
494
  optional int64 offset=7[default=0];
488
495
  optional bool get_totals=8[default=false];
496
+ optional bool get_attributes=9[default=false];
489
497
  }
490
498
 
491
499
  /// SearchKeysResponse
@@ -548,7 +556,7 @@ message QuerySessionsResponse {
548
556
  /// Response = OKResponse or ErrorResponse
549
557
  message UpdateKeyRequest{
550
558
  required string counter_group=2;
551
- repeated KeyT keys=4; /// key : if you set both key and label, the DB label will be updated
559
+ repeated KeyT keys=4; /// key : if you set both key and label, the DB label will be updated
552
560
  }
553
561
 
554
562
  /// SessionTrackerRequest - query session trackers
@@ -556,10 +564,11 @@ message UpdateKeyRequest{
556
564
  /// They are Top Sessions fulfilling a particular preset criterion
557
565
  message SessionTrackerRequest {
558
566
  optional string session_group=2[default="{99A78737-4B41-4387-8F31-8077DB917336}"];
559
- required int64 tracker_id=3 [default=1]; /// session tracker id
567
+ optional int64 tracker_id=3; /// session tracker id
560
568
  optional int64 maxitems=4 [default=100];
561
569
  required TimeInterval time_interval=5;
562
570
  optional bool resolve_keys=6 [default=true];
571
+ optional string tracker_name=7; /// query by tracker name for auto generated trackers
563
572
  }
564
573
 
565
574
  /// SessionTrackerResponse - results of tracker
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.2 ruby lib
5
+ # stub: trisulrp 3.2.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp"
9
- s.version = "3.2.2"
9
+ s.version = "3.2.4"
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 = "2017-11-09"
14
+ s.date = "2017-12-22"
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.2
4
+ version: 3.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-09 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf