binnacle 0.4.8 → 0.4.9

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +26 -26
  4. data/lib/binnacle/client.rb +10 -6
  5. data/lib/binnacle/commands/tail.rb +23 -15
  6. data/lib/binnacle/logging/formatter.rb +3 -4
  7. data/lib/binnacle/resources/event.rb +19 -6
  8. data/lib/binnacle/trap/exception_event.rb +4 -6
  9. data/lib/binnacle/version.rb +1 -1
  10. data/spec/client_spec.rb +15 -41
  11. data/spec/commands_spec.rb +22 -12
  12. data/spec/logger_spec.rb +6 -1
  13. data/spec/vcr/binnacle_client/events_invokes_the_events_api.yml +52 -55
  14. data/spec/vcr/binnacle_client/events_returns_a_collection_of_event_objects.yml +52 -55
  15. data/spec/vcr/binnacle_client/recents_invokes_the_events_api_recents.yml +59 -22
  16. data/spec/vcr/binnacle_client/recents_returns_a_collection_of_event_objects.yml +98 -22
  17. data/spec/vcr/binnacle_client/report_exception_invokes_the_events_api_signal.yml +23 -24
  18. data/spec/vcr/binnacle_client/signal_asynch_invokes_the_events_api_signal.yml +26 -19
  19. data/spec/vcr/binnacle_client/signal_invokes_the_events_api_signal.yml +60 -15
  20. data/spec/vcr/binnacle_client_ready_/returns_true_if_a_connection_has_been_successfully_established.yml +45 -6
  21. data/spec/vcr/binnacle_command/requires_a_known_subcommand_argument.yml +42 -0
  22. data/spec/vcr/binnacle_command/tail_command_validates_the_passed_params_before_executing.yml +42 -0
  23. data/spec/vcr/binnacle_command/tail_command_with_n_flag_returns_recent_events.yml +61 -16
  24. data/spec/vcr/binnacle_http_logger/_htt_party_adapter_should_log__ge_t_requests.yml +38 -1
  25. data/spec/vcr/binnacle_http_logger/_http_client_adapter_should_log__ge_t_requests.yml +74 -0
  26. data/spec/vcr/binnacle_http_logger/open_uri_adapter_should_log__ge_t_requests.yml +333 -0
  27. data/spec/vcr/binnacle_http_logger/typhoeus_adapter_should_log__ge_t_requests.yml +38 -1
  28. data/spec/vcr/binnacle_logging/logging_allows_passing_other_parameters_using_a_hash.yml +35 -33
  29. data/spec/vcr/binnacle_logging/logging_invokes_the_events_api_signal.yml +60 -15
  30. data/spec/vcr/binnacle_logging/logging_respects_the_logger_severity.yml +54 -15
  31. data/vendor/assets/javascripts/binnacle/binnacle.js +39 -18
  32. metadata +6 -4
  33. data/spec/exception_event_spec.rb +0 -72
@@ -1,5 +1,82 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"channelId":"icoc0tnol3obe8pas207","sessionId":"My Sess","clientEventTime":"2017-07-06T11:10:41-0400","eventName":"ASYNCH_TEST_EVT","clientId":"binnacle-rb","logLevel":"INFO","tags":[],"environment":"production","json":{}}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.12.1
12
+ Accept:
13
+ - "*/*"
14
+ Accept-Encoding:
15
+ - gzip,deflate
16
+ Date:
17
+ - Thu, 06 Jul 2017 15:10:41 GMT
18
+ Content-Type:
19
+ - application/json
20
+ Authorization:
21
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Thu, 06 Jul 2017 15:10:41 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Transfer-Encoding:
32
+ - chunked
33
+ body:
34
+ encoding: UTF-8
35
+ string: '{"message":"Signaled: io.binnacle.models.BinnacleEvent(a1458959-18c0-42e3-aa26-e41d752eb339,
36
+ bv4sfcz28up6q6bophx4, n7f05b76tr4xsc6slstl, icoc0tnol3obe8pas207, 2017-07-06,
37
+ My Sess, Thu Jul 06 11:10:41 EDT 2017, ASYNCH_TEST_EVT, Thu Jul 06 11:10:41
38
+ EDT 2017, binnacle-rb, /0:0:0:0:0:0:0:1, INFO, production, [], null, {})"}'
39
+ http_version:
40
+ recorded_at: Thu, 06 Jul 2017 15:10:42 GMT
41
+ - request:
42
+ method: get
43
+ uri: http://localhost:8080/api/endpoints
44
+ body:
45
+ encoding: UTF-8
46
+ string: ''
47
+ headers:
48
+ User-Agent:
49
+ - Faraday v0.12.1
50
+ Accept:
51
+ - "*/*"
52
+ Accept-Encoding:
53
+ - gzip,deflate
54
+ Date:
55
+ - Thu, 06 Jul 2017 15:10:42 GMT
56
+ Content-Type:
57
+ - application/json
58
+ Authorization:
59
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
60
+ response:
61
+ status:
62
+ code: 200
63
+ message: OK
64
+ headers:
65
+ Date:
66
+ - Thu, 06 Jul 2017 15:10:42 GMT
67
+ Content-Type:
68
+ - application/json
69
+ Content-Encoding:
70
+ - gzip
71
+ Vary:
72
+ - Accept-Encoding
73
+ Transfer-Encoding:
74
+ - chunked
75
+ body:
76
+ encoding: UTF-8
77
+ string: '["127.0.0.1"]'
78
+ http_version:
79
+ recorded_at: Thu, 06 Jul 2017 15:10:42 GMT
3
80
  - request:
4
81
  method: get
5
82
  uri: http://localhost:8080/api/endpoints
@@ -8,11 +85,13 @@ http_interactions:
8
85
  string: ''
9
86
  headers:
10
87
  User-Agent:
11
- - Faraday v0.9.1
88
+ - Faraday v0.12.1
12
89
  Accept:
13
90
  - "*/*"
91
+ Accept-Encoding:
92
+ - gzip,deflate
14
93
  Date:
15
- - Thu, 22 Oct 2015 04:04:44 GMT
94
+ - Thu, 06 Jul 2017 15:10:42 GMT
16
95
  Content-Type:
17
96
  - application/json
18
97
  Authorization:
@@ -23,31 +102,35 @@ http_interactions:
23
102
  message: OK
24
103
  headers:
25
104
  Date:
26
- - Thu, 22 Oct 2015 04:04:44 GMT
105
+ - Thu, 06 Jul 2017 15:10:42 GMT
27
106
  Content-Type:
28
107
  - application/json
108
+ Content-Encoding:
109
+ - gzip
29
110
  Vary:
30
111
  - Accept-Encoding
31
112
  Transfer-Encoding:
32
113
  - chunked
33
114
  body:
34
115
  encoding: UTF-8
35
- string: '["98.174.197.28"]'
116
+ string: '["127.0.0.1"]'
36
117
  http_version:
37
- recorded_at: Thu, 22 Oct 2015 04:04:44 GMT
118
+ recorded_at: Thu, 06 Jul 2017 15:10:42 GMT
38
119
  - request:
39
120
  method: get
40
- uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207/recents?limit=10&since=500
121
+ uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207/production/recents?limit=10&since=500
41
122
  body:
42
123
  encoding: UTF-8
43
124
  string: ''
44
125
  headers:
45
126
  User-Agent:
46
- - Faraday v0.9.1
127
+ - Faraday v0.12.1
47
128
  Accept:
48
129
  - "*/*"
130
+ Accept-Encoding:
131
+ - gzip,deflate
49
132
  Date:
50
- - Thu, 22 Oct 2015 04:04:44 GMT
133
+ - Thu, 06 Jul 2017 15:10:42 GMT
51
134
  Content-Type:
52
135
  - application/json
53
136
  Authorization:
@@ -58,26 +141,19 @@ http_interactions:
58
141
  message: OK
59
142
  headers:
60
143
  Date:
61
- - Thu, 22 Oct 2015 04:04:44 GMT
144
+ - Thu, 06 Jul 2017 15:10:42 GMT
62
145
  Content-Type:
63
146
  - application/json
147
+ Content-Encoding:
148
+ - gzip
64
149
  Vary:
65
150
  - Accept-Encoding
66
151
  Transfer-Encoding:
67
152
  - chunked
68
153
  body:
69
154
  encoding: UTF-8
70
- string: '[{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":"Started
71
- GET \"/\" for 127.0.0.1 at 2015-10-21 14:02:44 -0700"},"id":"564502a3-99bd-4e59-b158-ff6e81286047","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"4e1f948b-ffab-4c88-8755-81ae23d88a79","eventTime":1445461365173,"eventName":"log","clientEventTime":1445461364000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":"Processing
72
- by DashboardController#index as HTML"},"id":"87fb0c3a-7681-45c7-b104-28895b1e5f7e","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"4e1f948b-ffab-4c88-8755-81ae23d88a79","eventTime":1445461365305,"eventName":"log","clientEventTime":1445461365000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":"Started
73
- GET \"/\" for 127.0.0.1 at 2015-10-21 14:02:45 -0700"},"id":"e360b98d-6355-4daf-8af6-49500ccb5cf7","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"bd2d0144-5f6f-4b4c-ab82-840d462ba2b6","eventTime":1445461365368,"eventName":"log","clientEventTime":1445461365000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":"Processing
74
- by DashboardController#index as HTML"},"id":"9f85d600-ef0a-464b-9a72-13446c297df9","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"bd2d0144-5f6f-4b4c-ab82-840d462ba2b6","eventTime":1445461366331,"eventName":"log","clientEventTime":1445461366000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
75
- dashboard/index.html.erb within layouts/application (1126.0ms)"},"id":"20d9d0b6-936b-414e-ab8e-a42e32df3b2d","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"4e1f948b-ffab-4c88-8755-81ae23d88a79","eventTime":1445461371031,"eventName":"log","clientEventTime":1445461370000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
76
- dashboard/index.html.erb within layouts/application (1013.6ms)"},"id":"5fcda44f-1bde-4cf9-850c-159e8ef2c023","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"bd2d0144-5f6f-4b4c-ab82-840d462ba2b6","eventTime":1445461371324,"eventName":"log","clientEventTime":1445461370000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
77
- application/_notifications.html.erb (219.5ms)"},"id":"a054fc11-7cbc-4504-a4b2-a6b20a799dc7","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"bd2d0144-5f6f-4b4c-ab82-840d462ba2b6","eventTime":1445461373075,"eventName":"log","clientEventTime":1445461373000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
78
- application/_docs_menu.html.erb (24.7ms)"},"id":"0a5c5a0d-0814-4922-97a1-df98afa221db","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"bd2d0144-5f6f-4b4c-ab82-840d462ba2b6","eventTime":1445461373163,"eventName":"log","clientEventTime":1445461373000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
79
- application/_notifications.html.erb (234.8ms)"},"id":"1ffaeacc-e3b4-40c5-a245-1f4b37b1ab20","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"4e1f948b-ffab-4c88-8755-81ae23d88a79","eventTime":1445461373164,"eventName":"log","clientEventTime":1445461373000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"n7f05b76tr4xsc6slstl","json":{"message":" Rendered
80
- application/_docs_menu.html.erb (25.8ms)"},"id":"a8ec00d2-1c75-452d-82bc-d8104d19239b","channelId":"icoc0tnol3obe8pas207","date":"2015-10-21","sessionId":"4e1f948b-ffab-4c88-8755-81ae23d88a79","eventTime":1445461373165,"eventName":"log","clientEventTime":1445461373000,"clientId":"127.0.0.1","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":[],"dismissed":null}]'
155
+ string: '[{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{},"id":"a1458959-18c0-42e3-aa26-e41d752eb339","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"My
156
+ Sess","eventTime":1499353841843,"eventName":"ASYNCH_TEST_EVT","clientEventTime":1499353841000,"clientId":"binnacle-rb","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":"production","tags":[],"dismissed":null}]'
81
157
  http_version:
82
- recorded_at: Thu, 22 Oct 2015 04:04:44 GMT
83
- recorded_with: VCR 2.9.3
158
+ recorded_at: Thu, 06 Jul 2017 15:10:42 GMT
159
+ recorded_with: VCR 3.0.3
@@ -8,13 +8,13 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.2
11
+ - Faraday v0.12.1
12
12
  Accept:
13
13
  - "*/*"
14
14
  Accept-Encoding:
15
15
  - gzip,deflate
16
16
  Date:
17
- - Sat, 24 Oct 2015 17:06:36 GMT
17
+ - Thu, 06 Jul 2017 15:10:43 GMT
18
18
  Content-Type:
19
19
  - application/json
20
20
  Authorization:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Sat, 24 Oct 2015 17:06:36 GMT
28
+ - Thu, 06 Jul 2017 15:10:43 GMT
29
29
  Content-Type:
30
30
  - application/json
31
31
  Content-Encoding:
@@ -36,9 +36,9 @@ http_interactions:
36
36
  - chunked
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '["68.2.239.31"]'
39
+ string: '["127.0.0.1"]'
40
40
  http_version:
41
- recorded_at: Sat, 24 Oct 2015 17:06:36 GMT
41
+ recorded_at: Thu, 06 Jul 2017 15:10:43 GMT
42
42
  - request:
43
43
  method: get
44
44
  uri: http://localhost:8080/api/endpoints
@@ -47,13 +47,13 @@ http_interactions:
47
47
  string: ''
48
48
  headers:
49
49
  User-Agent:
50
- - Faraday v0.9.2
50
+ - Faraday v0.12.1
51
51
  Accept:
52
52
  - "*/*"
53
53
  Accept-Encoding:
54
54
  - gzip,deflate
55
55
  Date:
56
- - Sat, 24 Oct 2015 17:06:36 GMT
56
+ - Thu, 06 Jul 2017 15:10:43 GMT
57
57
  Content-Type:
58
58
  - application/json
59
59
  Authorization:
@@ -64,7 +64,7 @@ http_interactions:
64
64
  message: OK
65
65
  headers:
66
66
  Date:
67
- - Sat, 24 Oct 2015 17:06:36 GMT
67
+ - Thu, 06 Jul 2017 15:10:43 GMT
68
68
  Content-Type:
69
69
  - application/json
70
70
  Content-Encoding:
@@ -75,25 +75,24 @@ http_interactions:
75
75
  - chunked
76
76
  body:
77
77
  encoding: UTF-8
78
- string: '["68.2.239.31"]'
78
+ string: '["127.0.0.1"]'
79
79
  http_version:
80
- recorded_at: Sat, 24 Oct 2015 17:06:36 GMT
80
+ recorded_at: Thu, 06 Jul 2017 15:10:43 GMT
81
81
  - request:
82
- method: post
83
- uri: http://localhost:8080/api/events/id0czm8eryfffcgp875c
82
+ method: get
83
+ uri: http://localhost:8080/api/endpoints
84
84
  body:
85
85
  encoding: UTF-8
86
- string: '{"channelId":"id0czm8eryfffcgp875c","sessionId":null,"clientEventTime":"2015-10-24T10:06:36-0700","eventName":"ZeroDivisionError","clientId":"","logLevel":"EXCEPTION","tags":[],"json":{"exception":"ZeroDivisionError","message":"ZeroDivisionError","component":null,"method":null,"environment_level":"UNKNOWN","hostname":"Integrallis.local","user":"email","ruby_version":"2.2.2
87
- p95 2015-04-13 x86_64-darwin14","framework":"unknown","framework_version":"unknown","framework_params":{},"http_params":{},"headers":{"Content-Length":"0"},"cookies":{},"dependencies":{"executable-hooks":"1.3.2","bundler-unload":"1.0.2","rubygems-bundler":"1.4.4","bundler":"1.10.2","rake":"10.4.2","addressable":"2.3.8","multipart-post":"2.0.0","faraday":"0.9.2","eventmachine":"1.0.8","websocket-extensions":"0.1.2","websocket-driver":"0.6.2","faye-websocket":"0.10.0","httpclient":"2.6.0.1","rack-timeout":"0.3.2","trollop":"2.1.2","binnacle":"0.3.0","docile":"1.1.5","json":"1.8.3","simplecov-html":"0.10.0","simplecov":"0.10.0","codeclimate-test-reporter":"0.4.8","safe_yaml":"1.0.4","crack":"0.4.2","diff-lcs":"1.2.5","fivemat":"1.3.2","rack":"1.6.4","rspec-support":"3.2.2","rspec-core":"3.2.3","rspec-expectations":"3.2.1","rspec-mocks":"3.2.1","rspec":"3.2.0","rspec-collection_matchers":"1.1.2","vcr":"2.9.3","webmock":"1.20.4"},"backtrace":""}}'
86
+ string: ''
88
87
  headers:
89
88
  User-Agent:
90
- - Faraday v0.9.2
89
+ - Faraday v0.12.1
91
90
  Accept:
92
91
  - "*/*"
93
92
  Accept-Encoding:
94
93
  - gzip,deflate
95
94
  Date:
96
- - Sat, 24 Oct 2015 17:06:36 GMT
95
+ - Thu, 06 Jul 2017 15:10:43 GMT
97
96
  Content-Type:
98
97
  - application/json
99
98
  Authorization:
@@ -104,18 +103,18 @@ http_interactions:
104
103
  message: OK
105
104
  headers:
106
105
  Date:
107
- - Sat, 24 Oct 2015 17:06:36 GMT
106
+ - Thu, 06 Jul 2017 15:10:43 GMT
108
107
  Content-Type:
109
108
  - application/json
109
+ Content-Encoding:
110
+ - gzip
111
+ Vary:
112
+ - Accept-Encoding
110
113
  Transfer-Encoding:
111
114
  - chunked
112
115
  body:
113
116
  encoding: UTF-8
114
- string: '{"message":"Signaled: io.binnacle.models.BinnacleEvent(cfb0d2ad-aeb3-4b64-a1be-81af404bbb44,
115
- bv4sfcz28up6q6bophx4, n7f05b76tr4xsc6slstl, id0czm8eryfffcgp875c, 2015-10-24,
116
- null, Sat Oct 24 10:06:36 MST 2015, ZeroDivisionError, Sat Oct 24 10:06:36
117
- MST 2015, , /0:0:0:0:0:0:0:1, EXCEPTION, null, [], null, {\"exception\":\"ZeroDivisionError\",\"message\":\"ZeroDivisionError\",\"component\":null,\"method\":null,\"environment_level\":\"UNKNOWN\",\"hostname\":\"Integrallis.local\",\"user\":\"email\",\"ruby_version\":\"2.2.2
118
- p95 2015-04-13 x86_64-darwin14\",\"framework\":\"unknown\",\"framework_version\":\"unknown\",\"framework_params\":{},\"http_params\":{},\"headers\":{\"Content-Length\":\"0\"},\"cookies\":{},\"dependencies\":{\"executable-hooks\":\"1.3.2\",\"bundler-unload\":\"1.0.2\",\"rubygems-bundler\":\"1.4.4\",\"bundler\":\"1.10.2\",\"rake\":\"10.4.2\",\"addressable\":\"2.3.8\",\"multipart-post\":\"2.0.0\",\"faraday\":\"0.9.2\",\"eventmachine\":\"1.0.8\",\"websocket-extensions\":\"0.1.2\",\"websocket-driver\":\"0.6.2\",\"faye-websocket\":\"0.10.0\",\"httpclient\":\"2.6.0.1\",\"rack-timeout\":\"0.3.2\",\"trollop\":\"2.1.2\",\"binnacle\":\"0.3.0\",\"docile\":\"1.1.5\",\"json\":\"1.8.3\",\"simplecov-html\":\"0.10.0\",\"simplecov\":\"0.10.0\",\"codeclimate-test-reporter\":\"0.4.8\",\"safe_yaml\":\"1.0.4\",\"crack\":\"0.4.2\",\"diff-lcs\":\"1.2.5\",\"fivemat\":\"1.3.2\",\"rack\":\"1.6.4\",\"rspec-support\":\"3.2.2\",\"rspec-core\":\"3.2.3\",\"rspec-expectations\":\"3.2.1\",\"rspec-mocks\":\"3.2.1\",\"rspec\":\"3.2.0\",\"rspec-collection_matchers\":\"1.1.2\",\"vcr\":\"2.9.3\",\"webmock\":\"1.20.4\"},\"backtrace\":\"\"})"}'
117
+ string: '["127.0.0.1"]'
119
118
  http_version:
120
- recorded_at: Sat, 24 Oct 2015 17:06:37 GMT
121
- recorded_with: VCR 2.9.3
119
+ recorded_at: Thu, 06 Jul 2017 15:10:43 GMT
120
+ recorded_with: VCR 3.0.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.1
11
+ - Faraday v0.12.1
12
12
  Accept:
13
13
  - "*/*"
14
+ Accept-Encoding:
15
+ - gzip,deflate
14
16
  Date:
15
- - Fri, 16 Oct 2015 05:12:55 GMT
17
+ - Thu, 06 Jul 2017 15:10:41 GMT
16
18
  Content-Type:
17
19
  - application/json
18
20
  Authorization:
@@ -23,31 +25,35 @@ http_interactions:
23
25
  message: OK
24
26
  headers:
25
27
  Date:
26
- - Fri, 16 Oct 2015 05:12:55 GMT
28
+ - Thu, 06 Jul 2017 15:10:41 GMT
27
29
  Content-Type:
28
30
  - application/json
31
+ Content-Encoding:
32
+ - gzip
29
33
  Vary:
30
34
  - Accept-Encoding
31
35
  Transfer-Encoding:
32
36
  - chunked
33
37
  body:
34
38
  encoding: UTF-8
35
- string: '["68.2.239.31"]'
36
- http_version:
37
- recorded_at: Fri, 16 Oct 2015 05:12:55 GMT
39
+ string: '["127.0.0.1"]'
40
+ http_version:
41
+ recorded_at: Thu, 06 Jul 2017 15:10:41 GMT
38
42
  - request:
39
- method: post
40
- uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207
43
+ method: get
44
+ uri: http://localhost:8080/api/endpoints
41
45
  body:
42
46
  encoding: UTF-8
43
- string: '{"channelId":"icoc0tnol3obe8pas207","sessionId":"My Sess","clientEventTime":"2015-10-15T22:12:55-0700","eventName":"ASYNCH_TEST_EVT","clientId":"binnacle-rb","logLevel":"INFO","tags":[],"json":{}}'
47
+ string: ''
44
48
  headers:
45
49
  User-Agent:
46
- - Faraday v0.9.1
50
+ - Faraday v0.12.1
47
51
  Accept:
48
52
  - "*/*"
53
+ Accept-Encoding:
54
+ - gzip,deflate
49
55
  Date:
50
- - Fri, 16 Oct 2015 05:12:55 GMT
56
+ - Thu, 06 Jul 2017 15:10:41 GMT
51
57
  Content-Type:
52
58
  - application/json
53
59
  Authorization:
@@ -58,17 +64,18 @@ http_interactions:
58
64
  message: OK
59
65
  headers:
60
66
  Date:
61
- - Fri, 16 Oct 2015 05:12:55 GMT
67
+ - Thu, 06 Jul 2017 15:10:41 GMT
62
68
  Content-Type:
63
69
  - application/json
70
+ Content-Encoding:
71
+ - gzip
72
+ Vary:
73
+ - Accept-Encoding
64
74
  Transfer-Encoding:
65
75
  - chunked
66
76
  body:
67
77
  encoding: UTF-8
68
- string: '{"message":"Signaled: io.binnacle.models.BinnacleEvent(8184dc08-fa21-44ea-af5a-0b857f76c78c,
69
- bv4sfcz28up6q6bophx4, n7f05b76tr4xsc6slstl, icoc0tnol3obe8pas207, 2015-10-15,
70
- My Sess, Thu Oct 15 22:12:55 MST 2015, ASYNCH_TEST_EVT, Thu Oct 15 22:12:55 MST 2015,
71
- binnacle-rb, /0:0:0:0:0:0:0:1, INFO, null, [], null, {})"}'
72
- http_version:
73
- recorded_at: Fri, 16 Oct 2015 05:12:55 GMT
74
- recorded_with: VCR 2.9.3
78
+ string: '["127.0.0.1"]'
79
+ http_version:
80
+ recorded_at: Thu, 06 Jul 2017 15:10:41 GMT
81
+ recorded_with: VCR 3.0.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.1
11
+ - Faraday v0.12.1
12
12
  Accept:
