logstash-codec-protobuf 1.2.8-jruby

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.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +45 -0
  3. data/CONTRIBUTORS +12 -0
  4. data/DEVELOPER.md +2 -0
  5. data/Gemfile +11 -0
  6. data/LICENSE +202 -0
  7. data/NOTICE.TXT +4 -0
  8. data/README.md +184 -0
  9. data/docs/index.asciidoc +241 -0
  10. data/google-protobuf-lib-update.md +57 -0
  11. data/lib/logstash/codecs/protobuf.rb +735 -0
  12. data/logstash-codec-protobuf.gemspec +28 -0
  13. data/spec/codecs/pb2_spec.rb +236 -0
  14. data/spec/codecs/pb3_decode_spec.rb +445 -0
  15. data/spec/codecs/pb3_encode_spec.rb +243 -0
  16. data/spec/helpers/pb2/ColourTestcase.pb.rb +35 -0
  17. data/spec/helpers/pb2/ColourTestcase.proto +24 -0
  18. data/spec/helpers/pb2/event.pb.rb +19 -0
  19. data/spec/helpers/pb2/event.proto +12 -0
  20. data/spec/helpers/pb2/header/header.pb.rb +16 -0
  21. data/spec/helpers/pb2/header/header.proto +8 -0
  22. data/spec/helpers/pb2/human.pb.rb +26 -0
  23. data/spec/helpers/pb2/unicorn.pb.rb +19 -0
  24. data/spec/helpers/pb2/unicorn_event.pb.rb +24 -0
  25. data/spec/helpers/pb3/FantasyHorse_pb.rb +44 -0
  26. data/spec/helpers/pb3/ProbeResult_pb.rb +26 -0
  27. data/spec/helpers/pb3/dnsmessage_pb.rb +82 -0
  28. data/spec/helpers/pb3/events.proto3 +10 -0
  29. data/spec/helpers/pb3/events_pb.rb +17 -0
  30. data/spec/helpers/pb3/header/header.proto3 +7 -0
  31. data/spec/helpers/pb3/header/header_pb.rb +12 -0
  32. data/spec/helpers/pb3/integertest_pb.rb +20 -0
  33. data/spec/helpers/pb3/messageA.proto3 +12 -0
  34. data/spec/helpers/pb3/messageA_pb.rb +16 -0
  35. data/spec/helpers/pb3/messageB.proto3 +12 -0
  36. data/spec/helpers/pb3/messageB_pb.rb +16 -0
  37. data/spec/helpers/pb3/rum2_pb.rb +87 -0
  38. data/spec/helpers/pb3/rum3_pb.rb +87 -0
  39. data/spec/helpers/pb3/rum_pb.rb +87 -0
  40. data/spec/helpers/pb3/unicorn.proto3 +31 -0
  41. data/spec/helpers/pb3/unicorn_pb.rb +31 -0
  42. metadata +177 -0
