Commit 60d1cc21 by John Donnal

Merge branch 'master' of git.wattsworth.net:wattsworth/control-api

parents 7521ee46 18a45972
Showing with 1665 additions and 1 deletions
......@@ -21,7 +21,7 @@ vendor/bundle
*~
.byebug_history
spec/cassettes
vagrant_boxes/*.log
vagrant_boxes/.vagrant
coverage
......
---
http_interactions:
- request:
method: get
uri: http://172.16.1.12/joule/modules.json
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 08 Apr 2018 02:18:48 GMT
Server:
- Python/3.6 aiohttp/3.0.2
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '779'
body:
encoding: UTF-8
string: '[{"name": "OpenWeather", "description": "Collect data from OpenWeatherMap.org",
"web_interface": false, "exec_cmd": "/home/jdonnal/Envs/joule/bin/python /home/jdonnal/openweather/weather.py",
"args": [], "input_paths": {}, "output_paths": {"annapolis": "/openweather/annapolis"},
"status": "running", "pid": 26748, "id": 1, "socket": null}, {"name": "Example
Visualizer", "description": "", "web_interface": true, "exec_cmd": "/home/jdonnal/Envs/joule/bin/python
/home/jdonnal/joule/joule/client/visualizer_module.py --message=\"this is
much cooler\nanother line is\neven better\"", "args": ["--message", "this
is much cooler\nanother line is\neven better"], "input_paths": {}, "output_paths":
{}, "status": "running", "pid": 26749, "id": 2, "socket": "/tmp/wattsworth.joule.2"}]'
http_version:
recorded_at: Sun, 08 Apr 2018 02:18:48 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://nuc:8088/data.json?end=1531330705273202&id=6&max-rows=20&start=1531248642561047
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '1518'
Date:
- Wed, 11 Jul 2018 17:44:56 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: '{"data": [[[1531327881393444.0, 0.4984290599822998, 0.507465124130249,
0.4990934431552887, 0.0005015652277506888, 0.00016959379718173295, 0.00021330644085537642,
0.9995611906051636, 0.9995793104171753, 0.9999534487724304], [1531328290993444.0,
0.49649256467819214, 0.4943777918815613, 0.5017114281654358, 0.0003509223461151123,
0.0011142439907416701, 0.00010354733240092173, 0.9999706149101257, 0.9997057318687439,
0.9994357228279114], [1531328700593444.0, 0.493081271648407, 0.5030664801597595,
0.4954362213611603, 6.807013414800167e-05, 0.00025421546888537705, 0.0004367325163912028,
0.9998959898948669, 0.999597430229187, 0.9991618394851685]], [[1531329345123201.0,
0.5056757926940918, 0.5072814226150513, 0.49640989303588867, 0.00014106744492892176,
7.68112950026989e-05, 0.000260984234046191, 0.9996941089630127, 0.9999077320098877,
0.999378502368927], [1531329754723201.0, 0.5013141632080078, 0.49316269159317017,
0.4989979863166809, 0.0005909130559302866, 0.0002835445338860154, 0.00017449419829063118,
0.9997172355651855, 0.9999982714653015, 0.9999263286590576], [1531330164323201.0,
0.5018675327301025, 0.4945412278175354, 0.5044697523117065, 0.00014964632282499224,
0.0005160810542292893, 2.3647789930691943e-05, 0.9997320175170898, 0.999820351600647,
0.9998053312301636], [1531330573923201.0, 0.5021273493766785, 0.49711892008781433,
0.4983658194541931, 2.7880289053427987e-05, 0.00027452822541818023, 0.00018175684090238065,
0.9999358057975769, 0.9993130564689636, 0.9990729093551636]]], "decimated":
true}'
http_version:
recorded_at: Wed, 11 Jul 2018 17:44:56 GMT
recorded_with: VCR 4.0.0
---
http_interactions:
- request:
method: get
uri: http://nuc:8088/data.json?end=1531248642581047&id=6&max-rows=200&start=1531248642561047
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '116'
Date:
- Wed, 11 Jul 2018 17:43:23 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: '{"data": [[[1531248642561047.0, 0.33116427063941956, 0.27765724062919617,
0.3490035831928253]]], "decimated": false}'
http_version:
recorded_at: Wed, 11 Jul 2018 17:43:23 GMT
recorded_with: VCR 4.0.0
---
http_interactions:
- request:
method: get
uri: http://nuc:8088/streams.json
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '3683'
Date:
- Wed, 11 Jul 2018 14:58:33 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: '{"id": 1, "name": "root", "description": null, "children": [{"id":
2, "name": "folder_2", "description": null, "children": [], "streams": [{"id":
1, "name": "stream_2_1", "description": "", "datatype": "INT16", "keep_us":
-1, "decimate": true, "elements": [{"id": 12, "index": 0, "name": "top", "units":
null, "plottable": true, "display_type": "CONTINUOUS", "offset": 0.0, "scale_factor":
1.0, "default_max": null, "default_min": null}, {"id": 13, "index": 1, "name":
"bottom", "units": null, "plottable": true, "display_type": "CONTINUOUS",
"offset": 0.0, "scale_factor": 1.0, "default_max": null, "default_min": null}]}]},
{"id": 3, "name": "folder_1", "description": null, "children": [], "streams":
[{"id": 2, "name": "stream_1_2", "description": "", "datatype": "UINT8", "keep_us":
-1, "decimate": true, "elements": [{"id": 14, "index": 0, "name": "a", "units":
null, "plottable": true, "display_type": "CONTINUOUS", "offset": 0.0, "scale_factor":
1.0, "default_max": null, "default_min": null}, {"id": 15, "index": 1, "name":
"b", "units": null, "plottable": true, "display_type": "CONTINUOUS", "offset":
0.0, "scale_factor": 1.0, "default_max": null, "default_min": null}, {"id":
16, "index": 2, "name": "c", "units": null, "plottable": true, "display_type":
"CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max": null, "default_min":
null}]}, {"id": 3, "name": "stream_1_1", "description": "", "datatype": "FLOAT32",
"keep_us": -1, "decimate": true, "elements": [{"id": 17, "index": 0, "name":
"x", "units": null, "plottable": true, "display_type": "CONTINUOUS", "offset":
0.0, "scale_factor": 1.0, "default_max": null, "default_min": null}, {"id":
18, "index": 1, "name": "y", "units": null, "plottable": true, "display_type":
"CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max": null, "default_min":
null}, {"id": 19, "index": 2, "name": "z", "units": null, "plottable": true,
"display_type": "CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max":
null, "default_min": null}]}]}, {"id": 4, "name": "folder_3", "description":
null, "children": [{"id": 5, "name": "folder_3_1", "description": null, "children":
[], "streams": [{"id": 4, "name": "stream_3_1_1", "description": "", "datatype":
"INT32", "keep_us": -1, "decimate": true, "elements": [{"id": 20, "index":
0, "name": "a", "units": null, "plottable": true, "display_type": "CONTINUOUS",
"offset": 0.0, "scale_factor": 1.0, "default_max": null, "default_min": null},
{"id": 21, "index": 1, "name": "b", "units": null, "plottable": true, "display_type":
"CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max": null, "default_min":
null}, {"id": 22, "index": 2, "name": "c", "units": null, "plottable": true,
"display_type": "CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max":
null, "default_min": null}]}]}], "streams": [{"id": 5, "name": "stream_3_1",
"description": "", "datatype": "UINT16", "keep_us": -1, "decimate": true,
"elements": [{"id": 23, "index": 0, "name": "a", "units": null, "plottable":
true, "display_type": "CONTINUOUS", "offset": 0.0, "scale_factor": 1.0, "default_max":
null, "default_min": null}, {"id": 24, "index": 1, "name": "b", "units": null,
"plottable": true, "display_type": "CONTINUOUS", "offset": 0.0, "scale_factor":
1.0, "default_max": null, "default_min": null}, {"id": 25, "index": 2, "name":
"c", "units": null, "plottable": true, "display_type": "CONTINUOUS", "offset":
0.0, "scale_factor": 1.0, "default_max": null, "default_min": null}]}]}, {"id":
6, "name": "folder_4", "description": null, "children": [{"id": 7, "name":
"folder_4_1", "description": null, "children": [], "streams": []}], "streams":
[]}], "streams": []}'
http_version:
recorded_at: Wed, 11 Jul 2018 14:58:33 GMT
recorded_with: VCR 4.0.0
---
http_interactions:
- request:
method: get
uri: http://nuc:8088/modules.json
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '1107'
Date:
- Wed, 11 Jul 2018 14:58:33 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: '[{"name": "Module3", "description": "a filter", "has_interface": true,
"inputs": {"input1": "/folder_1/stream_1_1", "input2": "/folder_1/stream_1_2"},
"outputs": {"output1": "/folder_2/stream_2_1"}, "statistics": {"pid": 29702,
"create_time": 1531319112.03, "cpu_percent": 0.0, "memory": 8286208}}, {"name":
"Module2", "description": "a reader", "has_interface": false, "inputs": {},
"outputs": {"output": "/folder_1/stream_1_2"}, "statistics": {"pid": 29703,
"create_time": 1531319112.05, "cpu_percent": 0.0, "memory": 8364032}}, {"name":
"Module1", "description": "a reader", "has_interface": true, "inputs": {},
"outputs": {"output": "/folder_1/stream_1_1"}, "statistics": {"pid": 29704,
"create_time": 1531319112.07, "cpu_percent": 0.0, "memory": 8224768}}, {"name":
"Module4", "description": "a filter", "has_interface": false, "inputs": {"input1":
"/folder_1/stream_1_1", "input2": "/folder_2/stream_2_1"}, "outputs": {"output1":
"/folder_3/stream_3_1", "output2": "/folder_3/folder_3_1/stream_3_1_1"}, "statistics":
{"pid": 29705, "create_time": 1531319112.1, "cpu_percent": 0.0, "memory":
8515584}}]'
http_version:
recorded_at: Wed, 11 Jul 2018 14:58:33 GMT
recorded_with: VCR 4.0.0
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?count=1&end=1361577615684742&path=/path/does/not/exist&start=1361546159000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 404
message: Not Found
headers:
Date:
- Mon, 20 Mar 2017 20:27:27 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Transfer-Encoding:
- chunked
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"404 Not Found","message":"No such stream: /path/does/not/exist","traceback":""}'
http_version:
recorded_at: Mon, 20 Mar 2017 20:27:27 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?count=1&end=1361577615684742&path=/tutorial/pump-events&start=1361546159000000
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 20:24:57 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Content-Length:
- '4'
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: '114
'
http_version:
recorded_at: Mon, 20 Mar 2017 20:24:57 GMT
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?count=1&end=1361577615684742&path=/tutorial/pump-events~decim-4&start=1361546159000000
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 20:25:07 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Content-Length:
- '3'
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: '28
'
http_version:
recorded_at: Mon, 20 Mar 2017 20:25:07 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?end=1361577615684742&markup=1&path=/tutorial/pump-events&start=1361466001000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 21:29:27 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Vary:
- Accept-Encoding
Content-Length:
- '5151'
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: |
# interval-start 1361466001000000
1361466454213718 1 0
1361466513572957 0 1
1361467112197553 1 0
1361467170455355 0 1
1361467631009595 1 0
1361467682292415 0 1
1361468090834694 1 0
1361468150324443 0 1
1361468778917179 1 0
1361468832396454 0 1
1361469378015690 1 0
1361469431019104 0 1
1361469970275840 1 0
1361470038008261 0 1
1361470473593426 1 0
1361470531732342 0 1
1361471002910851 1 0
1361471054137186 0 1
1361471477448981 1 0
1361471536804645 0 1
1361471971427175 1 0
1361472022571372 0 1
1361472404519008 1 0
1361472459270357 0 1
1361472950977258 1 0
1361472998679646 0 1
1361473404801577 1 0
1361473453116240 0 1
1361474039060068 1 0
1361474090718974 0 1
1361474653810894 1 0
1361474714139401 0 1
1361475239546834 1 0
1361475303954918 0 1
1361476073818589 1 0
1361476133016304 0 1
1361476742439804 1 0
1361476790142729 0 1
1361477288964536 1 0
1361477351723793 0 1
1361477803324807 1 0
1361477858677693 0 1
1361478463237824 1 0
1361478525240054 0 1
1361479027885134 1 0
1361479076632512 0 1
1361479495465478 1 0
1361479552727341 0 1
1361479975943537 1 0
1361480031558312 0 1
1361480554246193 1 0
1361480608640240 0 1
1361481080098803 1 0
1361481132664367 0 1
1361481685468734 1 0
1361481736986373 0 1
1361482162693757 1 0
1361482217970186 0 1
1361482553852960 1 0
1361482608337134 0 1
1361482976080711 1 0
1361483039073722 0 1
1361483531998472 1 0
1361483591191636 0 1
1361484016690716 1 0
1361484077676990 0 1
1361484592443321 1 0
1361484646874869 0 1
1361485258227928 1 0
1361485312866697 0 1
1361485842973948 1 0
1361485888459535 0 1
1361486221849953 1 0
1361486287570737 0 1
1361486808127899 1 0
1361486861461447 0 1
1361487455870251 1 0
1361487510232433 0 1
1361487886244007 1 0
1361487942754959 0 1
1361488253458627 1 0
1361488301675011 0 1
1361488713186466 1 0
1361488765134938 0 1
1361489394606524 1 0
1361489454583084 0 1
1361489846955015 1 0
1361489906434536 0 1
1361490423573841 1 0
1361490484205683 0 1
1361490926632856 1 0
1361490978695277 0 1
1361491436312543 1 0
1361491497322934 0 1
1361491882363351 1 0
1361491934531436 0 1
1361492565122301 1 0
1361492622764561 0 1
1361493081578270 1 0
1361493132951888 0 1
1361493708224551 1 0
1361493758543690 0 1
1361494103597718 1 0
1361494153181391 0 1
1361494497106668 1 0
1361494566535621 0 1
1361495149143542 1 0
1361495201744370 0 1
1361495660315999 1 0
1361495709101734 0 1
1361496054261975 1 0
1361496107704073 0 1
1361496428885805 1 0
1361496490807407 0 1
1361497157852191 1 0
1361497218469784 0 1
1361497742471057 1 0
1361497799319036 0 1
1361498316126637 1 0
1361498369301898 0 1
1361498682512194 1 0
1361498734081404 0 1
1361499092498364 1 0
1361499143510520 0 1
1361499584151848 1 0
# interval-end 1361499619059330
# interval-start 1361546159000000
1361546223038631 0 1
1361546643093011 1 0
1361546700492081 0 1
1361547335667003 1 0
1361547389798604 0 1
1361547832483266 1 0
1361547878121761 0 1
1361548367634790 1 0
1361548415693430 0 1
1361549027794410 1 0
1361549074680561 0 1
1361549533673759 1 0
1361549581411405 0 1
1361550215128252 1 0
1361550261656969 0 1
1361550684817630 1 0
1361550727533145 0 1
1361551387114582 1 0
1361551441253490 0 1
1361551962207903 1 0
1361552005751191 0 1
1361552610442803 1 0
1361552661351640 0 1
1361553269168706 1 0
1361553322367196 0 1
1361553856155587 1 0
1361553909051153 0 1
1361554460114252 1 0
1361554514982733 0 1
1361555038273234 1 0
1361555086513170 0 1
1361555654744466 1 0
1361555712002794 0 1
1361556211158261 1 0
1361556262028463 0 1
1361556693893881 1 0
1361556745029506 0 1
1361557243855330 1 0
1361557294714785 0 1
1361557891585745 1 0
1361557940827662 0 1
1361558298237518 1 0
1361558342508955 0 1
1361558809367912 1 0
1361558861238623 0 1
1361559447272352 1 0
1361559883211935 1 0
1361559934246244 0 1
1361560539345073 1 0
1361560601955348 0 1
1361561264249367 1 0
1361561313615935 0 1
1361561653090728 1 0
1361561710290945 0 1
1361562289023100 1 0
1361562353284704 0 1
1361562837079855 1 0
1361562897679093 0 1
1361563435009062 1 0
1361563492992089 0 1
1361564060693015 1 0
1361564115040458 0 1
1361564649590472 1 0
1361564698965107 0 1
1361565117334186 1 0
1361565164537809 0 1
1361565558916880 1 0
1361565610266300 0 1
1361566312256321 1 0
1361566359112585 0 1
1361566809701404 1 0
1361566863151117 0 1
1361567247807793 1 0
1361567295204382 0 1
1361567895568255 1 0
1361567954510813 0 1
1361568386425664 1 0
1361568436612321 0 1
1361568880025221 1 0
1361568928053860 0 1
1361569308913365 1 0
1361569355265825 0 1
1361569765871573 1 0
1361569811768303 0 1
1361570310672486 1 0
1361570366090341 0 1
1361570918655821 1 0
1361570973259824 0 1
1361571440452884 1 0
1361571496873170 0 1
1361571959212829 1 0
1361572009627234 0 1
1361572540709785 1 0
1361572586494466 0 1
1361572929781796 1 0
1361572997131375 0 1
1361573476291018 1 0
1361573532489158 0 1
1361573855087086 1 0
1361573907765399 0 1
1361574374353029 1 0
1361574422065808 0 1
1361574942983367 1 0
1361574997264526 0 1
1361575510326048 1 0
1361575557552273 0 1
1361575947623824 1 0
1361575998659980 0 1
1361576375745203 1 0
1361576425914182 0 1
1361576831287596 1 0
1361576882602439 0 1
1361577304250812 1 0
1361577349266923 0 1
# interval-end 1361577615684742
http_version:
recorded_at: Mon, 20 Mar 2017 21:29:25 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?end=1361577615684742&markup=1&path=/tutorial/pump-events&start=1361546159000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 21:26:19 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Vary:
- Accept-Encoding
Content-Length:
- '2460'
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: |
# interval-start 1361546159000000
1361546223038631 0 1
1361546643093011 1 0
1361546700492081 0 1
1361547335667003 1 0
1361547389798604 0 1
1361547832483266 1 0
1361547878121761 0 1
1361548367634790 1 0
1361548415693430 0 1
1361549027794410 1 0
1361549074680561 0 1
1361549533673759 1 0
1361549581411405 0 1
1361550215128252 1 0
1361550261656969 0 1
1361550684817630 1 0
1361550727533145 0 1
1361551387114582 1 0
1361551441253490 0 1
1361551962207903 1 0
1361552005751191 0 1
1361552610442803 1 0
1361552661351640 0 1
1361553269168706 1 0
1361553322367196 0 1
1361553856155587 1 0
1361553909051153 0 1
1361554460114252 1 0
1361554514982733 0 1
1361555038273234 1 0
1361555086513170 0 1
1361555654744466 1 0
1361555712002794 0 1
1361556211158261 1 0
1361556262028463 0 1
1361556693893881 1 0
1361556745029506 0 1
1361557243855330 1 0
1361557294714785 0 1
1361557891585745 1 0
1361557940827662 0 1
1361558298237518 1 0
1361558342508955 0 1
1361558809367912 1 0
1361558861238623 0 1
1361559447272352 1 0
1361559883211935 1 0
1361559934246244 0 1
1361560539345073 1 0
1361560601955348 0 1
1361561264249367 1 0
1361561313615935 0 1
1361561653090728 1 0
1361561710290945 0 1
1361562289023100 1 0
1361562353284704 0 1
1361562837079855 1 0
1361562897679093 0 1
1361563435009062 1 0
1361563492992089 0 1
1361564060693015 1 0
1361564115040458 0 1
1361564649590472 1 0
1361564698965107 0 1
1361565117334186 1 0
1361565164537809 0 1
1361565558916880 1 0
1361565610266300 0 1
1361566312256321 1 0
1361566359112585 0 1
1361566809701404 1 0
1361566863151117 0 1
1361567247807793 1 0
1361567295204382 0 1
1361567895568255 1 0
1361567954510813 0 1
1361568386425664 1 0
1361568436612321 0 1
1361568880025221 1 0
1361568928053860 0 1
1361569308913365 1 0
1361569355265825 0 1
1361569765871573 1 0
1361569811768303 0 1
1361570310672486 1 0
1361570366090341 0 1
1361570918655821 1 0
1361570973259824 0 1
1361571440452884 1 0
1361571496873170 0 1
1361571959212829 1 0
1361572009627234 0 1
1361572540709785 1 0
1361572586494466 0 1
1361572929781796 1 0
1361572997131375 0 1
1361573476291018 1 0
1361573532489158 0 1
1361573855087086 1 0
1361573907765399 0 1
1361574374353029 1 0
1361574422065808 0 1
1361574942983367 1 0
1361574997264526 0 1
1361575510326048 1 0
1361575557552273 0 1
1361575947623824 1 0
1361575998659980 0 1
1361576375745203 1 0
1361576425914182 0 1
1361576831287596 1 0
1361576882602439 0 1
1361577304250812 1 0
1361577349266923 0 1
# interval-end 1361577615684742
http_version:
recorded_at: Mon, 20 Mar 2017 21:26:17 GMT
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?end=1361577615684742&markup=1&path=/tutorial/pump-events~decim-4&start=1361546159000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 21:26:21 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Vary:
- Accept-Encoding
Transfer-Encoding:
- chunked
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: |
# interval-start 1361546159000000
1361546725572681 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361547867009605 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361549012960540 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361550185753564 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361551379527280 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361552636678585 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361553886922047 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361555073628400 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361556219770849 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361557293796341 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361558347735511 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361559531492288 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361560929791430 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361562001422369 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361563165690024 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361564381072263 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361565362763793 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361566586055356 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361567598272810 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361568657779266 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361569560454766 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361570642169618 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361571726541529 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361572763529355 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361573692908165 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361574684166682 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361575753540531 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
1361576628887355 5.000000e-01 5.000000e-01 0.000000e+00 0.000000e+00 1.000000e+00 1.000000e+00
# interval-end 1361577615684742
http_version:
recorded_at: Mon, 20 Mar 2017 21:26:19 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/extract?end=1361577615684742&markup=1&path=/tutorial/pump-events&start=1361466001000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 20 Mar 2017 21:26:22 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Vary:
- Accept-Encoding
Content-Length:
- '5151'
Content-Type:
- text/plain;charset=utf-8
body:
encoding: UTF-8
string: |
# interval-start 1361466001000000
1361466454213718 1 0
1361466513572957 0 1
1361467112197553 1 0
1361467170455355 0 1
1361467631009595 1 0
1361467682292415 0 1
1361468090834694 1 0
1361468150324443 0 1
1361468778917179 1 0
1361468832396454 0 1
1361469378015690 1 0
1361469431019104 0 1
1361469970275840 1 0
1361470038008261 0 1
1361470473593426 1 0
1361470531732342 0 1
1361471002910851 1 0
1361471054137186 0 1
1361471477448981 1 0
1361471536804645 0 1
1361471971427175 1 0
1361472022571372 0 1
1361472404519008 1 0
1361472459270357 0 1
1361472950977258 1 0
1361472998679646 0 1
1361473404801577 1 0
1361473453116240 0 1
1361474039060068 1 0
1361474090718974 0 1
1361474653810894 1 0
1361474714139401 0 1
1361475239546834 1 0
1361475303954918 0 1
1361476073818589 1 0
1361476133016304 0 1
1361476742439804 1 0
1361476790142729 0 1
1361477288964536 1 0
1361477351723793 0 1
1361477803324807 1 0
1361477858677693 0 1
1361478463237824 1 0
1361478525240054 0 1
1361479027885134 1 0
1361479076632512 0 1
1361479495465478 1 0
1361479552727341 0 1
1361479975943537 1 0
1361480031558312 0 1
1361480554246193 1 0
1361480608640240 0 1
1361481080098803 1 0
1361481132664367 0 1
1361481685468734 1 0
1361481736986373 0 1
1361482162693757 1 0
1361482217970186 0 1
1361482553852960 1 0
1361482608337134 0 1
1361482976080711 1 0
1361483039073722 0 1
1361483531998472 1 0
1361483591191636 0 1
1361484016690716 1 0
1361484077676990 0 1
1361484592443321 1 0
1361484646874869 0 1
1361485258227928 1 0
1361485312866697 0 1
1361485842973948 1 0
1361485888459535 0 1
1361486221849953 1 0
1361486287570737 0 1
1361486808127899 1 0
1361486861461447 0 1
1361487455870251 1 0
1361487510232433 0 1
1361487886244007 1 0
1361487942754959 0 1
1361488253458627 1 0
1361488301675011 0 1
1361488713186466 1 0
1361488765134938 0 1
1361489394606524 1 0
1361489454583084 0 1
1361489846955015 1 0
1361489906434536 0 1
1361490423573841 1 0
1361490484205683 0 1
1361490926632856 1 0
1361490978695277 0 1
1361491436312543 1 0
1361491497322934 0 1
1361491882363351 1 0
1361491934531436 0 1
1361492565122301 1 0
1361492622764561 0 1
1361493081578270 1 0
1361493132951888 0 1
1361493708224551 1 0
1361493758543690 0 1
1361494103597718 1 0
1361494153181391 0 1
1361494497106668 1 0
1361494566535621 0 1
1361495149143542 1 0
1361495201744370 0 1
1361495660315999 1 0
1361495709101734 0 1
1361496054261975 1 0
1361496107704073 0 1
1361496428885805 1 0
1361496490807407 0 1
1361497157852191 1 0
1361497218469784 0 1
1361497742471057 1 0
1361497799319036 0 1
1361498316126637 1 0
1361498369301898 0 1
1361498682512194 1 0
1361498734081404 0 1
1361499092498364 1 0
1361499143510520 0 1
1361499584151848 1 0
# interval-end 1361499619059330
# interval-start 1361546159000000
1361546223038631 0 1
1361546643093011 1 0
1361546700492081 0 1
1361547335667003 1 0
1361547389798604 0 1
1361547832483266 1 0
1361547878121761 0 1
1361548367634790 1 0
1361548415693430 0 1
1361549027794410 1 0
1361549074680561 0 1
1361549533673759 1 0
1361549581411405 0 1
1361550215128252 1 0
1361550261656969 0 1
1361550684817630 1 0
1361550727533145 0 1
1361551387114582 1 0
1361551441253490 0 1
1361551962207903 1 0
1361552005751191 0 1
1361552610442803 1 0
1361552661351640 0 1
1361553269168706 1 0
1361553322367196 0 1
1361553856155587 1 0
1361553909051153 0 1
1361554460114252 1 0
1361554514982733 0 1
1361555038273234 1 0
1361555086513170 0 1
1361555654744466 1 0
1361555712002794 0 1
1361556211158261 1 0
1361556262028463 0 1
1361556693893881 1 0
1361556745029506 0 1
1361557243855330 1 0
1361557294714785 0 1
1361557891585745 1 0
1361557940827662 0 1
1361558298237518 1 0
1361558342508955 0 1
1361558809367912 1 0
1361558861238623 0 1
1361559447272352 1 0
1361559883211935 1 0
1361559934246244 0 1
1361560539345073 1 0
1361560601955348 0 1
1361561264249367 1 0
1361561313615935 0 1
1361561653090728 1 0
1361561710290945 0 1
1361562289023100 1 0
1361562353284704 0 1
1361562837079855 1 0
1361562897679093 0 1
1361563435009062 1 0
1361563492992089 0 1
1361564060693015 1 0
1361564115040458 0 1
1361564649590472 1 0
1361564698965107 0 1
1361565117334186 1 0
1361565164537809 0 1
1361565558916880 1 0
1361565610266300 0 1
1361566312256321 1 0
1361566359112585 0 1
1361566809701404 1 0
1361566863151117 0 1
1361567247807793 1 0
1361567295204382 0 1
1361567895568255 1 0
1361567954510813 0 1
1361568386425664 1 0
1361568436612321 0 1
1361568880025221 1 0
1361568928053860 0 1
1361569308913365 1 0
1361569355265825 0 1
1361569765871573 1 0
1361569811768303 0 1
1361570310672486 1 0
1361570366090341 0 1
1361570918655821 1 0
1361570973259824 0 1
1361571440452884 1 0
1361571496873170 0 1
1361571959212829 1 0
1361572009627234 0 1
1361572540709785 1 0
1361572586494466 0 1
1361572929781796 1 0
1361572997131375 0 1
1361573476291018 1 0
1361573532489158 0 1
1361573855087086 1 0
1361573907765399 0 1
1361574374353029 1 0
1361574422065808 0 1
1361574942983367 1 0
1361574997264526 0 1
1361575510326048 1 0
1361575557552273 0 1
1361575947623824 1 0
1361575998659980 0 1
1361576375745203 1 0
1361576425914182 0 1
1361576831287596 1 0
1361576882602439 0 1
1361577304250812 1 0
1361577349266923 0 1
# interval-end 1361577615684742
http_version:
recorded_at: Mon, 20 Mar 2017 21:26:20 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/intervals?end=1361579612066315&path=/tutorial/pump-events&start=1360017784000000
body:
encoding: US-ASCII
string: ''
headers: {}
response:
status:
code: 200
message: OK
headers:
Date:
- Wed, 22 Mar 2017 02:20:54 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Transfer-Encoding:
- chunked
Content-Type:
- application/x-json-stream
body:
encoding: UTF-8
string: "[1360017784000000, 1360018025317140]\r\n[1360018046000000, 1360018781079168]\r\n[1360018802000000,
1360035577936937]\r\n[1360080665000000, 1360115981749897]\r\n[1360167814000000,
1360199606561560]\r\n[1360250692000000, 1360274399951203]\r\n[1360691295000000,
1360714539271054]\r\n[1360771089000000, 1360803752940845]\r\n[1360943724000000,
1360978170826560]\r\n[1361038925000000, 1361062111762958]\r\n[1361200135000000,
1361213978335299]\r\n[1361214001000000, 1361217576204921]\r\n[1361217601000000,
1361229388864412]\r\n[1361286085000000, 1361296779913731]\r\n[1361296802000000,
1361300377200389]\r\n[1361300402000000, 1361321729602593]\r\n[1361461266000000,
1361462381132871]\r\n[1361462402000000, 1361465977185918]\r\n[1361466001000000,
1361499619059330]\r\n[1361546159000000, 1361579612066315]\r\n"
http_version:
recorded_at: Wed, 22 Mar 2017 02:20:54 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/list?extended=1&path=/tutorial/pump-prep
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 06 Jun 2017 16:00:11 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Content-Length:
- '94'
Content-Type:
- application/json
body:
encoding: UTF-8
string: '[["/tutorial/pump-prep", "float32_8", 1360780729757446, 1360786390552071,
339216, 5660794625]]'
http_version:
recorded_at: Tue, 06 Jun 2017 16:00:12 GMT
- request:
method: get
uri: http://localhost:8080/nilmdb/stream/get_metadata?path=/tutorial/pump-prep
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 06 Jun 2017 16:00:11 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Content-Length:
- '1707'
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"config_key__": "{\"name\":\"Pump Prep\",\"name_abbrev\":\"\",\"description\":null,\"hidden\":null,\"streams\":[{\"name\":\"P1\",\"units\":\"prep\",\"column\":0,\"default_max\":null,\"default_min\":null,\"scale_factor\":-1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"Q1\",\"units\":\"prep\",\"column\":1,\"default_max\":8000.0,\"default_min\":-7000.0,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"P3\",\"units\":\"prep\",\"column\":2,\"default_max\":8000.0,\"default_min\":0.0,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"Q3\",\"units\":\"prep\",\"column\":3,\"default_max\":null,\"default_min\":null,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"P5\",\"units\":\"prep\",\"column\":4,\"default_max\":null,\"default_min\":null,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"Q5\",\"units\":\"prep\",\"column\":5,\"default_max\":null,\"default_min\":null,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"P7\",\"units\":\"prep\",\"column\":6,\"default_max\":null,\"default_min\":null,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false},{\"name\":\"Q7\",\"units\":\"prep\",\"column\":7,\"default_max\":null,\"default_min\":null,\"scale_factor\":1.0,\"offset\":0.0,\"plottable\":true,\"display_type\":\"continuous\",\"discrete\":false}]}"}'
http_version:
recorded_at: Tue, 06 Jun 2017 16:00:12 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/create
body:
encoding: UTF-8
string: '{"path":"/v2_folder/another/info","layout":"uint8_1"}'
headers:
Content-Type:
- application/json
response:
status:
code: 400
message: Bad Request
headers:
Date:
- Mon, 19 Jun 2017 02:47:31 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '90'
Connection:
- close
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"400 Bad Request","message":"stream already exists at this
path","traceback":""}'
http_version:
recorded_at: Mon, 19 Jun 2017 02:55:10 GMT
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/update_metadata
body:
encoding: UTF-8
string: '{"path":"/v2_folder/another/info","data":"{\"config_key__\":\"{\\\"name\\\":\\\"another\\\",\\\"description\\\":\\\"new\\\",\\\"hidden\\\":null}\"}"}'
headers:
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 19 Jun 2017 02:47:31 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '4'
Content-Type:
- application/json
body:
encoding: UTF-8
string: 'null'
http_version:
recorded_at: Mon, 19 Jun 2017 02:55:10 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/create
body:
encoding: UTF-8
string: '{"path":"/badpath/info","layout":"uint8_1"}'
headers:
Content-Type:
- application/json
response:
status:
code: 400
message: Bad Request
headers:
Date:
- Mon, 19 Jun 2017 02:51:00 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '90'
Connection:
- close
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"400 Bad Request","message":"stream already exists at this
path","traceback":""}'
http_version:
recorded_at: Mon, 19 Jun 2017 02:58:39 GMT
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/update_metadata
body:
encoding: UTF-8
string: '{"path":"/badpath/info","datax":"{\"config_key__\":\"{\\\"name\\\":null,\\\"description\\\":null,\\\"hidden\\\":null}\"}"}'
headers:
Content-Type:
- application/json
response:
status:
code: 404
message: Not Found
headers:
Date:
- Mon, 19 Jun 2017 02:51:03 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '83'
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"404 Not Found","message":"Nothing matches the given URI","traceback":""}'
http_version:
recorded_at: Mon, 19 Jun 2017 02:58:42 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/create
body:
encoding: UTF-8
string: '{"path":"/tutorial/info","layout":"uint8_1"}'
headers:
Content-Type:
- application/json
response:
status:
code: 400
message: Bad Request
headers:
Date:
- Mon, 19 Jun 2017 02:46:55 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '90'
Connection:
- close
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"400 Bad Request","message":"stream already exists at this
path","traceback":""}'
http_version:
recorded_at: Mon, 19 Jun 2017 02:54:34 GMT
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/update_metadata
body:
encoding: UTF-8
string: '{"path":"/tutorial/info","data":"{\"config_key__\":\"{\\\"name\\\":\\\"test\\\",\\\"description\\\":\\\"new\\\",\\\"hidden\\\":null}\"}"}'
headers:
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 19 Jun 2017 02:47:06 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '4'
Content-Type:
- application/json
body:
encoding: UTF-8
string: 'null'
http_version:
recorded_at: Mon, 19 Jun 2017 02:54:45 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/update_metadata
body:
encoding: UTF-8
string: '{"path":"/badpath","data":"{\"config_key__\":\"{\\\"name\\\":null,\\\"name_abbrev\\\":null,\\\"description\\\":null,\\\"hidden\\\":null,\\\"streams\\\":[]}\"}"}'
headers:
Content-Type:
- application/json
response:
status:
code: 400
message: Bad Request
headers:
Date:
- Sun, 22 Jan 2017 04:08:55 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '82'
Connection:
- close
Content-Type:
- application/json;charset=utf-8
body:
encoding: UTF-8
string: '{"status":"400 Bad Request","message":"No stream at path /badpath","traceback":""}'
http_version:
recorded_at: Sun, 22 Jan 2017 04:19:00 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: post
uri: http://localhost:8080/nilmdb/stream/update_metadata
body:
encoding: UTF-8
string: '{"path":"/tutorial/pump-events","data":"{\"config_key__\":\"{\\\"name\\\":\\\"test\\\",\\\"name_abbrev\\\":null,\\\"description\\\":\\\"new\\\",\\\"hidden\\\":null,\\\"streams\\\":[{\\\"name\\\":\\\"element1\\\",\\\"units\\\":null,\\\"column\\\":0,\\\"default_max\\\":null,\\\"default_min\\\":null,\\\"scale_factor\\\":null,\\\"offset\\\":null,\\\"plottable\\\":null,\\\"discrete\\\":null},{\\\"name\\\":\\\"element2\\\",\\\"units\\\":null,\\\"column\\\":1,\\\"default_max\\\":null,\\\"default_min\\\":null,\\\"scale_factor\\\":null,\\\"offset\\\":null,\\\"plottable\\\":null,\\\"discrete\\\":null}]}\"}"}'
headers:
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 22 Jan 2017 04:08:24 GMT
Server:
- Apache/2.4.18 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- POST
Content-Length:
- '4'
Content-Type:
- application/json
body:
encoding: UTF-8
string: 'null'
http_version:
recorded_at: Sun, 22 Jan 2017 04:18:29 GMT
recorded_with: VCR 3.0.3
---
http_interactions:
- request:
method: get
uri: http://nuc/nilmdb
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 301
message: Moved Permanently
headers:
Date:
- Tue, 10 Jul 2018 15:12:26 GMT
Server:
- Apache/2.4.29 (Ubuntu)
Content-Length:
- '91'
Location:
- http://nuc/nilmdb/
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Content-Type:
- text/html;charset=utf-8
body:
encoding: UTF-8
string: This resource has permanently moved to <a href="http://nuc/nilmdb/">http://nuc/nilmdb/</a>.
http_version:
recorded_at: Tue, 10 Jul 2018 15:12:26 GMT
- request:
method: get
uri: http://nuc/nilmdb/
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 10 Jul 2018 15:12:26 GMT
Server:
- Apache/2.4.29 (Ubuntu)
X-Jim-Is-Awesome:
- yeah
Allow:
- GET, HEAD
Vary:
- Accept-Encoding
Transfer-Encoding:
- chunked
Content-Type:
- text/plain;charset=utf-8
body:
encoding: ASCII-8BIT
string: 'This is NilmDB version 1.11.0, running on host wattsworth.local.
'
http_version:
recorded_at: Tue, 10 Jul 2018 15:12:26 GMT
- request:
method: get
uri: http://nuc:8088/
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- text/plain; charset=utf-8
Content-Length:
- '12'
Date:
- Tue, 10 Jul 2018 15:12:26 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: Joule server
http_version:
recorded_at: Tue, 10 Jul 2018 15:12:26 GMT
recorded_with: VCR 4.0.0
---
http_interactions:
- request:
method: get
uri: http://nuc:8088/
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Type:
- text/plain; charset=utf-8
Content-Length:
- '12'
Date:
- Tue, 10 Jul 2018 15:12:40 GMT
Server:
- Python/3.6 aiohttp/3.2.1
body:
encoding: UTF-8
string: Joule server
http_version:
recorded_at: Tue, 10 Jul 2018 15:12:40 GMT
recorded_with: VCR 4.0.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment