From 07023eed9bdd8b1dd12f9d78dae2fabb327dc8fe Mon Sep 17 00:00:00 2001 From: Joshua Shannon Date: Sat, 11 Dec 2021 12:58:35 -0600 Subject: [PATCH] Bumped some versions -- most importantly log4j2 version --- build.gradle | 8 ++++---- other/docs/todo.md | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 3a31c5bc..cd276229 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,11 @@ buildscript { ext { - junit5Version = '5.7.2' // https://junit.org/junit5/ - junit5PlatformVersion = '1.7.2' + junit5Version = '5.8.2' // https://junit.org/junit5/ + junit5PlatformVersion = '1.8.2' slf4jVersion = '1.7.32' // http://www.slf4j.org/download.html - log4jVersion = '2.14.1' // https://logging.apache.org/log4j/2.x/javadoc.html + log4jVersion = '2.15.0' // https://logging.apache.org/log4j/2.x/javadoc.html // https://github.com/FasterXML/jackson/wiki/Jackson-Releases jacksonVersion = '2.13.0' // https://github.com/FasterXML/jackson-databind/releases // retrofit is why we need allow-opens. context: https://stackoverflow.com/questions/60915381/retrofit2-maven-project-illegal-reflective-access-warning // https://github.com/square/retrofit/issues/3341 @@ -13,7 +13,7 @@ buildscript { shadowVersion = '7.1.0' // https://github.com/johnrengelman/shadow/releases // only works on gradle 7 // ioLibVersion = '2.1.0' // https://github.com/retrodaredevil/io-lib/releases ioLibVersion = 'cc13e29d6d' - okhttpVersion = "4.9.2" // https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp + okhttpVersion = "4.9.3" // https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp couchdbJavaVersion = 'c109c8ead8' dockerComposePluginVersion = "0.14.3" } diff --git a/other/docs/todo.md b/other/docs/todo.md index f36e766e..e23bd3c5 100644 --- a/other/docs/todo.md +++ b/other/docs/todo.md @@ -74,9 +74,6 @@ and also react to messages that have been fully processed (request successfully * Possibly rename graphql program to rest program * Make monitor-service only start after WiFi has kicked in * Have a request node be able to upload packets if the clock on the device is off by a decent margin -* Automation that sends a command to each program that accepts commands. - * When processed, these commands will upload an informational message to CouchDB (solarthing-events) - * Automation will send an alert if no informational message was found after 15 seconds of sending the command ### Completed * Provide option/configuration for multiple MATEs (maybe using multiple databases with an id at the end? i.e.: solarthing-1, solarthing-2 or commands-1, commands-2) @@ -132,6 +129,10 @@ easy displaying in Grafana * Create button/widget on Grafana that sends an encrypted command to shut off the generator * Did this by creating the `/command/run` endpoint and using [cloudspout-button-panel](https://github.com/cloudspout/cloudspout-button-panel/) * Not perfect: Requires making a dashboard private to avoid exposing API key to users that are not logged in +* Automation that sends a command to each program that accepts commands. + * Done using heartbeats + * Alerting could be faster if we had the automation program monitor for a heartbeat request that didn't go through + but for now just a heartbeat being absent after its expected duration is good enough ### Look into * Look into supporting Elasticsearch, MongoDB, Graphite