Enabled linters pylint,pycodestyle,isort,black and fixed linter errors
Updated README.rst with badges
Added LICENSE file
Replaced requests with httpx since it's shipped with kytos core
Removed extra files
Renamed some modules to keep it shorter
With linters now it becomes easier to make changes and move code around.
Local Tests
I ran the NApp locally making sure it was loading correctly:
2023-05-18 12:44:14,480 - INFO [kytos.core.controller] [controller.py:889:load_napps] (MainThread) Loading NApp kytos/telemetry_int
2023-05-18 12:44:14,552 - INFO [kytos.core.napps.base] [base.py:248:run] (telemetry_int) Running NApp: <Main(telemetry_int, started 140230682212032)>
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/enable - POST
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/disable - POST
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc - GET
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/sync - GET
2023-05-18 12:44:14,554 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/update - GET
2023-05-18 12:44:14,554 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /ui/{username}/{napp_name}/{filename:path} - GET
Closes #15 Closes #5
Summary
pylint,pycodestyle,isort,black
and fixed linter errorsrequests
withhttpx
since it's shipped with kytos coreWith linters now it becomes easier to make changes and move code around.
Local Tests
I ran the NApp locally making sure it was loading correctly:
End-to-End Tests
N/A yet