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
@@ -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 18:00:00 GMT
17
+ - Thu, 06 Jul 2017 19:25:14 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 18:00:00 GMT
28
+ - Thu, 06 Jul 2017 19:25:14 GMT
29
29
  Content-Type:
30
30
  - application/json
31
31
  Content-Encoding:
@@ -36,7 +36,46 @@ 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 18:00:00 GMT
42
- recorded_with: VCR 2.9.3
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
81
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,42 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/api/endpoints
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
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 19:41:38 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 19:41:38 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Encoding:
32
+ - gzip
33
+ Vary:
34
+ - Accept-Encoding
35
+ Transfer-Encoding:
36
+ - chunked
37
+ body:
38
+ encoding: UTF-8
39
+ string: '["127.0.0.1"]'
40
+ http_version:
41
+ recorded_at: Thu, 06 Jul 2017 19:41:38 GMT
42
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,42 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/api/endpoints
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
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 19:41:03 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 19:41:03 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Encoding:
32
+ - gzip
33
+ Vary:
34
+ - Accept-Encoding
35
+ Transfer-Encoding:
36
+ - chunked
37
+ body:
38
+ encoding: UTF-8
39
+ string: '["127.0.0.1"]'
40
+ http_version:
41
+ recorded_at: Thu, 06 Jul 2017 19:41:03 GMT
42
+ recorded_with: VCR 3.0.3
@@ -8,24 +8,24 @@ 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
- - Thu, 22 Oct 2015 21:32:41 GMT
17
+ - Thu, 06 Jul 2017 19:23:53 GMT
18
18
  Content-Type:
19
19
  - application/json
20
20
  Authorization:
21
- - Basic anpyNWQ1a2dqNGozbDhmbTkwdHI6YnozZTN3NDRvMzMyM2R5cHA4ZDc=
21
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
22
22
  response:
23
23
  status:
24
24
  code: 200
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 22 Oct 2015 21:32:41 GMT
28
+ - Thu, 06 Jul 2017 19:23:53 GMT
29
29
  Content-Type:
30
30
  - application/json
31
31
  Content-Encoding:
@@ -36,35 +36,74 @@ http_interactions:
36
36
  - chunked
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '["98.174.197.28"]'
40
- http_version:
41
- recorded_at: Thu, 22 Oct 2015 21:32:41 GMT
39
+ string: '["127.0.0.1"]'
40
+ http_version:
41
+ recorded_at: Thu, 06 Jul 2017 19:23:53 GMT
42
42
  - request:
43
43
  method: get
44
- uri: http://localhost:8080/api/events/ylhcn28x7skv6av8q93m/recents?limit=10&since=60
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:23:53 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:23:53 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:23:53 GMT
81
+ - request:
82
+ method: get
83
+ uri: http://localhost:8080/api/events/icoc0tnol3obe8pas207/production/recents?limit=10&since=60
45
84
  body:
46
85
  encoding: UTF-8
47
86
  string: ''
48
87
  headers:
49
88
  User-Agent:
50
- - Faraday v0.9.2
89
+ - Faraday v0.12.1
51
90
  Accept:
52
91
  - "*/*"
53
92
  Accept-Encoding:
54
93
  - gzip,deflate
55
94
  Date:
56
- - Thu, 22 Oct 2015 21:32:41 GMT
95
+ - Thu, 06 Jul 2017 19:23:53 GMT
57
96
  Content-Type:
58
97
  - application/json
59
98
  Authorization:
60
- - Basic anpyNWQ1a2dqNGozbDhmbTkwdHI6YnozZTN3NDRvMzMyM2R5cHA4ZDc=
99
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
61
100
  response:
62
101
  status:
63
102
  code: 200
64
103
  message: OK
65
104
  headers:
66
105
  Date:
67
- - Thu, 22 Oct 2015 21:32:41 GMT
106
+ - Thu, 06 Jul 2017 19:23:53 GMT
68
107
  Content-Type:
69
108
  - application/json
70
109
  Content-Encoding:
@@ -75,7 +114,13 @@ http_interactions:
75
114
  - chunked
76
115
  body:
77
116
  encoding: UTF-8
