/*
* Before we do the assign points, let's record the initial
* status of the assignment process in the database
*/
AssignStatus status = new AssignStatus();
status.setGpsTraceId(gpsTrace.getId());
// fetch the updated trace, including the record count
gpsTrace = getGPSTrace(gpsTrace);
logger.debug("record count in trace prior to insertAssignStatus=" + gpsTrace.getRecordCount());
//assignStatusBO.insertAssignStatus(status);
/*
* Add a new date, get the record count from the GPS trace
* (matched, processed all came from http get from handler)
*/
status.setLastUpdated(new Date());
status.setPointsTotal(gpsTrace.getRecordCount());
status.setPointsMatched(0);
status.setPointsProcessed(0);
assignStatusDAO.insertAssignStatus(status);
/*
* With the status table updated to signal the start