File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 66from bitflow .sinksteps import TerminalOut
77from bitflow .marshaller import CsvMarshaller
88from bitflow .pipeline import Pipeline
9- from bitflow .processingstep import SimpleLinePlot
9+ from bitflow .steps . plotprocessingsteps import PlotLinePlot
1010from bitflow .source import FileSource
1111
1212
@@ -23,12 +23,12 @@ def main():
2323 pipeline = Pipeline ()
2424
2525 # add processingsteps to pipeline
26- pipeline .add_processing_step (SimpleLinePlot ( "pkg_out_1000-1100" ))
26+ pipeline .add_processing_step (PlotLinePlot ( metric_names = "pkg_out_1000-1100" ))
2727 # add terminal output to pipeline
2828 pipeline .add_processing_step (TerminalOut ())
2929
3030 # start pipeline
31- pipeline .add_processing_step (SimpleLinePlot ( "pkg_out_1000-1100" ))
31+ pipeline .add_processing_step (PlotLinePlot ( metric_names = "pkg_out_1000-1100" ))
3232 pipeline .add_processing_step (TerminalOut ())
3333 pipeline .start ()
3434
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def main():
4949
5050 # INSERT DOWNLOAD HOST
5151 download_host = ""
52- download_port = 5025
52+ download_port = 5012
5353 out_file = "/tmp/test_filea.txt"
5454 serials = ["66" ]
5555
@@ -67,7 +67,6 @@ def main():
6767 download_source = DownloadSource (host = download_host ,
6868 port = download_port ,
6969 pipeline = pipeline ,
70- marshaller = CsvMarshaller (),
7170 buffer_size = 2048 )
7271 download_source .start ()
7372
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def main():
3939 # port to provide data on
4040 listen_port = 5012
4141 # file to provide via port
42- in_file = "/tmp/test_filea .txt"
42+ in_file = "testing/testing_file_in .txt"
4343
4444 # prepare ListenSink
4545 ls = ListenSink (host = "localhost" ,
Original file line number Diff line number Diff line change 55import time
66import unittest
77import os
8+ from bitflow .script_parser import *
89from bitflow .sinksteps import *
910from bitflow .processingstep import *
1011from bitflow .marshaller import CsvMarshaller
You can’t perform that action at this time.
0 commit comments