78
- string: '[{"accountId":"bv4sfcz28up6q6bophx4","appId":"qaq3df9nl4qafv5aqcyh","json":{},"id":"5ddc41ea-ccaf-4a5b-aa0f-592d70572276","channelId":"ylhcn28x7skv6av8q93m","date":"2015-10-22","sessionId":"SESS_01","eventTime":1445546248199,"eventName":"TEST_EVT2","clientEventTime":1445546248000,"clientId":"io","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":["account","upgrade"],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"qaq3df9nl4qafv5aqcyh","json":{},"id":"4315e33e-353b-475b-b986-0bfe01de21c4","channelId":"ylhcn28x7skv6av8q93m","date":"2015-10-22","sessionId":"SESS_01","eventTime":1445546252140,"eventName":"TEST_EVT2","clientEventTime":1445546252000,"clientId":"io","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":["account","upgrade"],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"qaq3df9nl4qafv5aqcyh","json":{},"id":"04897a77-a162-4fea-8da7-bb6ce37d196b","channelId":"ylhcn28x7skv6av8q93m","date":"2015-10-22","sessionId":"SESS_01","eventTime":1445546252956,"eventName":"TEST_EVT2","clientEventTime":1445546252000,"clientId":"io","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":["account","upgrade"],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"qaq3df9nl4qafv5aqcyh","json":{},"id":"128692e0-ecd6-47f2-9b8b-60f81e99d503","channelId":"ylhcn28x7skv6av8q93m","date":"2015-10-22","sessionId":"SESS_01","eventTime":1445546253754,"eventName":"TEST_EVT2","clientEventTime":1445546253000,"clientId":"io","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":["account","upgrade"],"dismissed":null},{"accountId":"bv4sfcz28up6q6bophx4","appId":"qaq3df9nl4qafv5aqcyh","json":{},"id":"70684ef0-51e7-4a19-b0c0-cf1009c479e8","channelId":"ylhcn28x7skv6av8q93m","date":"2015-10-22","sessionId":"SESS_01","eventTime":1445546256540,"eventName":"TEST_EVT2","clientEventTime":1445546256000,"clientId":"io","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":{},"tags":["account","upgrade"],"dismissed":null}]'
79
- http_version:
80
- recorded_at: Thu, 22 Oct 2015 21:32:41 GMT
81
- recorded_with: VCR 2.9.3
117
+ string: '[{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"This
118
+ is an info message"},"id":"a0119d69-6a45-4304-ac06-8150ef824154","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"","eventTime":1499367576575,"eventName":"log","clientEventTime":1499367576000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":"production","tags":[],"dismissed":null},{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"This
119
+ is an debug message"},"id":"b8cbd6e3-a0af-4e69-92db-e3739e2612c2","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"","eventTime":1499367577624,"eventName":"log","clientEventTime":1499367577000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"DEBUG","environment":"production","tags":[],"dismissed":null},{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"transfer
120
+ failed, bad RTN"},"id":"87c208a3-5ae7-4681-94de-e266b9b85b7e","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"8675309","eventTime":1499368891651,"eventName":"failed_transfer","clientEventTime":1499368891000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":"production","tags":[],"dismissed":null},{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"transfer
121
+ failed, bad RTN"},"id":"1a0fdd39-2344-4446-b652-bbebc3ef6dd5","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"8675309","eventTime":1499368965567,"eventName":"failed_transfer","clientEventTime":1499368965000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":"production","tags":[],"dismissed":null},{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"This
122
+ is an debug message"},"id":"b26af3d4-92e5-44d2-9f0b-45e9d9a51ab3","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"","eventTime":1499368983761,"eventName":"log","clientEventTime":1499368983000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"DEBUG","environment":"production","tags":[],"dismissed":null},{"@class":"io.binnacle.models.BinnacleEvent","accountId":"bv4sfcz28up6q6bophx4","json":{"message":"This
123
+ is an info message"},"id":"93b1ef01-8524-43fd-9f1f-c91c0a23de86","appId":"n7f05b76tr4xsc6slstl","channelId":"icoc0tnol3obe8pas207","date":"2017-07-06","sessionId":"","eventTime":1499369001477,"eventName":"log","clientEventTime":1499369001000,"clientId":"","ipAddress":"0:0:0:0:0:0:0:1","logLevel":"INFO","environment":"production","tags":[],"dismissed":null}]'
124
+ http_version:
125
+ recorded_at: Thu, 06 Jul 2017 19:23:53 GMT
126
+ recorded_with: VCR 3.0.3
@@ -119,4 +119,41 @@ http_interactions:
119
119
  http://localhost:9292/index.html AS text/html (duration: 7.530917995609343e-06ms)\"})"}'
120
120
  http_version:
121
121
  recorded_at: Mon, 01 Feb 2016 01:09:33 GMT
122
- recorded_with: VCR 2.9.3
122
+ - request:
123
+ method: post
124
+ uri: http://localhost:8080/api/events/
125
+ body:
126
+ encoding: UTF-8
127
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-06-03T10:44:05-0700","eventName":"GET
128
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-06-03
129
+ 10:44:05 -0700","status":200,"duration":5.685723997885361,"headers":{"Date":"Sun,
130
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
131
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 5.685723997885361ms)"}}'
132
+ headers:
133
+ User-Agent:
134
+ - Faraday v0.12.0.1
135
+ Accept:
136
+ - "*/*"
137
+ Accept-Encoding:
138
+ - gzip,deflate
139
+ Date:
140
+ - Sat, 03 Jun 2017 17:44:05 GMT
141
+ Content-Type:
142
+ - application/json
143
+ Authorization:
144
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
145
+ response:
146
+ status:
147
+ code: 404
148
+ message: Not Found
149
+ headers:
150
+ Date:
151
+ - Sat, 03 Jun 2017 17:44:05 GMT
152
+ Content-Length:
153
+ - '0'
154
+ body:
155
+ encoding: UTF-8
156
+ string: ''
157
+ http_version:
158
+ recorded_at: Sat, 03 Jun 2017 17:44:06 GMT
159
+ recorded_with: VCR 3.0.3
@@ -271,4 +271,78 @@ http_interactions:
271
271
  string: ''
272
272
  http_version:
273
273
  recorded_at: Mon, 17 Apr 2017 00:56:51 GMT
274
+ - request:
275
+ method: post
276
+ uri: http://localhost:8080/api/events/
277
+ body:
278
+ encoding: UTF-8
279
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T00:16:06-0400","eventName":"GET
280
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
281
+ 00:16:06 -0400","status":200,"duration":5.93925999419298,"headers":{"Date":"Sun,
282
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
283
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 5.93925999419298ms)"}}'
284
+ headers:
285
+ User-Agent:
286
+ - Faraday v0.12.1
287
+ Accept:
288
+ - "*/*"
289
+ Accept-Encoding:
290
+ - gzip,deflate
291
+ Date:
292
+ - Thu, 06 Jul 2017 04:16:06 GMT
293
+ Content-Type:
294
+ - application/json
295
+ Authorization:
296
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
297
+ response:
298
+ status:
299
+ code: 404
300
+ message: Not Found
301
+ headers:
302
+ Date:
303
+ - Thu, 06 Jul 2017 04:16:07 GMT
304
+ Content-Length:
305
+ - '0'
306
+ body:
307
+ encoding: UTF-8
308
+ string: ''
309
+ http_version:
310
+ recorded_at: Thu, 06 Jul 2017 04:16:07 GMT
311
+ - request:
312
+ method: post
313
+ uri: http://localhost:8080/api/events/
314
+ body:
315
+ encoding: UTF-8
316
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T15:41:46-0400","eventName":"GET
317
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
318
+ 15:41:46 -0400","status":200,"duration":5.383084004279226,"headers":{"Date":"Sun,
319
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
320
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 5.383084004279226ms)"}}'
321
+ headers:
322
+ User-Agent:
323
+ - Faraday v0.12.1
324
+ Accept:
325
+ - "*/*"
326
+ Accept-Encoding:
327
+ - gzip,deflate
328
+ Date:
329
+ - Thu, 06 Jul 2017 19:41:46 GMT
330
+ Content-Type:
331
+ - application/json
332
+ Authorization:
333
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
334
+ response:
335
+ status:
336
+ code: 404
337
+ message: Not Found
338
+ headers:
339
+ Date:
340
+ - Thu, 06 Jul 2017 19:41:46 GMT
341
+ Content-Length:
342
+ - '0'
343
+ body:
344
+ encoding: UTF-8
345
+ string: ''
346
+ http_version:
347
+ recorded_at: Thu, 06 Jul 2017 19:41:46 GMT
274
348
  recorded_with: VCR 3.0.3
