1. 11 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Sensor cache changes · 06155b53
      Alessio Netti authored
      - Sensor caches across DCDB are now managed by the CacheEntry
      implementation under "common"
      - Provides utility methods to perform averages, checks, get views etc.
      - SensorCache class in collectagent kept due to its libdcdb dependencies
      06155b53
  2. 07 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Code refactoring (make clean required) · d35348f7
      Alessio Netti authored
      - Added a 'common' directory where all shared code has been placed
      - Analytics package has been moved out of dcdbpusher, now has its own makefile
      - Some renaming here and there for uniformity
      d35348f7
  3. 01 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Minor changes · 2cf6acc5
      Alessio Netti authored
      - Fixed a minor issue that caused text corruption when using the -h
      option on certain shells
      - Collectagent now exits gracefully also when receiving a SIGTERM signal
      2cf6acc5
  4. 26 Feb, 2019 1 commit
    • Alessio Netti's avatar
      Configurable Cassandra Driver · a7f9b57c
      Alessio Netti authored
      - Added configuration options to tune the Cassandra driver for
      optimal performance
      - Added a "debugLog" configuration switch that enables logging of
      errors in asynchronous inserts in the Cassandra driver
      a7f9b57c
  5. 25 Feb, 2019 1 commit
    • Alessio Netti's avatar
      Automatic cache cleanup · 05e98971
      Alessio Netti authored
      - The CollectAgent sensor cache is automatically purged each X seconds
      (X is configurable through the cleaningInterval parameter), deleting
      all entries than have not been updated in the last X seconds
      - Fixed some minor bugs related to index management in sensor caches
      05e98971
  6. 19 Dec, 2018 1 commit
  7. 18 Dec, 2018 3 commits
  8. 11 Dec, 2018 1 commit
  9. 07 Dec, 2018 1 commit
    • Alessio Netti's avatar
      Logging · 878a63bc
      Alessio Netti authored
      - Added BOOST logging in the style of dcdbpusher
      - All logging-related functionality is in logging.h
      878a63bc
  10. 04 Dec, 2018 1 commit
    • Alessio Netti's avatar
      Configuration support for CollectAgent · 31cd6276
      Alessio Netti authored
      - The collectagent is now configurable, like dcdbpusher
      - Available config options can be seen in the sample collectagent.conf file
      - Supplying a path containing config files is mandatory, like dcdbpusher;
      this may change in the future
      - Please do a make all && make install from the root of the repo to update
      scripts and directories that were modified to add config support
      31cd6276
  11. 22 Nov, 2018 1 commit
    • Alessio Netti's avatar
      Sensor name auto-publish support · 0848af2f
      Alessio Netti authored
      - MQTT publish messages that have a topic preceded by the /DCDB_MAP/
      keyword will be interpreted as sensor name auto-publish messages
      - The payload of such messages is a string defining a sensor name, that
      is used together with the MQTT topic to perform a "sensor publish"
      action on the Cassandra db, like dcdbconfig does
      0848af2f
  12. 19 Oct, 2018 1 commit
  13. 23 Mar, 2018 1 commit
  14. 13 Mar, 2018 1 commit
  15. 09 Mar, 2018 1 commit
  16. 09 Feb, 2018 1 commit
  17. 09 Nov, 2017 1 commit
  18. 12 Sep, 2017 1 commit
  19. 27 Jan, 2017 3 commits
  20. 05 Oct, 2016 1 commit
  21. 29 Sep, 2016 1 commit
  22. 08 Sep, 2016 1 commit
  23. 01 Sep, 2016 2 commits
  24. 08 Aug, 2016 1 commit
  25. 11 May, 2016 1 commit
  26. 18 Jan, 2016 1 commit
  27. 12 Aug, 2015 1 commit
  28. 19 May, 2015 2 commits
    • Axel Auweter's avatar
      Refactoring stage 3: · 1d5f1bfb
      Axel Auweter authored
      * Added SensorConfig and DCDBPublicSensor classes as interface for dcdbconfig
      * Fixed bugs and tested:
        --> CollectAgent fully working
        --> dcdbconfig fully working
      1d5f1bfb
    • Axel Auweter's avatar
      Second stage of refactoring: · 6fd96fd3
      Axel Auweter authored
      * Bump cpp-driver to 2.0.1
      * Create new SensorId header/source that takes over the logic
        previously found in SensorDataStore related to populating
        SensorId structs from MQTT topic strings and serializing
        them into Byte Arrays to be used as Cassandra Row Keys.
      6fd96fd3
  29. 18 May, 2015 1 commit
    • Axel Auweter's avatar
      First round of refactoring of DCDBLib: · 60481e0b
      Axel Auweter authored
      * Bumped Cassandra to 2.1.5
      * Bumped cpp-driver to 2.0
      * Eliminated cassandraBackend in favor of DCDBConnection
      
      In the future, a DCDBConnection handles the low-level connection
      to Cassandra. On top of an established DCDBConnection, you can
      create a SensorDataStore object which gives you access to raw
      sensor readings.
      60481e0b
  30. 17 May, 2015 1 commit
  31. 06 May, 2015 1 commit
  32. 12 Apr, 2015 1 commit
  33. 09 Apr, 2015 2 commits