1. 29 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: filter for SensorNavigator and binary search fixes · f2970bda
      Alessio Netti authored
      - a "filter" configuration parameter has been added, which is used
      to discard sensor names when building the sensor navigator
      - Can be used to e.g. build a sensor navigator in a collectagent
      using only the sensors that are directly collected by it
      - Implemented a switch to select leftmost/rightmost binary search
      in CacheEntry, used for the QueryEngine
      f2970bda
  2. 24 Apr, 2019 2 commits
    • Alessio Netti's avatar
      Configuration tweaks · 8b4b1738
      Alessio Netti authored
      - Parsing of host:port network addresses is handled by GlobalConfiguration
      - -p dcdbpusher command line parameter (broker port) removed and integrated
      into the -b argument
      8b4b1738
    • Alessio Netti's avatar
      Unified configuration backend · 0b344fc2
      Alessio Netti authored
      - The GlobalConfiguration class includes all shared logic to read and
      parse configuration attributes for the collectagent and dcdbpusher
      - The class is further expanded to add application-specific
      configuration parameters and blocks
      0b344fc2
  3. 23 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: search-based sensor queries · eb186235
      Alessio Netti authored
      - When performing sensor queries with absolute timestamps (rel=false) a
      binary search algorithm is used to compute the bounds of the required
      sensor cache view
      - This is more accurate than the fuzzy method employed with relative
      timestamps (rel=true)
      eb186235
  4. 18 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: REST API in collectagent · 0466b434
      Alessio Netti authored
      - The REST API of the data analytics framework is now functional in
      the collectagent as well
      - This implementation is temporary and should be replaced with a generic
      REST API server whenever possible
      0466b434
  5. 15 Apr, 2019 2 commits
    • Alessio Netti's avatar
      DA: data staleness checks · e19fd249
      Alessio Netti authored
      - Batch size in the collectagent now taken into account to determine if
      a specific sensor cache is stale or not
      e19fd249
    • 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 19 Dec, 2018 1 commit
  14. 18 Dec, 2018 3 commits
  15. 11 Dec, 2018 1 commit
  16. 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
  17. 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
  18. 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
  19. 19 Oct, 2018 1 commit
  20. 23 Mar, 2018 1 commit
  21. 13 Mar, 2018 1 commit
  22. 09 Mar, 2018 1 commit
  23. 09 Feb, 2018 1 commit
  24. 09 Nov, 2017 1 commit
  25. 12 Sep, 2017 1 commit
  26. 27 Jan, 2017 3 commits
  27. 05 Oct, 2016 1 commit
  28. 29 Sep, 2016 1 commit
  29. 08 Sep, 2016 1 commit
  30. 01 Sep, 2016 2 commits
  31. 08 Aug, 2016 1 commit