@@ -748,4 +748,337 @@ http_interactions:
748
748
  string: ''
749
749
  http_version:
750
750
  recorded_at: Mon, 17 Apr 2017 00:57:50 GMT
751
+ - request:
752
+ method: post
753
+ uri: http://localhost:8080/api/events/
754
+ body:
755
+ encoding: UTF-8
756
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-04-26T07:28:03-0700","eventName":"GET
757
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-04-26
758
+ 07:28:03 -0700","status":200,"duration":5.94746300339466,"headers":{"Date":"Sun,
759
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
760
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 5.94746300339466ms)"}}'
761
+ headers:
762
+ User-Agent:
763
+ - Faraday v0.12.0.1
764
+ Accept:
765
+ - "*/*"
766
+ Accept-Encoding:
767
+ - gzip,deflate
768
+ Date:
769
+ - Wed, 26 Apr 2017 14:28:03 GMT
770
+ Content-Type:
771
+ - application/json
772
+ Authorization:
773
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
774
+ response:
775
+ status:
776
+ code: 404
777
+ message: Not Found
778
+ headers:
779
+ Date:
780
+ - Wed, 26 Apr 2017 14:28:03 GMT
781
+ Content-Length:
782
+ - '0'
783
+ body:
784
+ encoding: UTF-8
785
+ string: ''
786
+ http_version:
787
+ recorded_at: Wed, 26 Apr 2017 14:28:03 GMT
788
+ - request:
789
+ method: post
790
+ uri: http://localhost:8080/api/events/
791
+ body:
792
+ encoding: UTF-8
793
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-05-28T14:18:42-0700","eventName":"GET
794
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-05-28
795
+ 14:18:42 -0700","status":200,"duration":6.228789046872407,"headers":{"Date":"Sun,
796
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
797
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 6.228789046872407ms)"}}'
798
+ headers:
799
+ User-Agent:
800
+ - Faraday v0.12.0.1
801
+ Accept:
802
+ - "*/*"
803
+ Accept-Encoding:
804
+ - gzip,deflate
805
+ Date:
806
+ - Sun, 28 May 2017 21:18:42 GMT
807
+ Content-Type:
808
+ - application/json
809
+ Authorization:
810
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
811
+ response:
812
+ status:
813
+ code: 404
814
+ message: Not Found
815
+ headers:
816
+ Date:
817
+ - Sun, 28 May 2017 21:18:42 GMT
818
+ Content-Length:
819
+ - '0'
820
+ body:
821
+ encoding: UTF-8
822
+ string: ''
823
+ http_version:
824
+ recorded_at: Sun, 28 May 2017 21:18:42 GMT
825
+ - request:
826
+ method: post
827
+ uri: http://localhost:8080/api/events/
828
+ body:
829
+ encoding: UTF-8
830
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-05-30T16:28:41-0700","eventName":"GET
831
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-05-30
832
+ 16:28:41 -0700","status":200,"duration":4.621391000000585,"headers":{"Date":"Sun,
833
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
834
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 4.621391000000585ms)"}}'
835
+ headers:
836
+ User-Agent:
837
+ - Faraday v0.12.0.1
838
+ Accept:
839
+ - "*/*"
840
+ Accept-Encoding:
841
+ - gzip,deflate
842
+ Date:
843
+ - Tue, 30 May 2017 23:28:41 GMT
844
+ Content-Type:
845
+ - application/json
846
+ Authorization:
847
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
848
+ response:
849
+ status:
850
+ code: 404
851
+ message: Not Found
852
+ headers:
853
+ Date:
854
+ - Tue, 30 May 2017 23:28:41 GMT
855
+ Content-Length:
856
+ - '0'
857
+ body:
858
+ encoding: UTF-8
859
+ string: ''
860
+ http_version:
861
+ recorded_at: Tue, 30 May 2017 23:28:41 GMT
862
+ - request:
863
+ method: post
864
+ uri: http://localhost:8080/api/events/
865
+ body:
866
+ encoding: UTF-8
867
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T00:26:38-0400","eventName":"GET
868
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
869
+ 00:26:38 -0400","status":200,"duration":4.126674000872299,"headers":{"Date":"Sun,
870
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
871
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 4.126674000872299ms)"}}'
872
+ headers:
873
+ User-Agent:
874
+ - Faraday v0.12.1
875
+ Accept:
876
+ - "*/*"
877
+ Accept-Encoding:
878
+ - gzip,deflate
879
+ Date:
880
+ - Thu, 06 Jul 2017 04:26:38 GMT
881
+ Content-Type:
882
+ - application/json
883
+ Authorization:
884
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
885
+ response:
886
+ status:
887
+ code: 404
888
+ message: Not Found
889
+ headers:
890
+ Date:
891
+ - Thu, 06 Jul 2017 04:26:38 GMT
892
+ Content-Length:
893
+ - '0'
894
+ body:
895
+ encoding: UTF-8
896
+ string: ''
897
+ http_version:
898
+ recorded_at: Thu, 06 Jul 2017 04:26:38 GMT
899
+ - request:
900
+ method: post
901
+ uri: http://localhost:8080/api/events/
902
+ body:
903
+ encoding: UTF-8
904
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T14:54:00-0400","eventName":"GET
905
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
906
+ 14:54:00 -0400","status":200,"duration":6.504304998088628,"headers":{"Date":"Sun,
907
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
908
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 6.504304998088628ms)"}}'
909
+ headers:
910
+ User-Agent:
911
+ - Faraday v0.12.1
912
+ Accept:
913
+ - "*/*"
914
+ Accept-Encoding:
915
+ - gzip,deflate
916
+ Date:
917
+ - Thu, 06 Jul 2017 18:54:00 GMT
918
+ Content-Type:
919
+ - application/json
920
+ Authorization:
921
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
922
+ response:
923
+ status:
924
+ code: 404
925
+ message: Not Found
926
+ headers:
927
+ Date:
928
+ - Thu, 06 Jul 2017 18:54:00 GMT
929
+ Content-Length:
930
+ - '0'
931
+ body:
932
+ encoding: UTF-8
933
+ string: ''
934
+ http_version:
935
+ recorded_at: Thu, 06 Jul 2017 18:54:00 GMT
936
+ - request:
937
+ method: post
938
+ uri: http://localhost:8080/api/events/
939
+ body:
940
+ encoding: UTF-8
941
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T15:21:43-0400","eventName":"GET
942
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
943
+ 15:21:43 -0400","status":200,"duration":3.9041760028339922,"headers":{"Date":"Sun,
944
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
945
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 3.9041760028339922ms)"}}'
946
+ headers:
947
+ User-Agent:
948
+ - Faraday v0.12.1
949
+ Accept:
950
+ - "*/*"
951
+ Accept-Encoding:
952
+ - gzip,deflate
953
+ Date:
954
+ - Thu, 06 Jul 2017 19:21:43 GMT
955
+ Content-Type:
956
+ - application/json
957
+ Authorization:
958
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
959
+ response:
960
+ status:
961
+ code: 404
962
+ message: Not Found
963
+ headers:
964
+ Date:
965
+ - Thu, 06 Jul 2017 19:21:43 GMT
966
+ Content-Length:
967
+ - '0'
968
+ body:
969
+ encoding: UTF-8
970
+ string: ''
971
+ http_version:
972
+ recorded_at: Thu, 06 Jul 2017 19:21:43 GMT
973
+ - request:
974
+ method: post
975
+ uri: http://localhost:8080/api/events/
976
+ body:
977
+ encoding: UTF-8
978
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T15:23:21-0400","eventName":"GET
979
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
980
+ 15:23:21 -0400","status":200,"duration":6.133757007773966,"headers":{"Date":"Sun,
981
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
982
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 6.133757007773966ms)"}}'
983
+ headers:
984
+ User-Agent:
985
+ - Faraday v0.12.1
986
+ Accept:
987
+ - "*/*"
988
+ Accept-Encoding:
989
+ - gzip,deflate
990
+ Date:
991
+ - Thu, 06 Jul 2017 19:23:21 GMT
992
+ Content-Type:
993
+ - application/json
994
+ Authorization:
995
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
996
+ response:
997
+ status:
998
+ code: 404
999
+ message: Not Found
1000
+ headers:
1001
+ Date:
1002
+ - Thu, 06 Jul 2017 19:23:21 GMT
1003
+ Content-Length:
1004
+ - '0'
1005
+ body:
1006
+ encoding: UTF-8
1007
+ string: ''
1008
+ http_version:
1009
+ recorded_at: Thu, 06 Jul 2017 19:23:21 GMT
1010
+ - request:
1011
+ method: post
1012
+ uri: http://localhost:8080/api/events/
1013
+ body:
1014
+ encoding: UTF-8
1015
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T15:41:38-0400","eventName":"GET
1016
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
1017
+ 15:41:38 -0400","status":200,"duration":5.374247004510835,"headers":{"Date":"Sun,
1018
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
1019
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 5.374247004510835ms)"}}'
1020
+ headers:
1021
+ User-Agent:
1022
+ - Faraday v0.12.1
1023
+ Accept:
1024
+ - "*/*"
1025
+ Accept-Encoding:
1026
+ - gzip,deflate
1027
+ Date:
1028
+ - Thu, 06 Jul 2017 19:41:38 GMT
1029
+ Content-Type:
1030
+ - application/json
1031
+ Authorization:
1032
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
1033
+ response:
1034
+ status:
1035
+ code: 404
1036
+ message: Not Found
1037
+ headers:
1038
+ Date:
1039
+ - Thu, 06 Jul 2017 19:41:38 GMT
1040
+ Content-Length:
1041
+ - '0'
1042
+ body:
1043
+ encoding: UTF-8
1044
+ string: ''
1045
+ http_version:
1046
+ recorded_at: Thu, 06 Jul 2017 19:41:39 GMT
1047
+ - request:
1048
+ method: post
1049
+ uri: http://localhost:8080/api/events/
1050
+ body:
1051
+ encoding: UTF-8
1052
+ string: '{"channelId":null,"sessionId":"","clientEventTime":"2017-07-06T15:42:06-0400","eventName":"GET
1053
+ http://104.131.46.61:8080/api/endpoints","clientId":"","logLevel":"log","tags":[],"environment":"production","json":{"direction":"out","url":"http://104.131.46.61:8080/api/endpoints","method":"GET","host":"104.131.46.61","port":8080,"path":"/api/endpoints","query":null,"format":"application/json","time":"2017-07-06
1054
+ 15:42:06 -0400","status":200,"duration":4.126525018364191,"headers":{"Date":"Sun,
1055
+ 25 Oct 2015 15:43:06 GMT","Content-Type":"application/json","Content-Encoding":"gzip","Vary":"Accept-Encoding","Transfer-Encoding":"chunked"},"body":"[\"104.131.41.123\",\"104.236.110.41\",\"104.131.46.61\",\"104.131.106.113\",\"45.55.141.159\",\"104.131.75.74\"]","data":"","message":"GET
1056
+ http://104.131.46.61:8080/api/endpoints AS application/json (duration: 4.126525018364191ms)"}}'
1057
+ headers:
1058
+ User-Agent:
1059
+ - Faraday v0.12.1
1060
+ Accept:
1061
+ - "*/*"
1062
+ Accept-Encoding:
1063
+ - gzip,deflate
1064
+ Date:
1065
+ - Thu, 06 Jul 2017 19:42:06 GMT
1066
+ Content-Type:
1067
+ - application/json
1068
+ Authorization:
1069
+ - Basic dmNldGg0eGN3cWZvb3dwejJlc2k6MWdydHR5YjhvemJlOWF4dDg4amk=
1070
+ response:
1071
+ status:
1072
+ code: 404
1073
+ message: Not Found
1074
+ headers:
1075
+ Date:
1076
+ - Thu, 06 Jul 2017 19:42:06 GMT
1077
+ Content-Length:
1078
+ - '0'
1079
+ body:
1080
+ encoding: UTF-8
1081
+ string: ''
1082
+ http_version:
1083
+ recorded_at: Thu, 06 Jul 2017 19:42:07 GMT
751
1084
  recorded_with: VCR 3.0.3