-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Move
humanReadableTuples
into console lib & add tests (#981)
Signed-off-by: Mikayla Thompson <thomika@amazon.com>
- Loading branch information
1 parent
28c45ed
commit 75171fb
Showing
13 changed files
with
1,850 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
195 changes: 0 additions & 195 deletions
195
TrafficCapture/dockerSolution/src/main/docker/migrationConsole/humanReadableLogs.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ution/src/main/docker/migrationConsole/lib/console_link/console_link/middleware/tuples.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import logging | ||
import typing | ||
|
||
from console_link.models.tuple_reader import TupleReader | ||
logger = logging.getLogger(__name__) | ||
|
||
|
||
def convert(inputfile: typing.TextIO, ouptutfile: typing.TextIO): | ||
tuple_reader = TupleReader() | ||
tuple_reader.transform_stream(inputfile, ouptutfile) |
Oops, something went wrong.