traccar/debug.xml

441 lines
15 KiB
XML
Raw Normal View History

2013-01-13 13:19:27 +08:00
<?xml version='1.0' encoding='UTF-8'?>
2012-04-25 02:59:31 +08:00
2013-01-13 13:19:27 +08:00
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
2012-04-25 02:59:31 +08:00
<properties>
2015-06-05 13:02:22 +08:00
<!-- SERVER CONFIG -->
<entry key='web.enable'>true</entry>
<!--<entry key='web.address'></entry>-->
<entry key='web.port'>8082</entry>
2015-06-27 07:04:12 +08:00
<!--<entry key='web.application'>../traccar-web/traccar-web.war</entry>
<entry key='web.old'>true</entry>-->
2015-06-05 13:02:22 +08:00
<entry key='web.path'>web</entry>
2015-06-29 12:43:50 +08:00
<entry key='web.debug'>true</entry>
2015-11-27 10:12:28 +08:00
<entry key='web.console'>true</entry>
2016-03-09 16:48:59 +08:00
<entry key='web.timeout'>30000</entry>
2015-06-05 13:02:22 +08:00
2015-10-30 07:00:36 +08:00
<entry key='geocoder.enable'>true</entry>
2015-06-05 13:02:22 +08:00
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>http://nominatim.openstreetmap.org/reverse</entry>
<entry key='location.enable'>false</entry>
<entry key='location.key'>fake</entry>
2015-11-18 17:04:41 +08:00
<entry key='location.mcc'>260</entry>
<entry key='location.mnc'>2</entry>
2015-08-18 09:22:16 +08:00
<entry key='distance.enable'>true</entry>
2015-06-05 13:02:22 +08:00
<!--<entry key='filter.enable'>true</entry>
<entry key='filter.limit'>3600</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.distance'>50</entry>-->
2015-08-18 09:22:16 +08:00
2015-07-12 13:08:14 +08:00
<!--<entry key='forward.enable'>true</entry>
2015-07-14 15:17:02 +08:00
<entry key='forward.url'>http://example.com:8080/gprmc/Data?id={uniqueId}&amp;code=0x0000&amp;gprmc={gprmc}</entry>-->
2015-06-05 13:02:22 +08:00
<entry key='logger.enable'>true</entry>
<entry key='logger.level'>all</entry>
<entry key='logger.file'>target/tracker-server.log</entry>
<entry key='event.enable'>true</entry>
2016-06-13 20:03:14 +08:00
<entry key='event.suppressRepeated'>60</entry>
<entry key='event.overspeedHandler'>true</entry>
<entry key='event.globalSpeedLimit'>90</entry>
<entry key='event.motionHandler'>true</entry>
<entry key='event.geofenceHandler'>true</entry>
<!--<entry key='mail.smtp.host'>smtp.example.com</entry>
for STARTTLS
<entry key='mail.smtp.port'>587</entry>
<entry key='mail.smtp.starttls.enable'>true</entry>
for SSL
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>traccar@example.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>traccar@example.com</entry>
<entry key='mail.smtp.password'>password</entry>-->
2015-06-05 12:49:40 +08:00
<!-- DATABASE CONFIG -->
<!--<entry key='database.driverFile'>hsqldb.jar</entry>-->
<!--<entry key='database.driver'>org.h2.Driver</entry>
2015-01-31 07:50:37 +08:00
<entry key='database.url'>jdbc:h2:./target/database</entry>
2013-01-13 13:19:27 +08:00
<entry key='database.user'>sa</entry>
<entry key='database.password'></entry>-->
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://127.0.0.1:3306/traccar?allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=ANSI_QUOTES</entry>
<entry key='database.user'>traccar</entry>
<entry key='database.password'>###########</entry>
2016-03-19 05:41:23 +08:00
2016-07-11 07:25:11 +08:00
<entry key='database.ignoreUnknown'>true</entry>
2015-07-15 18:55:09 +08:00
<entry key='database.xml'>false</entry>
2016-03-19 05:41:23 +08:00
<entry key='database.saveOriginal'>false</entry>
2016-06-10 07:34:48 +08:00
<entry key='database.changelog'>./schema/changelog-master.xml</entry>
2015-12-17 10:47:18 +08:00
<entry key='database.positionsHistoryDays'>7</entry>
2015-06-17 06:50:51 +08:00
<entry key='database.selectServers'>
SELECT * FROM server;
</entry>
<entry key='database.updateServer'>
2015-07-25 15:05:33 +08:00
UPDATE server SET
registration = :registration,
2015-12-16 07:52:01 +08:00
readonly = :readonly,
2015-07-25 15:05:33 +08:00
map = :map,
2015-08-23 17:38:39 +08:00
bingKey = :bingKey,
2015-08-23 18:40:49 +08:00
mapUrl = :mapUrl,
2015-07-25 15:05:33 +08:00
distanceUnit = :distanceUnit,
speedUnit = :speedUnit,
latitude = :latitude,
longitude = :longitude,
2016-03-13 07:18:15 +08:00
zoom = :zoom,
twelveHourFormat = :twelveHourFormat
2015-07-25 15:05:33 +08:00
WHERE id = :id;
</entry>
<entry key='database.loginUser'>
SELECT * FROM users
WHERE email = :email;
</entry>
2015-07-25 15:53:11 +08:00
<entry key='database.selectUser'>
SELECT * FROM users
2015-07-25 15:53:11 +08:00
WHERE id = :id;
</entry>
<entry key='database.selectUsersAll'>
SELECT * FROM users;
</entry>
<entry key='database.insertUser'>
2016-03-16 16:33:28 +08:00
INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat)
VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat);
</entry>
2015-06-17 06:50:51 +08:00
<entry key='database.updateUser'>
UPDATE users SET
2015-07-25 15:05:33 +08:00
name = :name,
email = :email,
admin = :admin,
map = :map,
distanceUnit = :distanceUnit,
speedUnit = :speedUnit,
latitude = :latitude,
longitude = :longitude,
2016-03-13 07:18:15 +08:00
zoom = :zoom,
twelveHourFormat = :twelveHourFormat
WHERE id = :id;
</entry>
<entry key='database.updateUserPassword'>
UPDATE users SET hashedPassword = :hashedPassword, salt = :salt WHERE id = :id;
</entry>
2015-10-17 07:35:16 +08:00
<entry key='database.deleteUser'>
DELETE FROM users WHERE id = :id;
</entry>
2016-03-08 18:38:48 +08:00
<entry key='database.selectDevicePermissions'>
2015-06-11 10:47:35 +08:00
SELECT userId, deviceId FROM user_device;
</entry>
2015-10-17 07:35:16 +08:00
2016-03-08 18:38:48 +08:00
<entry key='database.selectGroupPermissions'>
SELECT userId, groupId FROM user_group;
</entry>
2015-06-17 06:50:51 +08:00
<entry key='database.selectDevicesAll'>
SELECT * FROM devices;
2012-04-25 02:59:31 +08:00
</entry>
2015-10-17 07:35:16 +08:00
<entry key='database.insertDevice'>
2016-03-11 16:23:53 +08:00
INSERT INTO devices (name, uniqueId, groupId) VALUES (:name, :uniqueId, :groupId);
</entry>
2015-10-17 07:35:16 +08:00
<entry key='database.updateDevice'>
2016-03-09 18:13:06 +08:00
UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId WHERE id = :id;
</entry>
2015-10-17 07:35:16 +08:00
2015-11-16 06:46:59 +08:00
<entry key='database.updateDeviceStatus'>
UPDATE devices SET status = :status, lastUpdate = :lastUpdate, motion = :motion WHERE id = :id;
2015-11-16 06:46:59 +08:00
</entry>
2015-06-17 06:50:51 +08:00
<entry key='database.deleteDevice'>
DELETE FROM devices WHERE id = :id;
</entry>
2015-10-17 07:35:16 +08:00
<entry key='database.linkDevice'>
INSERT INTO user_device (userId, deviceId) VALUES (:userId, :deviceId);
</entry>
2015-10-17 07:35:16 +08:00
<entry key='database.unlinkDevice'>
DELETE FROM user_device WHERE userId = :userId AND deviceId = :deviceId;
</entry>
2016-03-09 11:09:00 +08:00
<entry key='database.selectGroupsAll'>
SELECT * FROM groups;
</entry>
2016-03-08 18:31:06 +08:00
<entry key='database.insertGroup'>
INSERT INTO groups (name) VALUES (:name);
</entry>
<entry key='database.updateGroup'>
2016-03-09 18:13:06 +08:00
UPDATE groups SET name = :name, groupId = :groupId WHERE id = :id;
2016-03-08 18:31:06 +08:00
</entry>
<entry key='database.deleteGroup'>
DELETE FROM groups WHERE id = :id;
</entry>
<entry key='database.linkGroup'>
INSERT INTO user_group (userId, groupId) VALUES (:userId, :groupId);
</entry>
<entry key='database.unlinkGroup'>
DELETE FROM user_group WHERE userId = :userId AND groupId = :groupId;
</entry>
<entry key='database.selectPositions'>
SELECT * FROM positions WHERE deviceId = :deviceId AND fixTime BETWEEN :from AND :to ORDER BY fixTime;
2015-06-10 06:45:22 +08:00
</entry>
2012-04-25 02:59:31 +08:00
2013-01-13 13:19:27 +08:00
<entry key='database.insertPosition'>
INSERT INTO positions (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, attributes)
2016-03-15 17:07:11 +08:00
VALUES (:deviceId, :protocol, :now, :deviceTime, :fixTime, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :attributes);
2013-01-11 19:56:03 +08:00
</entry>
2015-06-17 07:14:32 +08:00
<entry key='database.selectLatestPositions'>
SELECT * FROM positions WHERE id IN (SELECT positionId FROM devices);
2015-06-17 07:14:32 +08:00
</entry>
2013-01-13 13:19:27 +08:00
<entry key='database.updateLatestPosition'>
UPDATE devices SET positionId = :id WHERE id = :deviceId;
2012-04-25 02:59:31 +08:00
</entry>
2016-06-13 20:03:14 +08:00
<entry key='database.selectEvent'>
SELECT * FROM events WHERE id = :id;
</entry>
<entry key='database.insertEvent'>
INSERT INTO events (type, serverTime, deviceId, positionId, geofenceId, attributes)
VALUES (:type, :serverTime, :deviceId, :positionId, :geofenceId, :attributes);
</entry>
<entry key='database.selectEvents'>
SELECT * FROM events WHERE deviceId = :deviceId AND type LIKE :type AND serverTime BETWEEN :from AND :to ORDER BY serverTime DESC;
</entry>
<entry key='database.selectGeofence'>
SELECT * FROM geofences
WHERE id = :id;
</entry>
<entry key='database.selectGeofencesAll'>
SELECT * FROM geofences;
</entry>
<entry key='database.insertGeofence'>
INSERT INTO geofences (name, description, area, attributes)
VALUES (:name, :description, :area, :attributes);
</entry>
<entry key='database.updateGeofence'>
UPDATE geofences SET
name = :name,
description = :description,
area = :area,
attributes = :attributes
WHERE id = :id;
</entry>
<entry key='database.deleteGeofence'>
DELETE FROM geofences WHERE id = :id;
</entry>
<entry key='database.selectGeofencePermissions'>
SELECT userId, geofenceId FROM user_geofence;
</entry>
<entry key='database.linkGeofence'>
INSERT INTO user_geofence (userId, geofenceId) VALUES (:userId, :geofenceId);
</entry>
<entry key='database.unlinkGeofence'>
DELETE FROM user_geofence WHERE userId = :userId AND geofenceId = :geofenceId;
</entry>
<entry key='database.selectGroupGeofences'>
SELECT groupId, geofenceId FROM group_geofence;
</entry>
<entry key='database.linkGroupGeofence'>
INSERT INTO group_geofence (groupId, geofenceId) VALUES (:groupId, :geofenceId);
</entry>
<entry key='database.unlinkGroupGeofence'>
DELETE FROM group_geofence WHERE groupId = :groupId AND geofenceId = :geofenceId;
</entry>
<entry key='database.selectDeviceGeofences'>
SELECT deviceId, geofenceId FROM device_geofence;
2016-06-13 20:03:14 +08:00
</entry>
<entry key='database.linkDeviceGeofence'>
INSERT INTO device_geofence (deviceId, geofenceId) VALUES (:deviceId, :geofenceId);
2016-06-13 20:03:14 +08:00
</entry>
<entry key='database.unlinkDeviceGeofence'>
DELETE FROM device_geofence WHERE deviceId = :deviceId AND geofenceId = :geofenceId;
2016-06-13 20:03:14 +08:00
</entry>
<entry key='database.selectNotifications'>
SELECT * FROM notifications;
</entry>
<entry key='database.insertNotification'>
INSERT INTO notifications (userId, type, attributes)
VALUES (:userId, :type, :attributes);
</entry>
<entry key='database.updateNotification'>
UPDATE notifications SET
userId = :userId,
type = :type,
attributes = :attributes
WHERE id = :id;
</entry>
<entry key='database.deleteNotification'>
DELETE FROM notifications WHERE id = :id;
</entry>
2015-06-05 12:49:40 +08:00
<!-- PROTOCOL CONFIG -->
2013-01-13 13:19:27 +08:00
<entry key='gps103.port'>5001</entry>
<entry key='tk103.port'>5002</entry>
<entry key='gl100.port'>5003</entry>
<entry key='gl200.port'>5004</entry>
<entry key='t55.port'>5005</entry>
2015-01-15 08:41:56 +08:00
<entry key='xexun.port'>5006</entry>
<entry key='xexun.extended'>false</entry>
2013-11-03 06:56:19 +08:00
<entry key='totem.port'>5007</entry>
2013-01-13 13:19:27 +08:00
<entry key='enfora.port'>5008</entry>
<entry key='meiligao.port'>5009</entry>
2015-11-06 04:59:54 +08:00
<entry key='trv.port'>5010</entry>
2013-08-04 17:02:29 +08:00
<entry key='suntech.port'>5011</entry>
2013-01-13 13:19:27 +08:00
<entry key='progress.port'>5012</entry>
<entry key='h02.port'>5013</entry>
<entry key='jt600.port'>5014</entry>
2015-11-07 07:18:56 +08:00
<entry key='huabao.port'>5015</entry>
2013-01-13 13:19:27 +08:00
<entry key='v680.port'>5016</entry>
<entry key='pt502.port'>5017</entry>
<entry key='tr20.port'>5018</entry>
<entry key='navis.port'>5019</entry>
<entry key='meitrack.port'>5020</entry>
<entry key='skypatrol.port'>5021</entry>
<entry key='gt02.port'>5022</entry>
<entry key='gt06.port'>5023</entry>
2013-01-18 18:02:18 +08:00
<entry key='megastek.port'>5024</entry>
2013-01-30 18:00:40 +08:00
<entry key='navigil.port'>5025</entry>
2013-02-08 14:49:56 +08:00
<entry key='gpsgate.port'>5026</entry>
2013-02-03 11:03:07 +08:00
<entry key='teltonika.port'>5027</entry>
2013-02-08 14:49:56 +08:00
<entry key='mta6.port'>5028</entry>
2015-07-18 14:21:19 +08:00
<entry key='tzone.port'>5029</entry>
2013-02-10 08:08:35 +08:00
<entry key='tlt2h.port'>5030</entry>
2015-06-29 09:27:58 +08:00
<entry key='taip.port'>5031</entry>
2013-03-23 06:01:41 +08:00
<entry key='wondex.port'>5032</entry>
2013-03-18 17:47:15 +08:00
<entry key='cellocator.port'>5033</entry>
2013-03-19 17:15:35 +08:00
<entry key='galileo.port'>5034</entry>
2013-03-23 07:50:05 +08:00
<entry key='ywt.port'>5035</entry>
2013-04-09 19:38:11 +08:00
<entry key='tk102.port'>5036</entry>
2015-12-27 05:03:21 +08:00
<!--<entry key='intellitrac.port'>5037</entry>-->
2015-09-23 09:11:12 +08:00
<entry key='gpsmta.port'>5038</entry>
2013-04-27 17:08:40 +08:00
<entry key='wialon.port'>5039</entry>
2013-04-28 08:59:54 +08:00
<entry key='carscop.port'>5040</entry>
2013-05-15 18:18:04 +08:00
<entry key='apel.port'>5041</entry>
2013-05-29 18:11:59 +08:00
<entry key='manpower.port'>5042</entry>
2013-06-03 12:12:35 +08:00
<entry key='globalsat.port'>5043</entry>
2013-06-18 18:15:55 +08:00
<entry key='atrack.port'>5044</entry>
2013-07-26 18:04:38 +08:00
<entry key='pt3000.port'>5045</entry>
2013-08-06 18:18:45 +08:00
<entry key='ruptela.port'>5046</entry>
2013-08-09 17:46:58 +08:00
<entry key='topflytech.port'>5047</entry>
2013-08-10 21:38:22 +08:00
<entry key='laipac.port'>5048</entry>
<entry key='aplicom.port'>5049</entry>
2013-08-12 18:45:47 +08:00
<entry key='gotop.port'>5050</entry>
2013-11-03 06:56:19 +08:00
<entry key='sanav.port'>5051</entry>
2013-08-17 18:35:30 +08:00
<entry key='gator.port'>5052</entry>
2013-08-18 17:47:03 +08:00
<entry key='noran.port'>5053</entry>
2013-08-20 16:19:32 +08:00
<entry key='m2m.port'>5054</entry>
2013-08-22 21:19:09 +08:00
<entry key='osmand.port'>5055</entry>
2013-08-23 18:46:45 +08:00
<entry key='easytrack.port'>5056</entry>
2015-07-17 18:05:18 +08:00
<entry key='gpsmarker.port'>5057</entry>
2014-01-18 14:07:39 +08:00
<entry key='khd.port'>5058</entry>
2014-01-19 17:52:14 +08:00
<entry key='piligrim.port'>5059</entry>
2014-02-23 14:55:15 +08:00
<entry key='stl060.port'>5060</entry>
2014-04-20 13:08:58 +08:00
<entry key='cartrack.port'>5061</entry>
2014-04-27 14:38:40 +08:00
<entry key='minifinder.port'>5062</entry>
2014-05-21 17:20:45 +08:00
<entry key='haicom.port'>5063</entry>
2014-05-25 08:08:46 +08:00
<entry key='eelink.port'>5064</entry>
2014-06-01 16:37:44 +08:00
<entry key='box.port'>5065</entry>
2014-06-02 18:39:48 +08:00
<entry key='freedom.port'>5066</entry>
2016-02-21 06:04:48 +08:00
<entry key='telic.port'>5067</entry>
2014-06-22 16:39:49 +08:00
<entry key='trackbox.port'>5068</entry>
<entry key='visiontek.port'>5069</entry>
2014-08-27 18:12:39 +08:00
<entry key='orion.port'>5070</entry>
2014-09-10 18:49:18 +08:00
<entry key='riti.port'>5071</entry>
2014-12-24 10:33:04 +08:00
<entry key='ulbotech.port'>5072</entry>
2014-12-30 10:38:35 +08:00
<entry key='tramigo.port'>5073</entry>
2015-01-15 06:35:11 +08:00
<entry key='tr900.port'>5074</entry>
2015-01-15 06:51:14 +08:00
<entry key='ardi01.port'>5075</entry>
2015-01-21 07:29:32 +08:00
<entry key='xt013.port'>5076</entry>
2015-01-21 08:30:01 +08:00
<entry key='autofon.port'>5077</entry>
2015-02-14 06:25:02 +08:00
<entry key='gosafe.port'>5078</entry>
2016-02-21 05:27:08 +08:00
<entry key='tt8850.port'>5079</entry>
2015-02-28 07:09:43 +08:00
<entry key='bce.port'>5080</entry>
2015-03-01 05:35:55 +08:00
<entry key='xirgo.port'>5081</entry>
2015-04-11 05:56:59 +08:00
<entry key='calamp.port'>5082</entry>
2015-04-11 06:52:42 +08:00
<entry key='mtx.port'>5083</entry>
2015-04-18 14:17:54 +08:00
<entry key='tytan.port'>5084</entry>
2015-04-24 11:58:59 +08:00
<entry key='avl301.port'>5085</entry>
2015-05-31 16:07:39 +08:00
<entry key='castel.port'>5086</entry>
2015-06-23 10:04:52 +08:00
<entry key='mxt.port'>5087</entry>
2015-07-24 11:24:55 +08:00
<entry key='cityeasy.port'>5088</entry>
2015-09-24 10:56:35 +08:00
<entry key='aquila.port'>5089</entry>
2015-09-25 07:00:38 +08:00
<entry key='flextrack.port'>5090</entry>
<entry key='blackkite.port'>5091</entry>
2015-10-19 11:34:42 +08:00
<entry key='adm.port'>5092</entry>
2015-10-30 13:50:43 +08:00
<entry key='watch.port'>5093</entry>
2015-11-01 13:41:40 +08:00
<entry key='t800x.port'>5094</entry>
2015-12-13 03:23:26 +08:00
<entry key='upro.port'>5095</entry>
2016-01-07 04:30:38 +08:00
<entry key='auro.port'>5096</entry>
2015-12-13 16:16:45 +08:00
<entry key='disha.port'>5097</entry>
<entry key='thinkrace.port'>5098</entry>
<entry key='pathaway.port'>5099</entry>
<entry key='arnavi.port'>5100</entry>
<entry key='nvs.port'>5101</entry>
2016-01-25 09:42:09 +08:00
<entry key='kenji.port'>5102</entry>
2016-02-15 06:17:57 +08:00
<entry key='astra.port'>5103</entry>
<entry key='homtecs.port'>5104</entry>
2016-03-14 09:24:41 +08:00
<entry key='fox.port'>5105</entry>
2016-03-18 05:19:33 +08:00
<entry key='gnx.port'>5106</entry>
<entry key='arknav.port'>5107</entry>
2016-03-30 11:11:06 +08:00
<entry key='supermate.port'>5108</entry>
2016-04-12 10:47:13 +08:00
<entry key='appello.port'>5109</entry>
2016-06-09 09:57:12 +08:00
<entry key='idpl.port'>5110</entry>
2016-06-24 12:50:59 +08:00
<entry key='huasheng.port'>5111</entry>
2016-07-06 12:31:44 +08:00
<entry key='l100.port'>5112</entry>
2016-07-05 20:16:06 +08:00
<entry key='granit.port'>5113</entry>
2015-05-31 16:07:39 +08:00
2012-04-25 02:59:31 +08:00
</properties>