Wykres commitów

115 Commity (master)

Autor SHA1 Wiadomość Data
Bertrik Sikken b34e456bea - move/update .properties file in src/dist
- add start scripts
2017-08-25 00:44:45 +02:00
Bertrik Sikken 00b6317156 PMD warning fix. 2017-08-25 00:25:21 +02:00
Bertrik Sikken 6cbe624a73 Add temperature and voltage to payload decoder. 2017-08-25 00:20:35 +02:00
Bertrik Sikken a448cb50c2 Move payload decoding into a separate module, add support for another payload format and update unit tests. 2017-08-24 17:35:33 +02:00
Bertrik Sikken 30496489bf Use memory persistence (iso file persistence), use MqttClient to generate the client id. 2017-08-24 00:51:28 +02:00
Bertrik Sikken b6683db8cc Static code analysis fixes. 2017-08-24 00:41:02 +02:00
Bertrik Sikken 0166377b92 Warning fixes. 2017-08-24 00:32:32 +02:00
Bertrik Sikken d17c7d5d72 - make logger final
- simplify mqtt topic
2017-08-23 22:35:10 +02:00
Bertrik Sikken a75d558ee2 Add SodaqOnePayloadTest. 2017-08-23 22:34:40 +02:00
Bertrik Sikken c065f5bfad Verify *two* listener uploads: infomation doc + telemetry. 2017-08-23 22:25:36 +02:00
Bertrik Sikken 3eeeb974b1 Use the reception date as reported in the metadata received from TTN, not the local system time. 2017-08-23 21:49:01 +02:00
Bertrik Sikken b0c9202e6f Refactor listener and payload docs a bit. 2017-08-23 21:10:06 +02:00
Bertrik Sikken d6507b43b5 Update HabitatUploader logging. 2017-08-23 20:46:00 +02:00
Bertrik Sikken 14ca831b95 Simplify/reduce/rename configuration items a bit. 2017-08-23 19:06:17 +02:00
Bertrik Sikken 2f4b7960fc Fix javadoc. 2017-08-23 13:04:50 +02:00
Bertrik Sikken 5cc5bc7a02 Put the antenna altitude in the listener doc "antenna" field. 2017-08-23 12:45:27 +02:00
Bertrik Sikken 96062144e7 Always pass a locale to String.format() 2017-08-23 12:44:25 +02:00
Bertrik Sikken f8cc50d5aa Move MQTT listener process to its own module. 2017-08-23 12:31:29 +02:00
Bertrik Sikken 9884c5b949 Enable logging to file. 2017-08-23 11:32:36 +02:00
Bertrik Sikken 18f7634cd6 Enable PMD check. 2017-08-22 13:07:43 +02:00
Bertrik Sikken 32396d43e5 Add unit test to HabitatUploaderTest. 2017-08-22 13:07:11 +02:00
Bertrik Sikken db2c2a4f49 Fix some issues found by PMD/FindBugs. 2017-08-22 12:50:15 +02:00
Bertrik Sikken 9e17d368f6 Make gradlew executable 2017-08-22 11:21:44 +02:00
Bertrik Sikken 421448f645 Cleanup and refactor. 2017-08-22 10:54:38 +02:00
Bertrik Sikken 37f63f47d1 Fix eclipse paho mqtt client version. 2017-08-22 10:51:48 +02:00
Bertrik Sikken 63177a5be5 Add eclipse launch file. 2017-08-22 10:49:15 +02:00
Bertrik Sikken ec2d365938 Remove unneeded gradle directory. 2017-08-22 10:45:10 +02:00
Bertrik Sikken ab663c6bad Some getter renaming. 2017-08-22 02:27:45 +02:00
Bertrik Sikken 2fa6b004aa Implement bulk of TtnHabBridge, add configuration. 2017-08-22 02:14:50 +02:00
Bertrik Sikken 87ac94d809 Disable two tests, they should be done manually (if ever). 2017-08-22 02:14:15 +02:00
Bertrik Sikken ba17d8300b Add link to specification. 2017-08-22 02:12:54 +02:00
Bertrik Sikken a7787218df Add toString() method to HabReceiver. 2017-08-22 02:00:16 +02:00
Bertrik Sikken 0ebdf8ef20 Add comments to SodaqOnePayload 2017-08-22 01:59:50 +02:00
Bertrik Sikken 6a235d0520 Simplify test for data received over MQTT. 2017-08-21 15:38:32 +02:00
Bertrik Sikken 74197b5f0c Update logging and exception handling. 2017-08-21 15:37:34 +02:00
Bertrik Sikken 068b654447 Add SodaqOne payload structure. 2017-08-21 15:35:42 +02:00
Bertrik Sikken fe36a718e2 Add comments referring to the listener doc specification. 2017-08-21 15:11:41 +02:00
Bertrik Sikken 5c08920dbf Add TTN MQTT data structures. 2017-08-21 10:03:25 +02:00
Bertrik Sikken d1833a244b Revert back to passing a HabReceiver (instead of String) to HabitatUploader. 2017-08-21 09:59:16 +02:00
Bertrik Sikken 30474cc1e0 Add eclipse paho mqtt client. 2017-08-21 06:38:35 +02:00
Bertrik Sikken e30bb2d887 Add unit test for MQTT data. 2017-08-19 22:32:32 +02:00
Bertrik Sikken 29671c1b37 Move code from unit test to actual code, also rename things a bit. 2017-08-19 00:32:16 +02:00
Bertrik Sikken a07a8f9705 Remove unused code. 2017-08-19 00:02:12 +02:00
Bertrik Sikken 81f14099d7 Log result of document upload. 2017-08-19 00:01:47 +02:00
Bertrik Sikken 93c1f67ebf Add toString() method. 2017-08-19 00:01:07 +02:00
Bertrik Sikken 2b0fe1a82a Implement uploading of listener docs (telemetry and information) 2017-08-18 23:25:44 +02:00
Bertrik Sikken e79468129b Remove static from SimpleDateFormat, it is not thread-safe. 2017-08-16 14:05:12 +02:00
Bertrik Sikken a457e0c041 Add PayloadTelemetryDocTest. 2017-08-16 13:34:34 +02:00
Bertrik Sikken 70d47a8c42 Auto-format, changes tabs into spaces, among other things. 2017-08-15 23:22:09 +02:00
Bertrik Sikken a650089956 Refactor HabitatUploader to use the XXXDoc classes. 2017-08-15 23:13:33 +02:00
Bertrik Sikken 50f46d6158 Add listener information doc, listener telemetry doc, payload telemetry doc. 2017-08-15 23:12:37 +02:00
Bertrik Sikken 5c906241fe Remove unused InterruptedException from stop() method. 2017-08-15 20:18:40 +02:00
Bertrik Sikken de96da17b6 Update slf4j/log4j versions. 2017-08-15 11:23:14 +02:00
Bertrik Sikken b2d5d63499 Make mockito a global test dependency. 2017-08-15 11:22:02 +02:00
Bertrik Sikken 679134451a Add default fixes for distributable:
* executable bit for .sh files
* linux-friendly lines endings
2017-08-15 10:24:15 +02:00
Bertrik Sikken 4f76ea6595 Make createReceiver method more flexible. 2017-08-15 10:21:39 +02:00
Bertrik Sikken e25a190a67 Make Jetty a test dependency (instead of an actual dependency). 2017-08-15 10:18:19 +02:00
Bertrik Sikken c08389576c Implement HabitatUploader. 2017-08-15 08:34:46 +02:00
Bertrik Sikken 6c57c6eb46 Update SentenceTest to match new Sentence prototype. 2017-08-15 08:17:41 +02:00
Bertrik Sikken b64908e596 Refactor: use Date instead of int, use a standard charset avoiding an UnsupportedEncodingException. 2017-08-15 08:17:12 +02:00
Bertrik Sikken b8e2256f25 Add REST libraries and Mockito test library. 2017-08-15 08:15:24 +02:00
Bertrik Sikken fd1aa0d16f Change from Java 7 to Java 8. 2017-08-15 08:14:20 +02:00
Bertrik Sikken 4b079fa3fa Add gradle 2017-08-13 15:38:01 +02:00
Bertrik Sikken 202e1d0c6f Initial code commit 2017-08-13 15:37:12 +02:00
Bertrik Sikken 16cb612fc3 2017-08-13 15:30:14 +02:00