@@ -0,0 +1,16 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: messageA.proto3
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'header/header_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "A.MessageA" do
9
+ optional :name, :string, 1
10
+ optional :header, :message, 2, "Header"
11
+ end
12
+ end
13
+
14
+ module A
15
+ MessageA = Google::Protobuf::DescriptorPool.generated_pool.lookup("A.MessageA").msgclass
16
+ end
@@ -0,0 +1,12 @@
1
+ syntax = "proto3";
2
+
3
+ // Compile: protoc --ruby_out=. spec/helpers/*proto3
4
+
5
+ package B;
6
+
7
+ import "header/header.proto3";
8
+
9
+ message MessageB {
10
+ string name = 1;
11
+ Header header = 2;
12
+ }
@@ -0,0 +1,16 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: messageB.proto3
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'header/header_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "B.MessageB" do
9
+ optional :name, :string, 1
10
+ optional :header, :message, 2, "Header"
11
+ end
12
+ end
13
+
14
+ module B
15
+ MessageB = Google::Protobuf::DescriptorPool.generated_pool.lookup("B.MessageB").msgclass
16
+ end
@@ -0,0 +1,87 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: something/rum_akamai/AkamaiRum.proto
3
+
4
+ begin; require 'google/protobuf'; rescue LoadError; end
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "something.logging.ProtoHeader2" do
8
+ optional :unix_timestamp, :int64, 1
9
+ optional :sender_id, :string, 2
10
+ end
11
+ end
12
+
13
+ module Something
14
+ module Logging
15
+ ProtoHeader2 = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader2").msgclass
16
+ end
17
+ end
18
+
19
+
20
+
21
+ Google::Protobuf::DescriptorPool.generated_pool.build do
22
+ add_message "something.rum_akamai.ProtoAkamai2Rum" do
23
+ optional :header, :message, 1, "something.logging.ProtoHeader2"
24
+ optional :version, :string, 2
25
+ optional :url, :string, 3
26
+ optional :http_referer, :string, 4
27
+ optional :session_id, :string, 5
28
+ optional :tracking_id, :string, 6
29
+ optional :locale, :string, 7
30
+ optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent"
31
+ optional :geo, :message, 9, "something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation"
32
+ optional :timers, :message, 10, "something.rum_akamai.ProtoAkamai2Rum.ProtoTimers"
33
+ optional :page_group, :string, 11
34
+ repeated :active_ctests, :string, 12
35
+ optional :dom, :message, 13, "something.rum_akamai.ProtoAkamai2Rum.ProtoDom"
36
+ optional :domain, :string, 14
37
+ optional :timestamp, :string, 15
38
+ end
39
+ add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent" do
40
+ optional :family, :string, 1
41
+ optional :major, :float, 2
42
+ optional :manufacturer, :string, 3
43
+ optional :minor, :float, 4
44
+ optional :mobile, :string, 5
45
+ optional :model, :string, 6
46
+ optional :os, :string, 7
47
+ optional :osversion, :string, 8
48
+ optional :raw, :string, 9
49
+ optional :type, :string, 10
50
+ end
51
+ add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation" do
52
+ optional :cc, :string, 1
53
+ optional :city, :string, 2
54
+ optional :isp, :string, 3
55
+ optional :lat, :float, 4
56
+ optional :lon, :float, 5
57
+ optional :netspeed, :string, 6
58
+ optional :organisation, :string, 7
59
+ optional :ovr, :bool, 8
60
+ optional :postalcode, :string, 9
61
+ optional :rg, :string, 10
62
+ end
63
+ add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoTimers" do
64
+ optional :t_resp, :int32, 1
65
+ optional :fid, :int32, 2
66
+ optional :fcp, :int32, 3
67
+ optional :tti, :int32, 4
68
+ optional :ttfi, :int32, 5
69
+ optional :ttvr, :int32, 6
70
+ optional :longtasks, :float, 7
71
+ end
72
+ add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoDom" do
73
+ optional :script, :int32, 1
74
+ optional :ext, :int32, 2
75
+ optional :ln, :int32, 3
76
+ end
77
+ end
78
+
79
+ module Something
80
+ module RumAkamai
81
+ ProtoAkamai2Rum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum").msgclass
82
+ ProtoAkamai2Rum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent").msgclass
83
+ ProtoAkamai2Rum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation").msgclass
84
+ ProtoAkamai2Rum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoTimers").msgclass
85
+ ProtoAkamai2Rum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoDom").msgclass
86
+ end
87
+ end
@@ -0,0 +1,87 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: something/rum_akamai/AkamaiRum.proto
3
+
4
+ begin; require 'google/protobuf'; rescue LoadError; end
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "something.logging.ProtoHeader3" do
8
+ optional :unix_timestamp, :int64, 1
9
+ optional :sender_id, :string, 2
10
+ end
11
+ end
12
+
13
+ module Something
14
+ module Logging
15
+ ProtoHeader3 = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader3").msgclass
16
+ end
17
+ end
18
+
19
+
20
+
21
+ Google::Protobuf::DescriptorPool.generated_pool.build do
22
+ add_message "something.rum_akamai.ProtoAkamai3Rum" do
23
+ optional :header, :message, 1, "something.logging.ProtoHeader3"
24
+ optional :version, :string, 2
25
+ optional :url, :string, 3
26
+ optional :http_referer, :string, 4
27
+ optional :session_id, :string, 5
28
+ optional :tracking_id, :string, 6
29
+ optional :locale, :string, 7
30
+ optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent"
31
+ optional :geo, :message, 9, "something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation"
32
+ optional :timers, :message, 10, "something.rum_akamai.ProtoAkamai3Rum.ProtoTimers"
33
+ optional :page_group, :string, 11
34
+ repeated :active_ctests, :string, 12
35
+ optional :dom, :message, 13, "something.rum_akamai.ProtoAkamai3Rum.ProtoDom"
36
+ optional :domain, :string, 14
37
+ optional :timestamp, :string, 15
38
+ end
39
+ add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent" do
40
+ optional :family, :string, 1
41
+ optional :major, :float, 2
42
+ optional :manufacturer, :string, 3
43
+ optional :minor, :float, 4
44
+ optional :mobile, :string, 5
45
+ optional :model, :string, 6
46
+ optional :os, :string, 7
47
+ optional :osversion, :string, 8
48
+ optional :raw, :string, 9
49
+ optional :type, :string, 10
50
+ end
51
+ add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation" do
52
+ optional :cc, :string, 1
53
+ optional :city, :string, 2
54
+ optional :isp, :string, 3
55
+ optional :lat, :float, 4
56
+ optional :lon, :float, 5
57
+ optional :netspeed, :string, 6
58
+ optional :organisation, :string, 7
59
+ optional :ovr, :bool, 8
60
+ optional :postalcode, :string, 9
61
+ optional :rg, :string, 10
62
+ end
63
+ add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoTimers" do
64
+ optional :t_resp, :int32, 1
65
+ optional :fid, :int32, 2
66
+ optional :fcp, :int32, 3
67
+ optional :tti, :int32, 4
68
+ optional :ttfi, :int32, 5
69
+ optional :ttvr, :int32, 6
70
+ optional :longtasks, :float, 7
71
+ end
72
+ add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoDom" do
73
+ optional :script, :int32, 1
74
+ optional :ext, :int32, 2
75
+ optional :ln, :int32, 3
76
+ end
77
+ end
78
+
79
+ module Something
80
+ module RumAkamai
81
+ ProtoAkamai3Rum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum").msgclass
82
+ ProtoAkamai3Rum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent").msgclass
83
+ ProtoAkamai3Rum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation").msgclass
84
+ ProtoAkamai3Rum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoTimers").msgclass
85
+ ProtoAkamai3Rum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoDom").msgclass
86
+ end
87
+ end
@@ -0,0 +1,87 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: something/rum_akamai/AkamaiRum.proto
3
+
4
+ begin; require 'google/protobuf'; rescue LoadError; end
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "something.logging.ProtoHeader" do
8
+ optional :unix_timestamp, :int64, 1
9
+ optional :sender_id, :string, 2
10
+ end
11
+ end
12
+
13
+ module Something
14
+ module Logging
15
+ ProtoHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader").msgclass
16
+ end
17
+ end
18
+
19
+
20
+
21
+ Google::Protobuf::DescriptorPool.generated_pool.build do
22
+ add_message "something.rum_akamai.ProtoAkamaiRum" do
23
+ optional :header, :message, 1, "something.logging.ProtoHeader"
24
+ optional :version, :string, 2
25
+ optional :url, :string, 3
26
+ optional :http_referer, :string, 4
27
+ optional :session_id, :string, 5
28
+ optional :tracking_id, :string, 6
29
+ optional :locale, :string, 7
30
+ optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent"
31
+ optional :geo, :message, 9, "something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation"
32
+ optional :timers, :message, 10, "something.rum_akamai.ProtoAkamaiRum.ProtoTimers"
33
+ optional :page_group, :string, 11
34
+ repeated :active_ctests, :string, 12
35
+ optional :dom, :message, 13, "something.rum_akamai.ProtoAkamaiRum.ProtoDom"
36
+ optional :domain, :string, 14
37
+ optional :timestamp, :string, 15
38
+ end
39
+ add_message "something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent" do
40
+ optional :family, :string, 1
41
+ optional :major, :float, 2
42
+ optional :manufacturer, :string, 3
43
+ optional :minor, :float, 4
44
+ optional :mobile, :string, 5
45
+ optional :model, :string, 6
46
+ optional :os, :string, 7
47
+ optional :osversion, :string, 8
48
+ optional :raw, :string, 9
49
+ optional :type, :string, 10
50
+ end
51
+ add_message "something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation" do
52
+ optional :cc, :string, 1
53
+ optional :city, :string, 2
54
+ optional :isp, :string, 3
55
+ optional :lat, :float, 4
56
+ optional :lon, :float, 5
57
+ optional :netspeed, :string, 6
58
+ optional :organisation, :string, 7
59
+ optional :ovr, :bool, 8
60
+ optional :postalcode, :string, 9
61
+ optional :rg, :string, 10
62
+ end
63
+ add_message "something.rum_akamai.ProtoAkamaiRum.ProtoTimers" do
64
+ optional :t_resp, :int32, 1
65
+ optional :fid, :int32, 2
66
+ optional :fcp, :int32, 3
67
+ optional :tti, :int32, 4
68
+ optional :ttfi, :int32, 5
69
+ optional :ttvr, :int32, 6
70
+ optional :longtasks, :float, 7
71
+ end
72
+ add_message "something.rum_akamai.ProtoAkamaiRum.ProtoDom" do
73
+ optional :script, :int32, 1
74
+ optional :ext, :int32, 2
75
+ optional :ln, :int32, 3
76
+ end
77
+ end
78
+
79
+ module Something
80
+ module RumAkamai
81
+ ProtoAkamaiRum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum").msgclass
82
+ ProtoAkamaiRum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent").msgclass
83
+ ProtoAkamaiRum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation").msgclass
84
+ ProtoAkamaiRum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoTimers").msgclass
85
+ ProtoAkamaiRum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoDom").msgclass
86
+ end
87
+ end
@@ -0,0 +1,31 @@
1
+ syntax = "proto3";
2
+
3
+ // Compile: protoc --ruby_out=. spec/helpers/*proto3
4
+
5
+ message Unicorn {
6
+
7
+ string name = 1;
8
+ uint32 age = 2;
9
+ Colour fur_colour = 3;
10
+ repeated Colour favourite_colours = 4;
11
+ repeated int32 favourite_numbers = 5;
12
+ bool is_pegasus = 6;
13
+ string timestamp = 7; # Logstash adds this to the event, needed for encoder test
14
+ string version = 8; # Logstash adds this to the event, needed for encoder test
15
+ Unicorn mother = 9;
16
+ Unicorn father = 10;
17
+ }
18
+
19
+ enum Colour {
20
+
21
+ BLUE = 1;
22
+ PINK = 2;
23
+ SILVER = 3;
24
+ GLITTER = 4;
25
+ WHITE = 5;
26
+ GREEN = 6;
27
+ }
28
+
29
+ // TODO test float datatypes aswell as single fields
30
+ // TODO test class reference to other file as single field
31
+ // TODO test a class as list
@@ -0,0 +1,31 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: spec/helpers/unicorn.proto3
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "Unicorn" do
8
+ optional :name, :string, 1
9
+ optional :age, :uint32, 2
10
+ optional :fur_colour, :enum, 3, "Colour"
11
+ repeated :favourite_colours, :enum, 4, "Colour"
12
+ repeated :favourite_numbers, :int32, 5
13
+ optional :is_pegasus, :bool, 6
14
+ optional :timestamp, :string, 7
15
+ optional :version, :string, 8
16
+ optional :mother, :message, 9, "Unicorn"
17
+ optional :father, :message, 10, "Unicorn"
18
+ end
19
+ add_enum "Colour" do
20
+ value :UNDEFINED, 0
21
+ value :BLUE, 1
22
+ value :PINK, 2
23
+ value :SILVER, 3
24
+ value :GLITTER, 4
25
+ value :WHITE, 5
26
+ value :GREEN, 6
27
+ end
28
+ end
29
+
30
+ Unicorn = Google::Protobuf::DescriptorPool.generated_pool.lookup("Unicorn").msgclass
31
+ Colour = Google::Protobuf::DescriptorPool.generated_pool.lookup("Colour").enummodule
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: logstash-codec-protobuf
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.8
5
+ platform: jruby
6
+ authors:
7
+ - Inga Feick
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.60'
19
+ - - "<="
20
+ - !ruby/object:Gem::Version
21
+ version: '2.99'
22
+ name: logstash-core-plugin-api
23
+ prerelease: false
24
+ type: :runtime
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.60'
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: '2.99'
33
+ - !ruby/object:Gem::Dependency
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - '='
37
+ - !ruby/object:Gem::Version
38
+ version: 3.22.2
39
+ name: google-protobuf
40
+ prerelease: false
41
+ type: :runtime
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '='
45
+ - !ruby/object:Gem::Version
46
+ version: 3.22.2
47
+ - !ruby/object:Gem::Dependency
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ name: ruby-protocol-buffers
54
+ prerelease: false
55
+ type: :runtime
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ name: logstash-devutils
68
+ prerelease: false
69
+ type: :development
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description: This gem is a logstash plugin required to be installed on top of the
76
+ Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
77
+ a stand-alone program
78
+ email: inga.feick@trivago.com
79
+ executables: []
80
+ extensions: []
81
+ extra_rdoc_files: []
82
+ files:
83
+ - CHANGELOG.md
84
+ - CONTRIBUTORS
85
+ - DEVELOPER.md
86
+ - Gemfile
87
+ - LICENSE
88
+ - NOTICE.TXT
89
+ - README.md
90
+ - docs/index.asciidoc
91
+ - google-protobuf-lib-update.md
92
+ - lib/logstash/codecs/protobuf.rb
93
+ - logstash-codec-protobuf.gemspec
94
+ - spec/codecs/pb2_spec.rb
95
+ - spec/codecs/pb3_decode_spec.rb
96
+ - spec/codecs/pb3_encode_spec.rb
97
+ - spec/helpers/pb2/ColourTestcase.pb.rb
98
+ - spec/helpers/pb2/ColourTestcase.proto
99
+ - spec/helpers/pb2/event.pb.rb
100
+ - spec/helpers/pb2/event.proto
101
+ - spec/helpers/pb2/header/header.pb.rb
102
+ - spec/helpers/pb2/header/header.proto
103
+ - spec/helpers/pb2/human.pb.rb
104
+ - spec/helpers/pb2/unicorn.pb.rb
105
+ - spec/helpers/pb2/unicorn_event.pb.rb
106
+ - spec/helpers/pb3/FantasyHorse_pb.rb
107
+ - spec/helpers/pb3/ProbeResult_pb.rb
108
+ - spec/helpers/pb3/dnsmessage_pb.rb
109
+ - spec/helpers/pb3/events.proto3
110
+ - spec/helpers/pb3/events_pb.rb
111
+ - spec/helpers/pb3/header/header.proto3
112
+ - spec/helpers/pb3/header/header_pb.rb
113
+ - spec/helpers/pb3/integertest_pb.rb
114
+ - spec/helpers/pb3/messageA.proto3
115
+ - spec/helpers/pb3/messageA_pb.rb
116
+ - spec/helpers/pb3/messageB.proto3
117
+ - spec/helpers/pb3/messageB_pb.rb
118
+ - spec/helpers/pb3/rum2_pb.rb
119
+ - spec/helpers/pb3/rum3_pb.rb
120
+ - spec/helpers/pb3/rum_pb.rb
121
+ - spec/helpers/pb3/unicorn.proto3
122
+ - spec/helpers/pb3/unicorn_pb.rb
123
+ homepage:
124
+ licenses:
125
+ - Apache License (2.0)
126
+ metadata:
127
+ logstash_plugin: 'true'
128
+ logstash_group: codec
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.2.29
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: Reads protobuf messages and converts to Logstash Events
148
+ test_files:
149
+ - spec/codecs/pb2_spec.rb
150
+ - spec/codecs/pb3_decode_spec.rb
151
+ - spec/codecs/pb3_encode_spec.rb
152
+ - spec/helpers/pb2/ColourTestcase.pb.rb
153
+ - spec/helpers/pb2/ColourTestcase.proto
154
+ - spec/helpers/pb2/event.pb.rb
155
+ - spec/helpers/pb2/event.proto
156
+ - spec/helpers/pb2/header/header.pb.rb
157
+ - spec/helpers/pb2/header/header.proto
158
+ - spec/helpers/pb2/human.pb.rb
159
+ - spec/helpers/pb2/unicorn.pb.rb
160
+ - spec/helpers/pb2/unicorn_event.pb.rb
161
+ - spec/helpers/pb3/FantasyHorse_pb.rb
162
+ - spec/helpers/pb3/ProbeResult_pb.rb
163
+ - spec/helpers/pb3/dnsmessage_pb.rb
164
+ - spec/helpers/pb3/events.proto3
165
+ - spec/helpers/pb3/events_pb.rb
166
+ - spec/helpers/pb3/header/header.proto3
167
+ - spec/helpers/pb3/header/header_pb.rb
168
+ - spec/helpers/pb3/integertest_pb.rb
169
+ - spec/helpers/pb3/messageA.proto3
170
+ - spec/helpers/pb3/messageA_pb.rb
171
+ - spec/helpers/pb3/messageB.proto3
172
+ - spec/helpers/pb3/messageB_pb.rb
173
+ - spec/helpers/pb3/rum2_pb.rb
174
+ - spec/helpers/pb3/rum3_pb.rb
175
+ - spec/helpers/pb3/rum_pb.rb
176
+ - spec/helpers/pb3/unicorn.proto3
177
+ - spec/helpers/pb3/unicorn_pb.rb