-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update dockerfile centos7 to python38 #337
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SonarQube Quality Gate |
bouda1
approved these changes
Jul 29, 2022
chgautier
added a commit
that referenced
this pull request
Aug 31, 2022
* enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br>
chgautier
added a commit
that referenced
this pull request
Sep 5, 2022
* Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
bouda1
added a commit
that referenced
this pull request
Nov 17, 2022
* Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
bouda1
added a commit
that referenced
this pull request
Nov 17, 2022
* enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br>
paloth
added a commit
that referenced
this pull request
Feb 3, 2023
* enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * fix(ci): little patches to align branches * feat(chore): update .gitignore and remove deprecated scripts (#436) * fix(ci): centreon-tests should be back * fix(ci): centreon tests are back * fix(ci): release simplified * fix(ci): an infinite loop fixed in tests with mariadbd restart * fix(tests): There was a bug in the search algo in logs * fix(tests): search algo improved * fix(delivery): add delivery to old yum repo (#457) * MON-15830 add invalid_on_negative attribute (#447) * MON-15830 add invalid_on_negative attribute REFS:MON-15830 * MON-16053 keepalive packets are sent evry 30s V22.04 (#446) REFS:MON-16053 * enh(ci): rebuild yum metadata only one time (#463) * fix(ci): fix workflow trigger on push dev-22.04.x (#465) * enh(packaging): add rpm sign to workflow 2204 (#469) * MON-15796 _resources_disable is now prepared in pb_host (#440) REFS:MON-15796 * fix(broker/lua): repeated fields should be ok with streamconnector (#452) * fix(broker/lua): repeated fields should be ok with streamconnector * chore(doc): changelog updated * cleanup(broker/lua): deadcode removed * cleanup(broker/lua): refacto of the code REFS: MON-15903 * enh(ci): add repository_name and delivery (#476) (#477) * enh(ci): add branch stability and delivery * remove duplicate code * enable delivery tests * add deb delivery debug * add deb delivery debug * fix credentials * disable deb delivery tests & debug * Mon 16050 periodic log flush (#453) REFS:MON-16050 * MON-16050 logs flush is now the asio job * MON-16050 muxer engine asynchronous * MON-16050 PR comment and muxer::publish optimisation * feat(chore): add Deepsource configuration file (#482) * enh(ci): remove buster from build and delivery (#471) (#473) * enh(ci): remove buster from build and delivery * remove buster dockerfile * fix(ci): use RELEASE instead of DISTRIB in package naming (#481) (#485) * MON-16342 spdlog::shutdown called at the end of main (#489) REFS:MON-16342 * MON-16329 add grpc log commands (#490) REFS: MON-16329 * MON-16329 add GetLogInfo and SetLogParam grpc commands * MON-16410 broker.pb.h and broker.pb.cc are compiled first (#497) REFS:MON-16410 * fix(ci): correct docker registry link (#494) * fix(ci): correct docker registry link * MON-16410 a little help to find protoc (#502) REFS:MON16410 * Add rpm repository cleanup 2204 (#504) * enh(ci): Add rpm delivery cleanup and structure (#499) * enh(ci): Add rpm delivery cleanup and structure * Add version to delivery inputs * Add condition to use sshkey for rpm delivery only * Update delivery action * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Enable cleanup * Update action.yml * Update action.yml * Update action.yml * fix(ci): fix run dir naming on rpm delivery * fix(engine/ack): sometimes acknowledgement_type and problem_has_been_acknowledged were desynchronized REFS: MON-16401 * fix(ci): handle debian stable delivery conditionally (#507) * enh(broker/mysql): we have the possibility to make prepared statements in bulk now * enh(broker/mysql): first step on columns * fix(broker/mysql): columns use less emory and are faster * enh(broker/mysql): columns use a vector to store data * fix(broker/stmt): better initialization * fix(broker/mysql): new possibility to prepare statement in bulk * fix(broker): work on mysql_bind only is now possible * fix(broker): new bulk queries begin to work * fix(broker): a little fix on empty queries * fix(broker/stmt): better construction * fix(broker/unified_sql): prepared statements in bulk arre ready to test * fix(broker/tests): new robot tests * fix(broker): a case of segfault in splitter fixed * fix(tests): several little fixes on centreon-tests * fix(tests): not needed logs removed * fix(broker/mysql): null fields are better detected * cleanup(broker/io): warning removed * fix(broker/neb): attempt to remove one endpoint configuration apply * cleanup(broker): methods commented * cleanup(broker): new comments * cleanup(broker): new comments * cleanup(broker/stmt): comments added * fix(doxyfile): config file updated * fix(broker/mysql): a fix in unit tests * cleanup(broker): comments added * chore(doc): CHANGELOG updated * add delivery to unstable * fix delivery to unstable * fix(broker): bad logs removed * fix(broker/mysql_connection): an attempt to avoid bulk prepared statement when only one row * fix(broker/mysql_connection): previous patch removed * remove unstable delivery and add artifact action * fix indents for artifact action * fix(ci): artifact to get generated packages * fix(ci): attempt to get packages * fix(broker/database): new files added * fix(broker/database): sub-part of the mysql changes * fix(broker/mysql): main part of the mysql part * fix(broker/storage): little changes to adapt to the new api * fix(broker/unified_sql): bulk_bind updated * fix(broker/unified_sql): stream updated * fix(deps): golang has a blocking change. So code is updated * fix(broker/mysql): memory leak fixed * fix(broker/unified_sql): various issues due to backports * fix(ci): packages artifacts added * fix(ci): indentation fixed * fix(ci): to separate el7 from el8 in artifacts * fix(ci): artifact improved * fix(ci): packages artifacts added * fix(ci): artifacts should be smaller * fix(ci): Use of cache for centreon-tests * fix(ci): comments removed * fix(broker/mysql_bind): unused functions removed * fix(broker/unified_sql): a case of too long string fixed * fix(broker/mysql): changes after review * cleanup(broker/mysql_result): comments removed * fix(broker/mysql_column): _vector_buffer removed because too dangerous for developers Co-authored-by: chgautier <cgautier@centreon.com> REFS: MON-16231 * fix(broker/mysql): issue on floats fixed (#522) REFS: MON-16231 * Mon 16454 add alma 8 to centreon collect nightly tests (#506) (#520) * enh(ci): Add alma8 to centreon-collect nightly * Add job to robot-nightly workflow * enable ci test branch * Update robot nightly workflow * add debug to get-packages * Add release to github_env * add delivery test * Get pkg dir version name * Fix url * fix url * make curl silent * fix curl * add mariadb client * update get-packages * disable nightly on alma 8 * update alma8 image * Add MariaDB packages to alma8 dockerfile * remove extra sudo * update collect-test-robot.sh * Remove duplicate Robot test job * fix(ci/tests): attempt to upgrade grpc python library * Install proper grpc version based on OS version id * help cmake to find protoc * disable delivery tests * remove unused lines from actions * Remove more unused lines Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: David Boucher <dboucher@centreon.com> * MON-16212-bulk-issue * fix(engine/broker/log_v2): a macro was missing for spdlog * fix(broker/unified_sql): attribute _next_time not defined REFS: MON-16231 * fix(broker): a test too strict * Update .github/workflows/centreon-collect.yml Co-authored-by: Kevin Duret <kduret@centreon.com> * chore(ci): Update delivery credentials (#543) * Update delivery credentials * Update delivery credentials and inputs * Update deb delivery credentials * fix hidden conflict --------- Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> Co-authored-by: Charles Gautier <33026375+chgautier@users.noreply.github.com> Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Jean Christophe Roques <jcroques@centreon.com> Co-authored-by: chgautier <cgautier@centreon.com>
chgautier
added a commit
that referenced
this pull request
Feb 3, 2023
* Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * fix(ci): little patchs to synchronize with dev-... branch * Release #18976# * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * fix(ci): little patches to align branches * feat(chore): update .gitignore and remove deprecated scripts (#436) * fix(ci): centreon-tests should be back * fix(ci): centreon tests are back * fix(ci): release simplified * fix(ci): an infinite loop fixed in tests with mariadbd restart * fix(tests): There was a bug in the search algo in logs * fix(tests): search algo improved * fix(delivery): add delivery to old yum repo (#457) * MON-15830 add invalid_on_negative attribute (#447) * MON-15830 add invalid_on_negative attribute REFS:MON-15830 * MON-16053 keepalive packets are sent evry 30s V22.04 (#446) REFS:MON-16053 * enh(ci): rebuild yum metadata only one time (#463) * fix(ci): fix workflow trigger on push dev-22.04.x (#465) * enh(packaging): add rpm sign to workflow 2204 (#469) * MON-15796 _resources_disable is now prepared in pb_host (#440) REFS:MON-15796 * fix(broker/lua): repeated fields should be ok with streamconnector (#452) * fix(broker/lua): repeated fields should be ok with streamconnector * chore(doc): changelog updated * cleanup(broker/lua): deadcode removed * cleanup(broker/lua): refacto of the code REFS: MON-15903 * enh(ci): add repository_name and delivery (#476) (#477) * enh(ci): add branch stability and delivery * remove duplicate code * enable delivery tests * add deb delivery debug * add deb delivery debug * fix credentials * disable deb delivery tests & debug * Mon 16050 periodic log flush (#453) REFS:MON-16050 * MON-16050 logs flush is now the asio job * MON-16050 muxer engine asynchronous * MON-16050 PR comment and muxer::publish optimisation * feat(chore): add Deepsource configuration file (#482) * enh(ci): remove buster from build and delivery (#471) (#473) * enh(ci): remove buster from build and delivery * remove buster dockerfile * fix(ci): use RELEASE instead of DISTRIB in package naming (#481) (#485) * MON-16342 spdlog::shutdown called at the end of main (#489) REFS:MON-16342 * MON-16329 add grpc log commands (#490) REFS: MON-16329 * MON-16329 add GetLogInfo and SetLogParam grpc commands * MON-16410 broker.pb.h and broker.pb.cc are compiled first (#497) REFS:MON-16410 * fix(ci): correct docker registry link (#494) * fix(ci): correct docker registry link * MON-16410 a little help to find protoc (#502) REFS:MON16410 * Add rpm repository cleanup 2204 (#504) * enh(ci): Add rpm delivery cleanup and structure (#499) * enh(ci): Add rpm delivery cleanup and structure * Add version to delivery inputs * Add condition to use sshkey for rpm delivery only * Update delivery action * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Enable cleanup * Update action.yml * Update action.yml * Update action.yml * fix(ci): fix run dir naming on rpm delivery * fix(engine/ack): sometimes acknowledgement_type and problem_has_been_acknowledged were desynchronized REFS: MON-16401 * fix(ci): handle debian stable delivery conditionally (#507) * enh(broker/mysql): we have the possibility to make prepared statements in bulk now * enh(broker/mysql): first step on columns * fix(broker/mysql): columns use less emory and are faster * enh(broker/mysql): columns use a vector to store data * fix(broker/stmt): better initialization * fix(broker/mysql): new possibility to prepare statement in bulk * fix(broker): work on mysql_bind only is now possible * fix(broker): new bulk queries begin to work * fix(broker): a little fix on empty queries * fix(broker/stmt): better construction * fix(broker/unified_sql): prepared statements in bulk arre ready to test * fix(broker/tests): new robot tests * fix(broker): a case of segfault in splitter fixed * fix(tests): several little fixes on centreon-tests * fix(tests): not needed logs removed * fix(broker/mysql): null fields are better detected * cleanup(broker/io): warning removed * fix(broker/neb): attempt to remove one endpoint configuration apply * cleanup(broker): methods commented * cleanup(broker): new comments * cleanup(broker): new comments * cleanup(broker/stmt): comments added * fix(doxyfile): config file updated * fix(broker/mysql): a fix in unit tests * cleanup(broker): comments added * chore(doc): CHANGELOG updated * add delivery to unstable * fix delivery to unstable * fix(broker): bad logs removed * fix(broker/mysql_connection): an attempt to avoid bulk prepared statement when only one row * fix(broker/mysql_connection): previous patch removed * remove unstable delivery and add artifact action * fix indents for artifact action * fix(ci): artifact to get generated packages * fix(ci): attempt to get packages * fix(broker/database): new files added * fix(broker/database): sub-part of the mysql changes * fix(broker/mysql): main part of the mysql part * fix(broker/storage): little changes to adapt to the new api * fix(broker/unified_sql): bulk_bind updated * fix(broker/unified_sql): stream updated * fix(deps): golang has a blocking change. So code is updated * fix(broker/mysql): memory leak fixed * fix(broker/unified_sql): various issues due to backports * fix(ci): packages artifacts added * fix(ci): indentation fixed * fix(ci): to separate el7 from el8 in artifacts * fix(ci): artifact improved * fix(ci): packages artifacts added * fix(ci): artifacts should be smaller * fix(ci): Use of cache for centreon-tests * fix(ci): comments removed * fix(broker/mysql_bind): unused functions removed * fix(broker/unified_sql): a case of too long string fixed * fix(broker/mysql): changes after review * cleanup(broker/mysql_result): comments removed * fix(broker/mysql_column): _vector_buffer removed because too dangerous for developers Co-authored-by: chgautier <cgautier@centreon.com> REFS: MON-16231 * fix(broker/mysql): issue on floats fixed (#522) REFS: MON-16231 * Mon 16454 add alma 8 to centreon collect nightly tests (#506) (#520) * enh(ci): Add alma8 to centreon-collect nightly * Add job to robot-nightly workflow * enable ci test branch * Update robot nightly workflow * add debug to get-packages * Add release to github_env * add delivery test * Get pkg dir version name * Fix url * fix url * make curl silent * fix curl * add mariadb client * update get-packages * disable nightly on alma 8 * update alma8 image * Add MariaDB packages to alma8 dockerfile * remove extra sudo * update collect-test-robot.sh * Remove duplicate Robot test job * fix(ci/tests): attempt to upgrade grpc python library * Install proper grpc version based on OS version id * help cmake to find protoc * disable delivery tests * remove unused lines from actions * Remove more unused lines Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: David Boucher <dboucher@centreon.com> * MON-16212-bulk-issue * fix(engine/broker/log_v2): a macro was missing for spdlog * fix(broker/unified_sql): attribute _next_time not defined REFS: MON-16231 * fix(broker): a test too strict * Update .github/workflows/centreon-collect.yml Co-authored-by: Kevin Duret <kduret@centreon.com> * chore(ci): Update delivery credentials (#543) * Update delivery credentials * Update delivery credentials and inputs * Update deb delivery credentials * fix hidden conflict --------- Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> Co-authored-by: Charles Gautier <33026375+chgautier@users.noreply.github.com> Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Jean Christophe Roques <jcroques@centreon.com> Co-authored-by: chgautier <cgautier@centreon.com> --------- Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> Co-authored-by: Paul LOUIS THERESE <53221698+paloth@users.noreply.github.com> Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Jean Christophe Roques <jcroques@centreon.com>
paloth
added a commit
that referenced
this pull request
Apr 3, 2023
* enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * fix(ci): little patches to align branches * feat(chore): update .gitignore and remove deprecated scripts (#436) * fix(ci): centreon-tests should be back * fix(ci): centreon tests are back * fix(ci): release simplified * fix(ci): an infinite loop fixed in tests with mariadbd restart * fix(tests): There was a bug in the search algo in logs * fix(tests): search algo improved * fix(delivery): add delivery to old yum repo (#457) * MON-15830 add invalid_on_negative attribute (#447) * MON-15830 add invalid_on_negative attribute REFS:MON-15830 * MON-16053 keepalive packets are sent evry 30s V22.04 (#446) REFS:MON-16053 * enh(ci): rebuild yum metadata only one time (#463) * fix(ci): fix workflow trigger on push dev-22.04.x (#465) * enh(packaging): add rpm sign to workflow 2204 (#469) * MON-15796 _resources_disable is now prepared in pb_host (#440) REFS:MON-15796 * fix(broker/lua): repeated fields should be ok with streamconnector (#452) * fix(broker/lua): repeated fields should be ok with streamconnector * chore(doc): changelog updated * cleanup(broker/lua): deadcode removed * cleanup(broker/lua): refacto of the code REFS: MON-15903 * enh(ci): add repository_name and delivery (#476) (#477) * enh(ci): add branch stability and delivery * remove duplicate code * enable delivery tests * add deb delivery debug * add deb delivery debug * fix credentials * disable deb delivery tests & debug * Mon 16050 periodic log flush (#453) REFS:MON-16050 * MON-16050 logs flush is now the asio job * MON-16050 muxer engine asynchronous * MON-16050 PR comment and muxer::publish optimisation * feat(chore): add Deepsource configuration file (#482) * enh(ci): remove buster from build and delivery (#471) (#473) * enh(ci): remove buster from build and delivery * remove buster dockerfile * fix(ci): use RELEASE instead of DISTRIB in package naming (#481) (#485) * MON-16342 spdlog::shutdown called at the end of main (#489) REFS:MON-16342 * MON-16329 add grpc log commands (#490) REFS: MON-16329 * MON-16329 add GetLogInfo and SetLogParam grpc commands * MON-16410 broker.pb.h and broker.pb.cc are compiled first (#497) REFS:MON-16410 * fix(ci): correct docker registry link (#494) * fix(ci): correct docker registry link * MON-16410 a little help to find protoc (#502) REFS:MON16410 * Add rpm repository cleanup 2204 (#504) * enh(ci): Add rpm delivery cleanup and structure (#499) * enh(ci): Add rpm delivery cleanup and structure * Add version to delivery inputs * Add condition to use sshkey for rpm delivery only * Update delivery action * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Enable cleanup * Update action.yml * Update action.yml * Update action.yml * fix(ci): fix run dir naming on rpm delivery * fix(engine/ack): sometimes acknowledgement_type and problem_has_been_acknowledged were desynchronized REFS: MON-16401 * fix(ci): handle debian stable delivery conditionally (#507) * enh(broker/mysql): we have the possibility to make prepared statements in bulk now * enh(broker/mysql): first step on columns * fix(broker/mysql): columns use less emory and are faster * enh(broker/mysql): columns use a vector to store data * fix(broker/stmt): better initialization * fix(broker/mysql): new possibility to prepare statement in bulk * fix(broker): work on mysql_bind only is now possible * fix(broker): new bulk queries begin to work * fix(broker): a little fix on empty queries * fix(broker/stmt): better construction * fix(broker/unified_sql): prepared statements in bulk arre ready to test * fix(broker/tests): new robot tests * fix(broker): a case of segfault in splitter fixed * fix(tests): several little fixes on centreon-tests * fix(tests): not needed logs removed * fix(broker/mysql): null fields are better detected * cleanup(broker/io): warning removed * fix(broker/neb): attempt to remove one endpoint configuration apply * cleanup(broker): methods commented * cleanup(broker): new comments * cleanup(broker): new comments * cleanup(broker/stmt): comments added * fix(doxyfile): config file updated * fix(broker/mysql): a fix in unit tests * cleanup(broker): comments added * chore(doc): CHANGELOG updated * add delivery to unstable * fix delivery to unstable * fix(broker): bad logs removed * fix(broker/mysql_connection): an attempt to avoid bulk prepared statement when only one row * fix(broker/mysql_connection): previous patch removed * remove unstable delivery and add artifact action * fix indents for artifact action * fix(ci): artifact to get generated packages * fix(ci): attempt to get packages * fix(broker/database): new files added * fix(broker/database): sub-part of the mysql changes * fix(broker/mysql): main part of the mysql part * fix(broker/storage): little changes to adapt to the new api * fix(broker/unified_sql): bulk_bind updated * fix(broker/unified_sql): stream updated * fix(deps): golang has a blocking change. So code is updated * fix(broker/mysql): memory leak fixed * fix(broker/unified_sql): various issues due to backports * fix(ci): packages artifacts added * fix(ci): indentation fixed * fix(ci): to separate el7 from el8 in artifacts * fix(ci): artifact improved * fix(ci): packages artifacts added * fix(ci): artifacts should be smaller * fix(ci): Use of cache for centreon-tests * fix(ci): comments removed * fix(broker/mysql_bind): unused functions removed * fix(broker/unified_sql): a case of too long string fixed * fix(broker/mysql): changes after review * cleanup(broker/mysql_result): comments removed * fix(broker/mysql_column): _vector_buffer removed because too dangerous for developers Co-authored-by: chgautier <cgautier@centreon.com> REFS: MON-16231 * fix(broker/mysql): issue on floats fixed (#522) REFS: MON-16231 * Mon 16454 add alma 8 to centreon collect nightly tests (#506) (#520) * enh(ci): Add alma8 to centreon-collect nightly * Add job to robot-nightly workflow * enable ci test branch * Update robot nightly workflow * add debug to get-packages * Add release to github_env * add delivery test * Get pkg dir version name * Fix url * fix url * make curl silent * fix curl * add mariadb client * update get-packages * disable nightly on alma 8 * update alma8 image * Add MariaDB packages to alma8 dockerfile * remove extra sudo * update collect-test-robot.sh * Remove duplicate Robot test job * fix(ci/tests): attempt to upgrade grpc python library * Install proper grpc version based on OS version id * help cmake to find protoc * disable delivery tests * remove unused lines from actions * Remove more unused lines Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: David Boucher <dboucher@centreon.com> * Merge 2204x on dev2204x (#551) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * fix(ci): little patchs to synchronize with dev-... branch * Release #18976# * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue * chore(release):rebase dev-22.04.x on 22.04.x (#352) * Merge release-debian-22.04.0 into 22.04.x (#323) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * enh(debian/package): add a default config file for cbd on debian package REFS: MON-13830 * enh(build/debian):clib.so on lib REFS: MON-13782 * Add missing broker lib (#262) * fix(jenkins): update jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * fix jenkinsfile * bypass debian build dwz process Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> * chore(release): merge release 22.04.1 into 22.04.x (#349) * enh(broker/mysql_connection): unix socket is different on Debian or on centos7 REFS: MON-13926 * Mon 13562 sonar atoi 22.04.x.new (#290) * Mon 13562 sonar atoi (#277) * enh(chore): update readme.md * enh(sonar) : replace atoi/strtol/strtoull by abseil SimpleAtoi * chore(readme) : update readme.md in tests * enh(sonar): replace atoi/strtoull bu SimpleAtoi abseil Co-authored-by: David Boucher <dboucher@centreon.com> * chore(readme) : update readme * cleanup(broker/mysql_result): false is better than 0 in this context Co-authored-by: David Boucher <dboucher@centreon.com> * enh(ccc): new grpc client At the moment, we can execute: ccc -p 31001 # to see what the server is ccc -p 31001 -l # to see the available methods REFS: MON-13947 * fix(engine): when display_name is empty, it should be replaced by description or hostname REFS: MON-13968 * enh(tests): database credentials configurable from resource.robot (#284) (#291) * enh(tests): database credentials configurable from resource.robot * enh(tests): remove console.log * rror: no keyword Kill Broker found, almost works * enh(tests): database credentials configurable from db_variables.robot * fix(tests) : replace DBNAME_STORAGE by correct DBNAME * fix(tests): remove personnal passwords and add str * fix(tests): remove bad str in front of variables from .robot * enh(tests): seems to work. Neet to change my credentials * enh(tests): default passwords in db-variables.robot * fix(engine): checkable::name() conflicted with host::name() * Mon 13901 cbd multiargs 22.04.x (#293) * enh(broker) : cbd with multiargs, robot test to do. Debug is unused * robot tests still don't work * enh(cbd) : robot tests for this ticket and update doc * fix(tests): find log in timeout can read the first line * fix(tests): 4 robot tests pass * fix(tests): correct clang-format * fix(cbd): main with better comments * Mon 13562 sonar unsigned bitwise operator (#294) (#295) * enh(sonar): avoid unsigned bitwise operator * enh(gitignore): ignore database credentials in tests folder * enh(tests): untrack db_variables.robot * fix(tests): fix bad commit on Find in log with timeout * fix(tests): restore db_variables.robot * fix(tests): remove gitignore in tests folder * enh(sonar): ignore postgresql in bam folder (#296) (#298) A security issue easily fixable. REFS: MON-13562 * enh(sonar): change reserved name to a non reserved one (#297) (#301) * enh(sonar): change reserved name to a non reserved one * enh(sonar): change exp to expr * fix(tests): bad call on lambda * fix(sonar): good lambda call on this file * fix(broker/bam): downtimes on kpi can be more than one * enh(tests/bam): test on bam and ignored downtimes on kpi implemented * chore(doc): CHANGELOG updated * doc(tests): README updated REFS: MON-14091 * fix(broker): rebuild/remove graphs has come back REFS: MON-14092 * enh(ccc): ccc is functional * enh(tests/ccc): new tests added * fix(ccc): info are output on stderr * enh(ccc): help input messages added * enh(ccc): help on functions works * cleanup(ccc): comments added REFS: MON-14191 * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * Mon 13562 sonar atoi external command (#302) (#318) #REFS: MON-13562 -replace atoi/strtoul by abseil::SimpleAtoi -robot tests : BEATOI11, BEATOI12, BEATOI13, BEATOI21, BEATOI22, BEATOI23 -unit tests : SSHOptions in connectors/ssh/tests/options.cc * fix(broker/engine): grpc api can be changed throught configuration. Otherwise it is fixed to localhost (#321) REFS: MON-13904 * fix(broker/bam): detection of downtime end was bad (#319) * fix(tests/bam): sometimes broker is too long to stop * fix(tests/summary): new options -f and -s * fix(conanfile): openssl updated REFS: MON-14091 * fix(engine): bad rebase fixed here * enh(sonar) : replace new by make_shared or make_unique (#322) (#326) #REFS : MON-14198 enh(sonar) : replace new by make_shared or make_unique when it's already a smart pointer * fix(robot): fix robot BEATOI tests 22.04 (#325) * fix(robot): fix robot BEATOI tests * enh(robot) : tag atoi * Mon 14198 sonar dynamic allocations (#327) (#328) #REFS: MON-14198 -replace str::dup by string or sabsl::stringview to avoid new and delete -remove unused code in broker.cc -fix clear broker logs so robot memory doesn't crash * fix(broker/rebuild): error in sql query REFS: MON-14092 * fix(broker/rebuild): creation date of rrd file too late REFS: MON-14092 * fix(ci): update dockerfile centos7 for python38 (#337) * fix(ci/debian): set shell to centreon-engine user (#334) REFS: MON-14363 * fix(ci): issue with conan fixed * fix(ci/scripts): conan bad path * enh(engine/anomalydetection): Enable recheck for anomaly-detection services REFS: MON-14158 * fix(ci/tests): dateutil missing for robot * fix(ci): correct syntax Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> * MON-14166 fix bbdo compression nego (#316) REFS:MON-14166 * enh(build): protect variables + bash comparisons 22.04 * fix(raspbian): parse only first line of /etc/issue Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> * MON-14511 engine wait end loop event sent before shutdown (#350) REFS:MON-14511 * MON-13875 lua stream connector accept empty parameters(22.04) (#358) REFS:MON-13875 * fix(broker/unified_sql): cbd no more blocked when a bad row is encountered in db (#361) REFS: MON-14951 * fix(ci): adapt Jenkinsfile (#363) * fix(broker/config): if failovers are badly defined, error logs are raised but this does not stop broker (#364) REFS: MON-5986 * fix(broker/rrd): rebuild works with rrdcached REFS: MON-14909 * chore(doc): CHANGELOG and tests description updated * MON-11419 dt end 2099 (#369) REFS:MON-11419 * fix(ci/delivery): debuginfo and ccc packages were missing REFS: MON-13819 * MON-11419 dt end 2099 (#369) (#384) REFS:MON-14908 * fix(broker/stats): There was a deadlock in the stats center REFS: MON-15575 * fix(broker/bam): no need to read last_level in bam It is not stored in kpis, just computed on demand and stored in db. REFS: MON-15622 * fix(broker/rrd): rebuild is complete now. REFS: MON-15569 * fix(broker/storage): an sql error is no more fatal REFS: MON-15228 * enh(ci): transition to gha 22.04.x * fix(ci): attempt to change runner * enh(ci): new workflow on dev-22.04.x * fix(ci): version variable updated * fix(ci): backport of ci in develop to 22.04 * fix(conan): conan dependencies updated because of security issues * fix(ci): little patches to align branches * feat(chore): update .gitignore and remove deprecated scripts (#436) * fix(ci): centreon-tests should be back * fix(ci): centreon tests are back * fix(ci): release simplified * fix(ci): an infinite loop fixed in tests with mariadbd restart * fix(tests): There was a bug in the search algo in logs * fix(tests): search algo improved * fix(delivery): add delivery to old yum repo (#457) * MON-15830 add invalid_on_negative attribute (#447) * MON-15830 add invalid_on_negative attribute REFS:MON-15830 * MON-16053 keepalive packets are sent evry 30s V22.04 (#446) REFS:MON-16053 * enh(ci): rebuild yum metadata only one time (#463) * fix(ci): fix workflow trigger on push dev-22.04.x (#465) * enh(packaging): add rpm sign to workflow 2204 (#469) * MON-15796 _resources_disable is now prepared in pb_host (#440) REFS:MON-15796 * fix(broker/lua): repeated fields should be ok with streamconnector (#452) * fix(broker/lua): repeated fields should be ok with streamconnector * chore(doc): changelog updated * cleanup(broker/lua): deadcode removed * cleanup(broker/lua): refacto of the code REFS: MON-15903 * enh(ci): add repository_name and delivery (#476) (#477) * enh(ci): add branch stability and delivery * remove duplicate code * enable delivery tests * add deb delivery debug * add deb delivery debug * fix credentials * disable deb delivery tests & debug * Mon 16050 periodic log flush (#453) REFS:MON-16050 * MON-16050 logs flush is now the asio job * MON-16050 muxer engine asynchronous * MON-16050 PR comment and muxer::publish optimisation * feat(chore): add Deepsource configuration file (#482) * enh(ci): remove buster from build and delivery (#471) (#473) * enh(ci): remove buster from build and delivery * remove buster dockerfile * fix(ci): use RELEASE instead of DISTRIB in package naming (#481) (#485) * MON-16342 spdlog::shutdown called at the end of main (#489) REFS:MON-16342 * MON-16329 add grpc log commands (#490) REFS: MON-16329 * MON-16329 add GetLogInfo and SetLogParam grpc commands * MON-16410 broker.pb.h and broker.pb.cc are compiled first (#497) REFS:MON-16410 * fix(ci): correct docker registry link (#494) * fix(ci): correct docker registry link * MON-16410 a little help to find protoc (#502) REFS:MON16410 * Add rpm repository cleanup 2204 (#504) * enh(ci): Add rpm delivery cleanup and structure (#499) * enh(ci): Add rpm delivery cleanup and structure * Add version to delivery inputs * Add condition to use sshkey for rpm delivery only * Update delivery action * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Update action delivery * Enable cleanup * Update action.yml * Update action.yml * Update action.yml * fix(ci): fix run dir naming on rpm delivery * fix(engine/ack): sometimes acknowledgement_type and problem_has_been_acknowledged were desynchronized REFS: MON-16401 * fix(ci): handle debian stable delivery conditionally (#507) * enh(broker/mysql): we have the possibility to make prepared statements in bulk now * enh(broker/mysql): first step on columns * fix(broker/mysql): columns use less emory and are faster * enh(broker/mysql): columns use a vector to store data * fix(broker/stmt): better initialization * fix(broker/mysql): new possibility to prepare statement in bulk * fix(broker): work on mysql_bind only is now possible * fix(broker): new bulk queries begin to work * fix(broker): a little fix on empty queries * fix(broker/stmt): better construction * fix(broker/unified_sql): prepared statements in bulk arre ready to test * fix(broker/tests): new robot tests * fix(broker): a case of segfault in splitter fixed * fix(tests): several little fixes on centreon-tests * fix(tests): not needed logs removed * fix(broker/mysql): null fields are better detected * cleanup(broker/io): warning removed * fix(broker/neb): attempt to remove one endpoint configuration apply * cleanup(broker): methods commented * cleanup(broker): new comments * cleanup(broker): new comments * cleanup(broker/stmt): comments added * fix(doxyfile): config file updated * fix(broker/mysql): a fix in unit tests * cleanup(broker): comments added * chore(doc): CHANGELOG updated * add delivery to unstable * fix delivery to unstable * fix(broker): bad logs removed * fix(broker/mysql_connection): an attempt to avoid bulk prepared statement when only one row * fix(broker/mysql_connection): previous patch removed * remove unstable delivery and add artifact action * fix indents for artifact action * fix(ci): artifact to get generated packages * fix(ci): attempt to get packages * fix(broker/database): new files added * fix(broker/database): sub-part of the mysql changes * fix(broker/mysql): main part of the mysql part * fix(broker/storage): little changes to adapt to the new api * fix(broker/unified_sql): bulk_bind updated * fix(broker/unified_sql): stream updated * fix(deps): golang has a blocking change. So code is updated * fix(broker/mysql): memory leak fixed * fix(broker/unified_sql): various issues due to backports * fix(ci): packages artifacts added * fix(ci): indentation fixed * fix(ci): to separate el7 from el8 in artifacts * fix(ci): artifact improved * fix(ci): packages artifacts added * fix(ci): artifacts should be smaller * fix(ci): Use of cache for centreon-tests * fix(ci): comments removed * fix(broker/mysql_bind): unused functions removed * fix(broker/unified_sql): a case of too long string fixed * fix(broker/mysql): changes after review * cleanup(broker/mysql_result): comments removed * fix(broker/mysql_column): _vector_buffer removed because too dangerous for developers Co-authored-by: chgautier <cgautier@centreon.com> REFS: MON-16231 * fix(broker/mysql): issue on floats fixed (#522) REFS: MON-16231 * Mon 16454 add alma 8 to centreon collect nightly tests (#506) (#520) * enh(ci): Add alma8 to centreon-collect nightly * Add job to robot-nightly workflow * enable ci test branch * Update robot nightly workflow * add debug to get-packages * Add release to github_env * add delivery test * Get pkg dir version name * Fix url * fix url * make curl silent * fix curl * add mariadb client * update get-packages * disable nightly on alma 8 * update alma8 image * Add MariaDB packages to alma8 dockerfile * remove extra sudo * update collect-test-robot.sh * Remove duplicate Robot test job * fix(ci/tests): attempt to upgrade grpc python library * Install proper grpc version based on OS version id * help cmake to find protoc * disable delivery tests * remove unused lines from actions * Remove more unused lines Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: David Boucher <dboucher@centreon.com> * MON-16212-bulk-issue * fix(engine/broker/log_v2): a macro was missing for spdlog * fix(broker/unified_sql): attribute _next_time not defined REFS: MON-16231 * fix(broker): a test too strict * Update .github/workflows/centreon-collect.yml Co-authored-by: Kevin Duret <kduret@centreon.com> * chore(ci): Update delivery credentials (#543) * Update delivery credentials * Update delivery credentials and inputs * Update deb delivery credentials * fix hidden conflict --------- Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> Co-authored-by: Charles Gautier <33026375+chgautier@users.noreply.github.com> Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Jean Christophe Roques <jcroques@centreon.com> Co-authored-by: chgautier <cgautier@centreon.com> --------- Co-authored-by: tuntoja <58987095+tuntoja@users.noreply.github.com> Co-authored-by: David Boucher <dboucher@centreon.com> Co-authored-by: rem31 <73845199+rem31@users.noreply.github.com> Co-authored-by: Luiz Costa <me@luizgustavo.pro.br> Co-authored-by: Zakaria GUENNOUNE <zguennoune@centreon.com> Co-authored-by: denliA <91119589+denliA@users.noreply.github.com> Co-authored-by: jean-christophe81 <98889244+jean-christophe81@users.noreply.github.com> Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> Co-authored-by: Paul LOUIS THERESE <53221698+paloth@users.noreply.github.com> Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Jean Christophe Roques <jcroques@centreon.com> * chore(license): update maintaine…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a short resume of the changes and what is the purpose of PR. Any relevant information should be added to help:
Fixes # (issue)
Type of change
Target serie
How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.
Any relevant details of the configuration to perform the test should be added.
Checklist