1. 25 May, 2022 1 commit
  2. 17 May, 2022 1 commit
    • jean-christophe81's avatar
      enh(tests): new tests in centreon-tests · 59e7f07c
      jean-christophe81 authored
      
      
      * enh(tests): new tests on external-commands (rgres@centreon.com, jcroques@centreon.com)
      * circular_buffer rewritten (jcroques@centreon.com)
      * external command factorization (jcroques@centreon.com)
      * broker uses precompilated headers (jcroques@centreon.com)
      * engine/test directory removed.
      * sonar issues fixed (jcroques@centreon.com)
      
      
      REFS: MON-12158
      
      Co-authored-by: default avatarrem31 <73845199+rem31@users.noreply.github.com>
      59e7f07c
  3. 17 Mar, 2022 1 commit
  4. 01 Jul, 2021 1 commit
  5. 17 Jun, 2021 1 commit
  6. 20 Jan, 2021 1 commit
  7. 04 Feb, 2020 1 commit
    • David Boucher's avatar
      Broker stop lock (#368) · b78c44b4
      David Boucher authored
      * enh(stats): worker_pool destructor destroys its workers
      
      * cleanup(lua): Coding style reviewed
      
      * enh(tcp_async): not a big change, just to be sure.
      
      * fix(thread): exit() must be called by the daughter class.
      
      This is due to the destructor methods calls order.
      
      * fix(extcmd): extcmd disabled.
      
      * cleanup(io::endpoint): Constructor improved
      
      * fix(various): Attempt to improve cbd termination.
      
      When sigterm is catched, we deinit the configuration.
      
      And a call to exit() is removed because already called by the
      destructor.
      b78c44b4
  8. 29 Oct, 2019 6 commits
    • David Boucher's avatar
      Cm moved (#308) · 93a00df7
      David Boucher authored
      * test(sql): New unit tests
      
      * fix(stats): worker had a concurrent access
      
      * fix(cmake): conflict_manager is better attached to storage
      
      * fix(core): modules removing does not crash
      
      * cleanup(various): useless code removed.
      
      * cleanup(various): Warnings removed.
      93a00df7
    • Sylvestre Gallon's avatar
      enh(stats) : add more tests and remove some dead code · 2b36ac1e
      Sylvestre Gallon authored
      Remove generator
      Remove config
      Remove metric
      Create a worker_pool to simplify the code
      Add a better test coverage.
      style + licence
      2b36ac1e
    • Sylvestre Gallon's avatar
      enh(core): remove io::property and io::properties. · 4718a1ba
      Sylvestre Gallon authored
      These class were only used to generate a Json for stats purpose.
      We now directly use the json11 library... Start to use tests for
      stats.
      4718a1ba
    • David Boucher's avatar
      Big cleanup (#267) · 74c2931d
      David Boucher authored
      * cleanup(various): override used as recommanded in C++11
      
      * cleanup(various): redundant c_str() calls removed
      
      * cleanup(various): redundant smartptr get() calls removed
      
      * cleanup(various): coding style reviewed
      
      * cleanup(various): NULL converted to nullptr
      74c2931d
    • David Boucher's avatar
      Erasing qt (#245) · 5dcfabe6
      David Boucher authored
      * enh(neb): neb objects updated to match engine refacto.
      fix(neb): Contacts improved
      enh(url_encode): New url encode function with associated tests.
      enh(neb): get notification_number from engine #MON-4939
      
      update heeders
      
      * enh(variant): New variant class to replace QVariant
      
      Conflicts:
      	notification/src/loaders/command_loader.cc
      	notification/src/loaders/dependency_loader.cc
      	notification/src/loaders/macro_loader.cc
      	notification/src/loaders/timeperiod_loader.cc
      
      * enh(qt): A first step in the qt removing.
      
      * enh(lua): No more qt object.
      
      Conflicts:
      	lua/test/lua.cc
      
      * test(bbdo): New tests on the bbdo output class.
      
      Conflicts:
      	build/tests/CMakeLists.txt
      
      * feat(bbdo): bbdo serialization is written without Qt
      
      * enh(bbdo): New tests added.
      
      * fix(bbdo): Checksum test fixed.
      
      * fix(various): Compilation on CentOS7 fixed.
      
      * fix(various): Compilation on CentOS7 fixed.
      
      * WIP
      
      Conflicts:
      	sql/src/stream.cc
      	storage/src/stream.cc
      
      * test(processing/thread): New unit tests
      
      Conflicts:
      	build/tests/CMakeLists.txt
      
      * enh(various): QThread and other Qt things removed
      
      Conflicts:
      	bam/inc/com/centreon/broker/bam/availability_thread.hh
      	bam/inc/com/centreon/broker/bam/dimension_ba_timeperiod_relation.hh
      	bam/inc/com/centreon/broker/bam/monitoring_stream.hh
      	bam/inc/com/centreon/broker/bam/reporting_stream.hh
      	bam/src/monitoring_stream.cc
      	core/src/database.cc
      	notification/src/stream.cc
      
      * enh(core): QCoreApplication removed.
      
      * enh(notification): Its compilation is disabled
      
      Conflicts:
      	bam/inc/com/centreon/broker/bam/availability_thread.hh
      
      * enh(various): QObjects and friends removed.
      
      * enh(config): type is an std::string
      
      * enh(dumper): QDir removed to read directory content
      
      Conflicts:
      	bam/src/configuration/reader.cc
      	bam/src/configuration/reader_v2.cc
      	core/src/database.cc
      
      * fix(dumper): Little headers cleanup
      
      * enh(filesystem): new misc functions to work on filesystem
      
      * test(misc): New tests on filesystem
      
      Conflicts:
      	build/tests/CMakeLists.txt
      
      * enh(dumper): No more qt in dumper
      
      * enh(graphite): No more Qt object in graphite connector
      
      Conflicts:
      	graphite/inc/com/centreon/broker/graphite/stream.hh
      
      * enh(influxdb): No more qt objects
      
      * enh(rrd): No more Qt objects
      
      * enh(stats): No more qt object
      
      * enh(tcp): No more qt objects
      
      * fix(various): Various fix to compile
      
      * enh(bam): almost all the qt objects are removed
      
      Conflicts:
      	bam/src/availability_builder.cc
      	bam/src/configuration/reader.cc
      	bam/src/configuration/reader_v2.cc
      
      * enh(cmake): OFFLINE mode generalized on tests
      
      * enh(simu): No more qt object
      
      * fix(test): Various tests fixes.
      
      * fix(cmake): Compilation improved with Asio
      
      When Asio was downloaded, we could have some compilation that started
      with the need of Asio whose download was not over.
      A fix is also made in the processing::thread class.
      
      * fix(variant): In some cases, we can have an integer for a boolean
      
      * enh(cmake): QT_LIBRARY no more used in rrd/graphite/tcp
      
      * test(neb): Unit tests on neb are restored.
      
      * test(neb): New tests
      
      On:
       * custom_variable_status
       * event_handler
       * flapping_status
      
      * fix(cmake): json11 dependencies added.
      
      * cleanup(core): Comments removed.
      5dcfabe6
    • Sylvestre Gallon's avatar
      11095e2b
  9. 22 Sep, 2015 1 commit
  10. 09 Sep, 2015 1 commit
  11. 08 Jan, 2014 1 commit
  12. 25 Nov, 2013 1 commit
  13. 12 Jul, 2013 1 commit
  14. 30 Apr, 2013 1 commit
  15. 07 Mar, 2013 1 commit
  16. 25 Feb, 2013 3 commits
  17. 31 Jan, 2013 2 commits
  18. 22 Jan, 2013 1 commit
  19. 16 Jan, 2013 1 commit
  20. 02 Jan, 2013 1 commit
  21. 28 Nov, 2012 1 commit
  22. 08 Nov, 2012 1 commit
  23. 16 Oct, 2012 1 commit
  24. 05 Jul, 2012 1 commit
  25. 14 Jun, 2012 1 commit
  26. 10 May, 2012 5 commits