├── .github └── workflows │ └── client-test.yml ├── .gitignore ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── config └── default.yaml ├── docs ├── architecture.md ├── development_setup.md └── img │ ├── arch.drawio.png │ ├── image-20220829125026749.png │ └── opener.png ├── flink ├── .gitignore ├── .scalafmt.conf ├── README.md ├── build.sbt ├── idea.sbt ├── project │ └── assembly.sbt ├── sql │ ├── aggregate_trips.sql │ ├── analyze.sql │ └── trips_ddl.sql └── src │ ├── main │ ├── resources │ │ └── application.conf │ └── scala │ │ └── com │ │ └── chollinger │ │ └── telematics │ │ ├── Job.scala │ │ ├── Sinks.scala │ │ ├── Sources.scala │ │ ├── config │ │ └── Config.scala │ │ └── model │ │ └── GpsModel.scala │ └── test │ └── scala │ └── com │ └── chollinger │ └── telematics │ └── model │ └── GpsModelTest.scala ├── mypy.ini ├── poetry.lock ├── pyproject.toml ├── resources ├── GraphHopper.csv ├── GraphHopper.gpx ├── GraphHopper.nmea ├── GraphHopperCoordinates.csv └── README.md ├── sbin ├── fake_gpsd.sh ├── init.sh ├── run_client.sh ├── setup_gps.sh └── ubx │ └── G7020-KT ├── system ├── gpsd └── tiny-telematics.service ├── tests ├── __init__.py └── test_tiny_telematics.py └── tiny_telematics ├── __init__.py ├── config.py ├── main.py └── model.py /.github/workflows/client-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/.github/workflows/client-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/README.md -------------------------------------------------------------------------------- /config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/config/default.yaml -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/development_setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/docs/development_setup.md -------------------------------------------------------------------------------- /docs/img/arch.drawio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/docs/img/arch.drawio.png -------------------------------------------------------------------------------- /docs/img/image-20220829125026749.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/docs/img/image-20220829125026749.png -------------------------------------------------------------------------------- /docs/img/opener.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/docs/img/opener.png -------------------------------------------------------------------------------- /flink/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/.gitignore -------------------------------------------------------------------------------- /flink/.scalafmt.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/.scalafmt.conf -------------------------------------------------------------------------------- /flink/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/README.md -------------------------------------------------------------------------------- /flink/build.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/build.sbt -------------------------------------------------------------------------------- /flink/idea.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/idea.sbt -------------------------------------------------------------------------------- /flink/project/assembly.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/project/assembly.sbt -------------------------------------------------------------------------------- /flink/sql/aggregate_trips.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/sql/aggregate_trips.sql -------------------------------------------------------------------------------- /flink/sql/analyze.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/sql/analyze.sql -------------------------------------------------------------------------------- /flink/sql/trips_ddl.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/sql/trips_ddl.sql -------------------------------------------------------------------------------- /flink/src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/resources/application.conf -------------------------------------------------------------------------------- /flink/src/main/scala/com/chollinger/telematics/Job.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/scala/com/chollinger/telematics/Job.scala -------------------------------------------------------------------------------- /flink/src/main/scala/com/chollinger/telematics/Sinks.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/scala/com/chollinger/telematics/Sinks.scala -------------------------------------------------------------------------------- /flink/src/main/scala/com/chollinger/telematics/Sources.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/scala/com/chollinger/telematics/Sources.scala -------------------------------------------------------------------------------- /flink/src/main/scala/com/chollinger/telematics/config/Config.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/scala/com/chollinger/telematics/config/Config.scala -------------------------------------------------------------------------------- /flink/src/main/scala/com/chollinger/telematics/model/GpsModel.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/main/scala/com/chollinger/telematics/model/GpsModel.scala -------------------------------------------------------------------------------- /flink/src/test/scala/com/chollinger/telematics/model/GpsModelTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/flink/src/test/scala/com/chollinger/telematics/model/GpsModelTest.scala -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | python_version = 3.8.13 -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/pyproject.toml -------------------------------------------------------------------------------- /resources/GraphHopper.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/resources/GraphHopper.csv -------------------------------------------------------------------------------- /resources/GraphHopper.gpx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/resources/GraphHopper.gpx -------------------------------------------------------------------------------- /resources/GraphHopper.nmea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/resources/GraphHopper.nmea -------------------------------------------------------------------------------- /resources/GraphHopperCoordinates.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/resources/GraphHopperCoordinates.csv -------------------------------------------------------------------------------- /resources/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/resources/README.md -------------------------------------------------------------------------------- /sbin/fake_gpsd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/sbin/fake_gpsd.sh -------------------------------------------------------------------------------- /sbin/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/sbin/init.sh -------------------------------------------------------------------------------- /sbin/run_client.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/sbin/run_client.sh -------------------------------------------------------------------------------- /sbin/setup_gps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/sbin/setup_gps.sh -------------------------------------------------------------------------------- /sbin/ubx/G7020-KT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/sbin/ubx/G7020-KT -------------------------------------------------------------------------------- /system/gpsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/system/gpsd -------------------------------------------------------------------------------- /system/tiny-telematics.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/system/tiny-telematics.service -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_tiny_telematics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/tests/test_tiny_telematics.py -------------------------------------------------------------------------------- /tiny_telematics/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.1.0' 2 | -------------------------------------------------------------------------------- /tiny_telematics/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/tiny_telematics/config.py -------------------------------------------------------------------------------- /tiny_telematics/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/tiny_telematics/main.py -------------------------------------------------------------------------------- /tiny_telematics/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chollinger93/TinyTelematics/HEAD/tiny_telematics/model.py --------------------------------------------------------------------------------