########################################################################################## VEHPI-32: Upload of GPX files to the API ########################################################################################## Issue Type: Sub-task ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2019-09-09 16:24:37) Project: VehManPi (VEHPI) Reported By: btasker Assigned To: btasker Child of: VEHPI-7 - Implement GPS Support Components: - GPS - API Integration Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== After a GPX track file has been generated (VEHPI-27) the system should attempt to upload all queued track files to the API (assuming that wifi/3g connectivity is available). Although want to implement in Python, the following would submit a file in BASH; -- BEGIN QUOTE -- curl -F "subfile=@importfile.gpx;type=text/xml" \\ -H "X-VEHMAN-KEY: Test: `echo \{mykey\} | sha1sum | awk -F\ '\{print $1\}'`" \\ -H "X-VEHMAN-USER: \{myuserkey\}" \\ \{apiurl\}/journey/import/\{vehicleidentifier\} -- END QUOTE -- ----------------------------------------------------------------------------------------- Issue Relations ================ - is blocked by VEHPI-27: GPX Track file generation ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2013-12-26 21:09:03 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'In Progress' ----------------------------------------------------------------------------------------- 2019-09-09 16:24:37 btasker ----------------------------------------------------------------------------------------- Bulk Close. Realistically, project isn't going to see any further development so closing as Won't Fix ----------------------------------------------------------------------------------------- 2019-09-09 16:24:37 ----------------------------------------------------------------------------------------- btasker changed status from 'In Progress' to 'Closed' ----------------------------------------------------------------------------------------- 2019-09-09 16:24:37 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution