aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-31 03:57:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-31 03:57:15 +1300
commitcfb6bfcb4f7cf945f749634ccfc981e63dba6022 (patch)
tree8dba4bd9345a7752b4905435e0d972d09ee32b23
parent3868f6a5092019a480335af6eeabf8093d16dde2 (diff)
downloadtrackermap-server-cfb6bfcb4f7cf945f749634ccfc981e63dba6022.tar.gz
trackermap-server-cfb6bfcb4f7cf945f749634ccfc981e63dba6022.tar.bz2
trackermap-server-cfb6bfcb4f7cf945f749634ccfc981e63dba6022.zip
Remove database config from default
-rw-r--r--debug.xml68
-rw-r--r--setup/default.xml5
-rw-r--r--setup/traccar.xml5
3 files changed, 5 insertions, 73 deletions
diff --git a/debug.xml b/debug.xml
index 31f38c356..05eac10da 100644
--- a/debug.xml
+++ b/debug.xml
@@ -6,87 +6,19 @@
<entry key="config.default">./setup/default.xml</entry>
- <!-- SERVER CONFIG -->
-
- <entry key='web.enable'>true</entry>
- <entry key='web.port'>8082</entry>
<entry key='web.path'>./traccar-web/web</entry>
<entry key='web.debug'>true</entry>
<entry key='web.console'>true</entry>
- <!--<entry key='web.address'></entry>
- <entry key='web.application'>../traccar-web/traccar-web.war</entry>
- <entry key='web.old'>true</entry>
- <entry key='web.timeout'>30000</entry>-->
-
<entry key='geocoder.enable'>false</entry>
- <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>
- <entry key='location.mcc'>260</entry>
- <entry key='location.mnc'>2</entry>
-
- <!--<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>-->
-
- <!--<entry key='forward.enable'>true</entry>
- <entry key='forward.url'>http://example.com:8080/gprmc/Data?id={uniqueId}&amp;code=0x0000&amp;gprmc={gprmc}</entry>-->
- <entry key='logger.enable'>true</entry>
- <entry key='logger.level'>all</entry>
<entry key='logger.file'>target/tracker-server.log</entry>
- <!--<entry key='deviceManager.lookupGroupsAttribute'>true</entry>-->
-
- <!--<entry key='decoder.ignoreSessionCache'>false</entry>-->
-
- <!--<entry key='processing.copyAttributes.enable'>false</entry>
- <entry key='processing.copyAttributes'>power ignition battery</entry>-->
-
- <!--<entry key='event.forward.enable'>true</entry>
- <entry key='event.forward.url'>http://localhost/</entry>
- <entry key='event.forward.header'>Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l</entry>-->
-
- <!--<entry key='mail.smtp.host'>smtp.example.com</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>-->
-
- <!--<entry key='mail.smtp.port'>587</entry>
- <entry key='mail.smtp.starttls.enable'>true</entry>-->
-
- <!--<entry key='mail.smtp.port'>465</entry>
- <entry key='mail.smtp.ssl.enable'>true</entry>-->
-
- <!--<entry key='mail.smtp.ssl.trust'>smtp.example.com</entry>-->
-
- <!-- DATABASE CONFIG -->
-
- <!--<entry key='database.driverFile'>hsqldb.jar</entry>-->
-
<entry key='database.driver'>org.h2.Driver</entry>
<entry key='database.url'>jdbc:h2:./target/database</entry>
<entry key='database.user'>sa</entry>
<entry key='database.password'></entry>
- <entry key='database.ignoreUnknown'>true</entry>
-
- <entry key='database.changelog'>./schema/changelog-master.xml</entry>
-
- <!--<entry key='database.registerUnknown'>false</entry>
- <entry key='database.xml'>false</entry>
- <entry key='database.saveOriginal'>true</entry>
- <entry key='database.positionsHistoryDays'>7</entry>-->
-
- <!-- PROTOCOL CONFIG -->
-
<entry key='intellitrac.port'>6037</entry>
</properties>
diff --git a/setup/default.xml b/setup/default.xml
index 8b1cfaeba..f50f3904f 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -27,11 +27,6 @@
<!-- DATABASE CONFIG -->
- <entry key='database.driver'>org.h2.Driver</entry>
- <entry key='database.url'>jdbc:h2:./data/database</entry>
- <entry key='database.user'>sa</entry>
- <entry key='database.password'></entry>
-
<entry key='database.ignoreUnknown'>true</entry>
<entry key='database.changelog'>./schema/changelog-master.xml</entry>
diff --git a/setup/traccar.xml b/setup/traccar.xml
index e4b3e9167..9b9bfa289 100644
--- a/setup/traccar.xml
+++ b/setup/traccar.xml
@@ -6,4 +6,9 @@
<entry key="config.default">./conf/default.xml</entry>
+ <entry key='database.driver'>org.h2.Driver</entry>
+ <entry key='database.url'>jdbc:h2:./data/database</entry>
+ <entry key='database.user'>sa</entry>
+ <entry key='database.password'></entry>
+
</properties>