13
13
  - "*/*"
14
+ Accept-Encoding:
15
+ - gzip,deflate
14
16
  Date:
15
- - Fri, 16 Oct 2015 05:12:55 GMT
17
+ - Thu, 06 Jul 2017 19:25:14 GMT
16
18
  Content-Type:
17
19
  - application/json
18
20
  Authorization:
@@ -23,31 +25,74 @@ http_interactions:
23
25
  message: OK
24
26
  headers:
25
27
  Date:
26
- - Fri, 16 Oct 2015 05:12:55 GMT
28
+ - Thu, 06 Jul 2017 19:25:14 GMT
27
29
  Content-Type:
28
30
  - application/json
31
+ Content-Encoding:
32
+ - gzip
29
33
  Vary:
30
34
  - Accept-Encoding
31
35
  Transfer-Encoding:
32
36
  - chunked
33
37
  body:
34
38
  encoding: UTF-8
35
- string: '["68.2.239.31"]'
39
+ string: '["127.0.0.1"]'
36
40
  http_version:
37
- recorded_at: Fri, 16 Oct 2015 05:12:55 GMT
41
+ recorded_at: Thu, 06 Jul 2017 19:25:14 GMT
42
+ - request:
43
+ method: get
44
+ uri: http://localhost:8080/api/endpoints
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - Faraday v0.12.1
51
+ Accept:
52
+ - "*/*"
53
+ Accept-Encoding:
54
+ - gzip,deflate
55
+ Date:
56
+ - Thu, 06 Jul 2017 19:25:14 GMT
57
+ Content-Type:
58
+ - application/json
59
+ Authorization:
60
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: OK
65
+ headers:
66
+ Date:
67
+ - Thu, 06 Jul 2017 19:25:14 GMT
68
+ Content-Type:
69
+ - application/json
70
+ Content-Encoding:
71
+ - gzip
72
+ Vary:
73
+ - Accept-Encoding
74
+ Transfer-Encoding:
75
+ - chunked
76
+ body:
77
+ encoding: UTF-8
78
+ string: '["127.0.0.1"]'
79
+ http_version:
80
+ recorded_at: Thu, 06 Jul 2017 19:25:14 GMT
38
81
  - request:
39
82
  method: post
40
83
  uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207
41
84
  body:
42
85
  encoding: UTF-8
43
- string: '{"channelId":"icoc0tnol3obe8pas207","sessionId":"My Sess","clientEventTime":"2015-10-15T22:12:55-0700","eventName":"TEST_EVT","clientId":"binnacle-rb","logLevel":"INFO","tags":[],"json":{}}'
86
+ string: '{"channelId":"icoc0tnol3obe8pas207","sessionId":"My Sess","clientEventTime":"2017-07-06T15:25:14-0400","eventName":"TEST_EVT","clientId":"binnacle-rb","logLevel":"INFO","tags":[],"environment":"development","json":{}}'
44
87
  headers:
45
88
  User-Agent:
46
- - Faraday v0.9.1
89
+ - Faraday v0.12.1
47
90
  Accept:
48
91
  - "*/*"
92
+ Accept-Encoding:
93
+ - gzip,deflate
49
94
  Date:
50
- - Fri, 16 Oct 2015 05:12:55 GMT
95
+ - Thu, 06 Jul 2017 19:25:14 GMT
51
96
  Content-Type:
52
97
  - application/json
53
98
  Authorization:
@@ -58,17 +103,17 @@ http_interactions:
58
103
  message: OK
59
104
  headers:
