Wykres commitów

115 Commity (master)

Autor SHA1 Wiadomość Data
Bertrik Sikken e16fd1f95f Move files out of workspace directory 2019-04-22 15:53:52 +02:00
Bertrik Sikken ab3f4258f4 Update retrofit library version to 2.5.0 2018-11-27 23:57:38 +01:00
Bertrik Sikken b1687cf588 Update PMD version to 6.9.0 2018-11-27 23:49:10 +01:00
Bertrik Sikken 1768912424 Update patch version of jackson-databind dependency. 2018-11-10 10:33:09 +01:00
Bertrik Sikken 15ddfebee1 Convert to using retrofit (untested) 2018-05-01 23:02:29 +02:00
Bertrik Sikken 61a7f7e0bc Add systemd .service file (untested) 2018-04-15 22:04:42 +02:00
Bertrik Sikken edd8216488 Upgrade jersey to 2.26 2018-04-15 21:59:45 +02:00
Bertrik Sikken 1b1b5831cc Add a SimpleCayenne class to make composing cayenne message a bit easier. 2017-10-07 19:04:16 +02:00
Bertrik Sikken 9edfe26081 Add support for encoding of Cayenne messages. 2017-09-24 14:44:31 +02:00
Bertrik Sikken 95ae8c11ec Log encoding in PayloadDecoder. 2017-09-24 12:58:21 +02:00
Bertrik Sikken 109e43047b Findbugs fix. 2017-09-18 00:05:03 +02:00
Bertrik Sikken 75e812a880 Remove last occurrence of java.util.Date 2017-09-16 19:26:53 +02:00
Bertrik Sikken 316d0bc478 Convert the gateway cache to java8 time. 2017-09-16 19:03:05 +02:00
Bertrik Sikken 24f5ea7a94 Convert ListenerDoc from Date to Java8 time. 2017-09-16 18:52:45 +02:00
Bertrik Sikken fc23c84965 Replace Date in PayloadTelemetryDoc by Java8 Instant. 2017-09-16 18:42:38 +02:00
Bertrik Sikken 8e98a0aba4 Replace Date in Sentence with new Java8 Instant. 2017-09-16 17:49:29 +02:00
Bertrik Sikken 8fd8cbe622 Remove obsolete TODO comment. 2017-09-09 20:43:29 +02:00
Bertrik Sikken 3e4577b69f Refactor CayenneItem / CayenneMessage a bit. 2017-09-09 20:42:54 +02:00
Bertrik Sikken bcbe5daa41 Add cayenne decoding to ttnhabbridge. 2017-09-08 19:27:26 +02:00
Bertrik Sikken 6078b8eaff Update CayenneMessage: it's now a list of CayenneItems. 2017-09-08 01:27:27 +02:00
Bertrik Sikken 4d9d9bb675 Make enum inside TtnHabBridgeConfig explicitly immutable. 2017-09-07 14:13:20 +02:00
Bertrik Sikken 8af5cabec4 Allow the payload encoding format to be specified in the configuration file. 2017-09-06 01:23:55 +02:00
Bertrik Sikken a435653b07 Add temperature and battery voltage to a UKHAS sentence for a sodaqone binary payload. 2017-09-05 12:58:00 +02:00
Bertrik Sikken 35d52c6c87 Add configuration item to specify the payload format. 2017-09-05 12:33:59 +02:00
Bertrik Sikken 2189d9bad3 Fix calculation of battery voltage in binary sodaqone payload. 2017-09-05 12:26:11 +02:00
Bertrik Sikken f34b7aee4f Add unit test for cayenne payload. 2017-09-05 12:23:10 +02:00
Bertrik Sikken 3a14aa20f3 Add uncaught exception handler. 2017-09-04 02:09:57 +02:00
Bertrik Sikken 442df50422 Make the configuration class work with streams instead of files. 2017-09-04 01:53:53 +02:00
Bertrik Sikken dec6fb2711 Clarify some conditional statements with parentheses. 2017-09-03 23:40:09 +02:00
Bertrik Sikken 2f37c3c01b Some fixes, as suggested by PMD. 2017-09-01 15:30:09 +02:00
Bertrik Sikken f16a42d61d Move PMD configuration to top level build.gradle file and explicitly specify version. 2017-08-31 18:03:07 +02:00
Bertrik Sikken 94f6d0fc4e Re-enable PMD with UselessParentheses disabled, hope it behaves this time. 2017-08-31 15:47:34 +02:00
Bertrik Sikken edd011f0a5 Fix second/millisecond conversion. 2017-08-31 15:14:36 +02:00
Bertrik Sikken 208cffa824 Get timestamp from payload data for sodaq payload, instead of using TTN time. 2017-08-31 14:56:26 +02:00
Bertrik Sikken d588942184 Add cayenne subproject to main gradle file. 2017-08-31 14:03:54 +02:00
Bertrik Sikken 3da33c7498 Add a cayenne subproject, for parsing/formatting 'cayenne' type data payloads. 2017-08-31 13:35:37 +02:00
Bertrik Sikken 60bc2961a9 Add log4j as a default test dependency, remove jetty dependency. 2017-08-31 13:13:28 +02:00
Bertrik Sikken 163e5f6616 Catch a more specific WebApplicationException instead of an Exception. 2017-08-31 13:08:58 +02:00
Bertrik Sikken 12fca083ef Add check on result of getUUID web method. 2017-08-31 13:00:15 +02:00
Bertrik Sikken dce3e356c6 Fix habitat REST interface comments. 2017-08-29 13:25:06 +02:00
Bertrik Sikken 36cd64e814 Disable PMD: it produces incorrect results with warning UselessParentheses! 2017-08-29 13:13:20 +02:00
Bertrik Sikken 5b6492d0ab Make gateway cache expiration time configurable, with a default of 600 seconds. 2017-08-28 15:42:38 +02:00
Bertrik Sikken c986e8f576 - fix upload logic: we should still send payload telemetry for GWs that are cached
- move location validation from TtnMessageGateway to Location
2017-08-28 15:03:21 +02:00
Bertrik Sikken 7bf95882a1 Configure explicit PMD rule sets in an attempt to fix failing builds on travis. 2017-08-28 14:43:26 +02:00
Bertrik Sikken b4b3dc0b31 Add unit tests. 2017-08-28 14:38:19 +02:00
Bertrik Sikken 57f56c9e8a Implement proper check on whether a GW has a location and add a gateway cache. 2017-08-28 14:38:03 +02:00
Bertrik Sikken aab2ef03f6 Refactor logging and method names in HabitatUploader. 2017-08-28 14:37:08 +02:00
Bertrik Sikken 73e2179769 Make logging of payload telemetry upload consistent with other types of upload. 2017-08-28 13:57:55 +02:00
Bertrik Sikken 5fb524bf79 Apparently latitude/longitude/altitude of a GW are optional fields, so prepare for that and don't report these GWs. 2017-08-27 20:51:03 +02:00
Bertrik Sikken 5d77d73db9 Fix PayloadDecoder comment. 2017-08-25 00:48:05 +02:00