1. 15 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: bugfixes and documentation · 35cfab1b
      Alessio Netti authored
      - Integration of data analytics framework in collectagent complete
      - REST API integration still pending
      - Added some documentation to the code
      35cfab1b
  2. 12 Apr, 2019 2 commits
    • Alessio Netti's avatar
      DA: integration of analytics in collectagent · 30c355d3
      Alessio Netti authored
      - QueryEngine integration done (but not functional yet, debugging required)
      - Changed behavior on exceptional conditions: if SensorNavigator or
      AnalyticsManager initialization fails, termination follows
      - Now the QueryEngine can also access output sensors of other Analyzers
      - Minor bugfixes
      30c355d3
    • Alessio Netti's avatar
      DA: integration in CollectAgent (WIP) · 0f77d784
      Alessio Netti authored
      - First step for integration of the analytics framework in the collectagent
      - QueryEngine and REST API integration still missing
      - Proper testing still to be done
      - Added a probe function: the global config file is scanned before
      initialization, and if no data analytics plugins are requested, no
      sensor navigator is built
      0f77d784
  3. 13 Mar, 2019 2 commits
    • Alessio Netti's avatar
      eb38c300
    • Alessio Netti's avatar
      Minor refinements · abf6af19
      Alessio Netti authored
      - Boolean configuration options now all accept "true" and "on" keywords
      - Cache interval and thread count parameters removed from the command-line
      interface for consistency; these can still be set in the config files
      like all other parameters
      - global.conf file renamed to dcdbpusher.conf for consistency
      abf6af19
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 19 Dec, 2018 1 commit
  10. 18 Dec, 2018 3 commits
  11. 11 Dec, 2018 1 commit
  12. 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
  13. 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
  14. 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
  15. 19 Oct, 2018 1 commit
  16. 23 Mar, 2018 1 commit
  17. 13 Mar, 2018 1 commit
  18. 09 Mar, 2018 1 commit
  19. 09 Feb, 2018 1 commit
  20. 09 Nov, 2017 1 commit
  21. 12 Sep, 2017 1 commit
  22. 27 Jan, 2017 3 commits
  23. 05 Oct, 2016 1 commit
  24. 29 Sep, 2016 1 commit
  25. 08 Sep, 2016 1 commit
  26. 01 Sep, 2016 2 commits
  27. 08 Aug, 2016 1 commit
  28. 11 May, 2016 1 commit
  29. 18 Jan, 2016 1 commit
  30. 12 Aug, 2015 1 commit
  31. 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
  32. 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