60
105
  Date:
61
- - Fri, 16 Oct 2015 05:12:55 GMT
106
+ - Thu, 06 Jul 2017 19:25:14 GMT
62
107
  Content-Type:
63
108
  - application/json
64
109
  Transfer-Encoding:
65
110
  - chunked
66
111
  body:
67
112
  encoding: UTF-8
68
- string: '{"message":"Signaled: io.binnacle.models.BinnacleEvent(8184dc08-fa21-44ea-af5a-0b857f76c78c,
69
- bv4sfcz28up6q6bophx4, n7f05b76tr4xsc6slstl, icoc0tnol3obe8pas207, 2015-10-15,
70
- My Sess, Thu Oct 15 22:12:55 MST 2015, TEST_EVT, Thu Oct 15 22:12:55 MST 2015,
71
- binnacle-rb, /0:0:0:0:0:0:0:1, INFO, null, [], null, {})"}'
113
+ string: '{"message":"Signaled: io.binnacle.models.BinnacleEvent(5a375ba7-7633-4bb8-8350-7174c78b374a,
114
+ bv4sfcz28up6q6bophx4, n7f05b76tr4xsc6slstl, icoc0tnol3obe8pas207, 2017-07-06,
115
+ My Sess, Thu Jul 06 15:25:14 EDT 2017, TEST_EVT, Thu Jul 06 15:25:14 EDT 2017,
116
+ binnacle-rb, /0:0:0:0:0:0:0:1, INFO, development, [], null, {})"}'
72
117
  http_version:
73
- recorded_at: Fri, 16 Oct 2015 05:12:55 GMT
74
- recorded_with: VCR 2.9.3
118
+ recorded_at: Thu, 06 Jul 2017 19:25:14 GMT
119
+ recorded_with: VCR 3.0.3