Skip to content
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

Mon 16454 add alma 8 to centreon collect nightly tests 2204 (#506) #520

Conversation

tuntoja
Copy link
Contributor

@tuntoja tuntoja commented Jan 19, 2023

  • 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

Description

Please include a short resume of the changes and what is the purpose of PR. Any relevant information should be added to help:

  • QA Team (Quality Assurance) with tests.
  • reviewers to understand what are the stakes of the pull request.

Fixes # (issue)

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software
  • Updating documentation (missing information, typo...)

Target serie

  • 21.10.x
  • 22.04.x
  • 22.10.x
  • 23.04.x (master)

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

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have made corresponding changes to the documentation.
  • I have rebased my development branch on the base branch (master, maintenance).

* 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>
@tuntoja tuntoja requested a review from bouda1 January 19, 2023 08:10
@github-actions
Copy link

github-actions bot commented Jan 19, 2023

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
0 258 0 258 0

Failed Tests

Name Message ⏱️ Duration Suite
BEBAMIDT1 No keyword with name 'Config Broker' found. 0.058 s Inherited Downtime
BEBAMIDT2 No keyword with name 'Config Broker' found. 0.057 s Inherited Downtime
BEBAMIGNDT1 No keyword with name 'Config Broker' found. 0.066 s Inherited Downtime
BEBAMIGNDT2 No keyword with name 'Config Broker' found. 0.069 s Inherited Downtime
BCL1 No keyword with name 'Config Broker' found. 0.017 s Command-Line
BCL2 No keyword with name 'Config Broker' found. 0.025 s Command-Line
BCL3 No keyword with name 'Config Broker' found. 0.018 s Command-Line
BCL4 No keyword with name 'Config Broker' found. 0.018 s Command-Line
BFC1 No keyword with name 'Config Broker' found. 0.028 s Filters
BFC2 No keyword with name 'Config Broker' found. 0.029 s Filters
BGRPCSS1 No keyword with name 'Config Broker' found. 0.026 s Grpc-Stream
BGRPCSS2 No keyword with name 'Config Broker' found. 0.019 s Grpc-Stream
BGRPCSS3 No keyword with name 'Config Broker' found. 0.02 s Grpc-Stream
BGRPCSS4 No keyword with name 'Config Broker' found. 0.021 s Grpc-Stream
BGRPCSS5 No keyword with name 'Config Broker' found. 0.026 s Grpc-Stream
BGRPCSSU1 No keyword with name 'Config Broker' found. 0.028 s Grpc-Stream
BGRPCSSU2 No keyword with name 'Config Broker' found. 0.022 s Grpc-Stream
BGRPCSSU3 No keyword with name 'Config Broker' found. 0.022 s Grpc-Stream
BGRPCSSU4 No keyword with name 'Config Broker' found. 0.023 s Grpc-Stream
BGRPCSSU5 No keyword with name 'Config Broker' found. 0.028 s Grpc-Stream
BLDIS1 No keyword with name 'Config Broker' found. 0.024 s Log
BDB1 No keyword with name 'Config Broker' found. 0.026 s Sql
BDB2 No keyword with name 'Config Broker' found. 0.03 s Sql
BDB3 No keyword with name 'Config Broker' found. 0.028 s Sql
BDB4 No keyword with name 'Config Broker' found. 0.03 s Sql
BDB5 No keyword with name 'Config Broker' found. 0.031 s Sql
BDB6 No keyword with name 'Config Broker' found. 0.028 s Sql
BDB7 No keyword with name 'Config Broker' found. 0.03 s Sql
BDB8 No keyword with name 'Config Broker' found. 0.031 s Sql
BDB9 No keyword with name 'Config Broker' found. 0.028 s Sql
BDB10 No keyword with name 'Config Broker' found. 0.027 s Sql
BEDB2 No keyword with name 'Config Broker' found. 0.031 s Sql
BEDB3 No keyword with name 'Config Broker' found. 0.038 s Sql
BEDB4 No keyword with name 'Config Broker' found. 0.033 s Sql
BDBM1 No keyword with name 'Config Broker' found. 0.037 s Sql
BDBU1 No keyword with name 'Config Broker' found. 0.031 s Sql
BDBU3 No keyword with name 'Config Broker' found. 0.032 s Sql
BDBU5 No keyword with name 'Config Broker' found. 0.031 s Sql
BDBU7 No keyword with name 'Config Broker' found. 0.031 s Sql
BDBU10 No keyword with name 'Config Broker' found. 0.034 s Sql
BDBMU1 No keyword with name 'Config Broker' found. 0.043 s Sql
BSS1 No keyword with name 'Config Broker' found. 0.02 s Start-Stop
BSS2 No keyword with name 'Config Broker' found. 0.019 s Start-Stop
BSS3 No keyword with name 'Config Broker' found. 0.018 s Start-Stop
BSS4 No keyword with name 'Config Broker' found. 0.018 s Start-Stop
BSS5 No keyword with name 'Config Broker' found. 0.022 s Start-Stop
BSSU1 No keyword with name 'Config Broker' found. 0.024 s Start-Stop
BSSU2 No keyword with name 'Config Broker' found. 0.021 s Start-Stop
BSSU3 No keyword with name 'Config Broker' found. 0.021 s Start-Stop
BSSU4 No keyword with name 'Config Broker' found. 0.02 s Start-Stop
BSSU5 No keyword with name 'Config Broker' found. 0.027 s Start-Stop
NetworkDbFail1 No keyword with name 'Config Engine' found. 0.047 s networkFailure
NetworkDbFail2 No keyword with name 'Config Engine' found. 0.048 s networkFailure
NetworkDbFail3 No keyword with name 'Config Engine' found. 0.049 s networkFailure
NetworkDbFail4 No keyword with name 'Config Engine' found. 0.05 s networkFailure
NetworkDbFail5 No keyword with name 'Config Engine' found. 0.048 s networkFailure
NetworkDBFail6 No keyword with name 'Config Engine' found. 0.043 s networkFailure
NetworkDBFailU6 No keyword with name 'Config Engine' found. 0.045 s networkFailure
NetworkDBFail7 No keyword with name 'Config Engine' found. 0.043 s networkFailure
NetworkDBFailU7 No keyword with name 'Config Engine' found. 0.046 s networkFailure
ANO_NOFILE No keyword with name 'Config Engine' found. 0.039 s Anomaly-Detection
ANO_TOO_OLD_FILE No keyword with name 'Config Engine' found. 0.044 s Anomaly-Detection
ANO_OUT_LOWER_THAN_LIMIT No keyword with name 'Config Engine' found. 0.041 s Anomaly-Detection
ANO_OUT_UPPER_THAN_LIMIT No keyword with name 'Config Engine' found. 0.041 s Anomaly-Detection
BEPBBEE1 No keyword with name 'Config Engine' found. 0.039 s Bbdo-Protobuf
BEPBBEE2 No keyword with name 'Config Engine' found. 0.046 s Bbdo-Protobuf
BEPBBEE3 No keyword with name 'Config Engine' found. 0.061 s Bbdo-Protobuf
BEPBBEE4 No keyword with name 'Config Engine' found. 0.048 s Bbdo-Protobuf
BEPBBEE5 No keyword with name 'Config Engine' found. 0.048 s Bbdo-Protobuf
BECC1 No keyword with name 'Config Engine' found. 0.047 s Compression
BEDTMASS1 No keyword with name 'Config Engine' found. 0.105 s Downtimes
BEDTMASS2 No keyword with name 'Config Engine' found. 0.08 s Downtimes
BEEXTCMD1 No keyword with name 'Config Engine' found. 0.054 s External-Commands
BEEXTCMD2 No keyword with name 'Config Engine' found. 0.04 s External-Commands
BEEXTCMD3 No keyword with name 'Config Engine' found. 0.062 s External-Commands
BEEXTCMD4 No keyword with name 'Config Engine' found. 0.044 s External-Commands
BEEXTCMD5 No keyword with name 'Config Engine' found. 0.054 s External-Commands
BEEXTCMD6 No keyword with name 'Config Engine' found. 0.041 s External-Commands
BEEXTCMD7 No keyword with name 'Config Engine' found. 0.062 s External-Commands
BEEXTCMD8 No keyword with name 'Config Engine' found. 0.045 s External-Commands
BEEXTCMD9 No keyword with name 'Config Engine' found. 0.056 s External-Commands
BEEXTCMD10 No keyword with name 'Config Engine' found. 0.042 s External-Commands
BEEXTCMD11 No keyword with name 'Config Engine' found. 0.063 s External-Commands
BEEXTCMD12 No keyword with name 'Config Engine' found. 0.045 s External-Commands
BEEXTCMD13 No keyword with name 'Config Engine' found. 0.064 s External-Commands
BEEXTCMD14 No keyword with name 'Config Engine' found. 0.045 s External-Commands
BEEXTCMD15 No keyword with name 'Config Engine' found. 0.062 s External-Commands
BEEXTCMD16 No keyword with name 'Config Engine' found. 0.044 s External-Commands
BEEXTCMD17 No keyword with name 'Config Engine' found. 0.061 s External-Commands
BEEXTCMD18 No keyword with name 'Config Engine' found. 0.045 s External-Commands
BEEXTCMD19 No keyword with name 'Config Engine' found. 0.061 s External-Commands
BEEXTCMD20 No keyword with name 'Config Engine' found. 0.048 s External-Commands
BEEXTCMD21 No keyword with name 'Config Engine' found. 0.067 s External-Commands
BEEXTCMD22 No keyword with name 'Config Engine' found. 0.048 s External-Commands
BEEXTCMD23 No keyword with name 'Config Engine' found. 0.07 s External-Commands
BEEXTCMD24 No keyword with name 'Config Engine' found. 0.052 s External-Commands
BEEXTCMD25 No keyword with name 'Config Engine' found. 0.067 s External-Commands
BEEXTCMD26 No keyword with name 'Config Engine' found. 0.049 s External-Commands
BEEXTCMD27 No keyword with name 'Config Engine' found. 0.067 s External-Commands
BEEXTCMD28 No keyword with name 'Config Engine' found. 0.05 s External-Commands
BEEXTCMD29 No keyword with name 'Config Engine' found. 0.068 s External-Commands
BEEXTCMD30 No keyword with name 'Config Engine' found. 0.049 s External-Commands
BEEXTCMD31 No keyword with name 'Config Engine' found. 0.07 s External-Commands
BEEXTCMD32 No keyword with name 'Config Engine' found. 0.051 s External-Commands
BEEXTCMD33 No keyword with name 'Config Engine' found. 0.066 s External-Commands
BEEXTCMD34 No keyword with name 'Config Engine' found. 0.048 s External-Commands
BEEXTCMD35 No keyword with name 'Config Engine' found. 0.069 s External-Commands
BEEXTCMD36 No keyword with name 'Config Engine' found. 0.05 s External-Commands
BEEXTCMD37 No keyword with name 'Config Engine' found. 0.069 s External-Commands
BEEXTCMD38 No keyword with name 'Config Engine' found. 0.049 s External-Commands
BEEXTCMD39 No keyword with name 'Config Engine' found. 0.068 s External-Commands
BEEXTCMD40 No keyword with name 'Config Engine' found. 0.049 s External-Commands
BEEXTCMD41 No keyword with name 'Config Engine' found. 0.066 s External-Commands
BEEXTCMD42 No keyword with name 'Config Engine' found. 0.049 s External-Commands
BEEXTCMD_GRPC1 No keyword with name 'Config Engine' found. 0.061 s External-Commands
BEEXTCMD_GRPC2 No keyword with name 'Config Engine' found. 0.048 s External-Commands
BEEXTCMD_GRPC3 No keyword with name 'Config Engine' found. 0.068 s External-Commands
BEEXTCMD_GRPC4 No keyword with name 'Config Engine' found. 0.052 s External-Commands
BEEXTCMD_REVERSE_GRPC1 No keyword with name 'Config Engine' found. 0.101 s External-Commands
BEEXTCMD_REVERSE_GRPC2 No keyword with name 'Config Engine' found. 0.063 s External-Commands
BEEXTCMD_REVERSE_GRPC3 No keyword with name 'Config Engine' found. 0.084 s External-Commands
BEEXTCMD_REVERSE_GRPC4 No keyword with name 'Config Engine' found. 0.065 s External-Commands
BEEXTCMD_COMPRESS_GRPC1 No keyword with name 'Config Engine' found. 0.069 s External-Commands
BEATOI11 No keyword with name 'Config Engine' found. 0.043 s External-Commands
BEATOI12 No keyword with name 'Config Engine' found. 0.043 s External-Commands
BEATOI13 No keyword with name 'Config Engine' found. 0.043 s External-Commands
BEATOI21 No keyword with name 'Config Engine' found. 0.047 s External-Commands
BEATOI22 No keyword with name 'Config Engine' found. 0.048 s External-Commands
BEATOI23 No keyword with name 'Config Engine' found. 0.043 s External-Commands
EBNHG1 No keyword with name 'Config Engine' found. 0.046 s Hostgroups
EBNHGU1 No keyword with name 'Config Engine' found. 0.048 s Hostgroups
EBNHGU2 No keyword with name 'Config Engine' found. 0.066 s Hostgroups
EBNHGU3 No keyword with name 'Config Engine' found. 0.086 s Hostgroups
EBNHG4 No keyword with name 'Config Engine' found. 0.053 s Hostgroups
EBNHGU4 No keyword with name 'Config Engine' found. 0.053 s Hostgroups
EBSNU1 No keyword with name 'Config Engine' found. 0.053 s Hosts-With-Notes-And-Actions
EBSAU2 No keyword with name 'Config Engine' found. 0.053 s Hosts-With-Notes-And-Actions
EBSN3 No keyword with name 'Config Engine' found. 0.054 s Hosts-With-Notes-And-Actions
LOGV2EB1 No keyword with name 'Config Engine' found. 0.051 s Log-V2 Engine
LOGV2DB1 No keyword with name 'Config Engine' found. 0.049 s Log-V2 Engine
LOGV2DB2 No keyword with name 'Config Engine' found. 0.051 s Log-V2 Engine
LOGV2EB2 No keyword with name 'Config Engine' found. 0.05 s Log-V2 Engine
LOGV2EF1 No keyword with name 'Config Engine' found. 0.048 s Log-V2 Engine
LOGV2DF1 No keyword with name 'Config Engine' found. 0.047 s Log-V2 Engine
LOGV2DF2 No keyword with name 'Config Engine' found. 0.049 s Log-V2 Engine
LOGV2EF2 No keyword with name 'Config Engine' found. 0.048 s Log-V2 Engine
LOGV2BE2 No keyword with name 'Config Engine' found. 0.048 s Log-V2 Engine
LOGV2FE2 No keyword with name 'Config Engine' found. 0.047 s Log-V2 Engine
BERES1 No keyword with name 'Config Engine' found. 0.054 s Output-Tables
BEHS1 No keyword with name 'Config Engine' found. 0.054 s Output-Tables
BE_NOTIF_OVERFLOW No keyword with name 'Config Engine' found. 0.049 s Output-Tables
BERD1 No keyword with name 'Config Engine' found. 0.055 s Retention-Duplicates
BERD2 No keyword with name 'Config Engine' found. 0.052 s Retention-Duplicates
BERDUC1 No keyword with name 'Config Engine' found. 0.057 s Retention-Duplicates
BERDUCU1 No keyword with name 'Config Engine' found. 0.053 s Retention-Duplicates
BERDUC2 No keyword with name 'Config Engine' found. 0.066 s Retention-Duplicates
BERDUCU2 No keyword with name 'Config Engine' found. 0.066 s Retention-Duplicates
BERDUC3U1 No keyword with name 'Config Engine' found. 0.061 s Retention-Duplicates
BERDUC3U2 No keyword with name 'Config Engine' found. 0.075 s Retention-Duplicates
BRGC1 No keyword with name 'Config Engine' found. 0.041 s Reverse-Connection
BRCTS1 No keyword with name 'Config Engine' found. 0.043 s Reverse-Connection
BRCS1 No keyword with name 'Config Engine' found. 0.039 s Reverse-Connection
BRRDDMDB1 No keyword with name 'Config Engine' found. 0.069 s Rrd-From-Db
BRRDDIDDB1 No keyword with name 'Config Engine' found. 0.062 s Rrd-From-Db
BRRDRBDB1 No keyword with name 'Config Engine' found. 0.064 s Rrd-From-Db
BRRDRBUDB1 No keyword with name 'Config Engine' found. 0.074 s Rrd-From-Db
BRRDDM1 No keyword with name 'Config Engine' found. 0.058 s Rrd
BRRDDID1 No keyword with name 'Config Engine' found. 0.058 s Rrd
BRRDDMID1 No keyword with name 'Config Engine' found. 0.054 s Rrd
BRRDDMU1 No keyword with name 'Config Engine' found. 0.057 s Rrd
BRRDDIDU1 No keyword with name 'Config Engine' found. 0.062 s Rrd
BRRDDMIDU1 No keyword with name 'Config Engine' found. 0.057 s Rrd
BRRDRM1 No keyword with name 'Config Engine' found. 0.058 s Rrd
BRRDRMU1 No keyword with name 'Config Engine' found. 0.062 s Rrd
BRRDCDDMDB1 No keyword with name 'Config Engine' found. 0.081 s Rrdcached-From-Db
BRRDCDDIDDB1 No keyword with name 'Config Engine' found. 0.073 s Rrdcached-From-Db
BRRDCDRBDB1 No keyword with name 'Config Engine' found. 0.074 s Rrdcached-From-Db
BRRDCDRBUDB1 No keyword with name 'Config Engine' found. 0.084 s Rrdcached-From-Db
BRRDCDDM1 No keyword with name 'Config Engine' found. 0.069 s Rrdcached
BRRDCDDID1 No keyword with name 'Config Engine' found. 0.062 s Rrdcached
BRRDCDDMID1 No keyword with name 'Config Engine' found. 0.064 s Rrdcached
BRRDCDDMU1 No keyword with name 'Config Engine' found. 0.068 s Rrdcached
BRRDCDDIDU1 No keyword with name 'Config Engine' found. 0.072 s Rrdcached
BRRDCDDMIDU1 No keyword with name 'Config Engine' found. 0.068 s Rrdcached
BRRDCDRB1 No keyword with name 'Config Engine' found. 0.07 s Rrdcached
BRRDCDRBU1 No keyword with name 'Config Engine' found. 0.082 s Rrdcached
ENRSCHE1 No keyword with name 'Config Engine' found. 0.044 s Scheduler
EBNSG1 No keyword with name 'Config Engine' found. 0.049 s Servicegroups
EBNSGU1 No keyword with name 'Config Engine' found. 0.05 s Servicegroups
EBNSGU2 No keyword with name 'Config Engine' found. 0.094 s Servicegroups
EBBPS1 No keyword with name 'Config Engine' found. 0.072 s Services-And-Bulk-Stmt
EBBPS2 No keyword with name 'Config Engine' found. 0.073 s Services-And-Bulk-Stmt
EBNSVC1 No keyword with name 'Config Engine' found. 0.059 s Services-Increased
EBSNU1 No keyword with name 'Config Engine' found. 0.051 s Services-With-Notes-And-Actions
EBSAU2 No keyword with name 'Config Engine' found. 0.053 s Services-With-Notes-And-Actions
EBSN3 No keyword with name 'Config Engine' found. 0.052 s Services-With-Notes-And-Actions
BESS1 No keyword with name 'Config Engine' found. 0.03 s Start-Stop
BESS2 No keyword with name 'Config Engine' found. 0.035 s Start-Stop
BESS3 No keyword with name 'Config Engine' found. 0.035 s Start-Stop
BESS4 No keyword with name 'Config Engine' found. 0.033 s Start-Stop
BESS5 No keyword with name 'Config Engine' found. 0.033 s Start-Stop
BESS_ENGINE_DELETE_HOST No keyword with name 'Config Engine' found. 0.037 s Start-Stop
BETAG1 No keyword with name 'Config Engine' found. 0.042 s Tags
BETAG2 No keyword with name 'Config Engine' found. 0.043 s Tags
BEUTAG1 No keyword with name 'Config Engine' found. 0.054 s Tags
BEUTAG2 No keyword with name 'Config Engine' found. 0.075 s Tags
BEUTAG3 No keyword with name 'Config Engine' found. 0.055 s Tags
BEUTAG4 No keyword with name 'Config Engine' found. 0.061 s Tags
BEUTAG5 No keyword with name 'Config Engine' found. 0.061 s Tags
BEUTAG6 No keyword with name 'Config Engine' found. 0.067 s Tags
BEUTAG7 No keyword with name 'Config Engine' found. 0.104 s Tags
BEUTAG8 No keyword with name 'Config Engine' found. 0.101 s Tags
BEUTAG9 No keyword with name 'Config Engine' found. 0.096 s Tags
BEUTAG10 No keyword with name 'Config Engine' found. 0.114 s Tags
BEUTAG11 No keyword with name 'Config Engine' found. 0.114 s Tags
BEUTAG12 No keyword with name 'Config Engine' found. 0.075 s Tags
BECT1 No keyword with name 'Config Engine' found. 0.047 s Tls
BECT2 No keyword with name 'Config Engine' found. 0.073 s Tls
BECT3 No keyword with name 'Config Engine' found. 0.061 s Tls
BECT4 No keyword with name 'Config Engine' found. 0.084 s Tls
BECT_GRPC1 No keyword with name 'Config Engine' found. 0.054 s Tls
BECT_GRPC2 No keyword with name 'Config Engine' found. 0.08 s Tls
BECT_GRPC3 No keyword with name 'Config Engine' found. 0.067 s Tls
BECT_GRPC4 No keyword with name 'Config Engine' found. 0.09 s Tls
BECCC1 No keyword with name 'Config Engine' found. 0.027 s Ccc
BECCC2 No keyword with name 'Config Engine' found. 0.049 s Ccc
BECCC3 No keyword with name 'Config Engine' found. 0.05 s Ccc
BECCC4 No keyword with name 'Config Engine' found. 0.049 s Ccc
BECCC5 No keyword with name 'Config Engine' found. 0.049 s Ccc
BECCC6 No keyword with name 'Config Engine' found. 0.049 s Ccc
BECCC7 No keyword with name 'Config Engine' found. 0.049 s Ccc
BECCC8 No keyword with name 'Config Engine' found. 0.048 s Ccc
test use connector perl exist script No keyword with name 'schedule forced host check' found. 0.007 s Connector Perl
test use connector perl unknown script No keyword with name 'schedule forced host check' found. 0.007 s Connector Perl
test use connector perl multiple script No keyword with name 'schedule forced host check' found. 0.007 s Connector Perl
TestBadUser No keyword with name 'schedule forced host check' found. 0.006 s Connector Ssh
TestBadPwd No keyword with name 'schedule forced host check' found. 0.006 s Connector Ssh
Test6Hosts No keyword with name 'schedule forced host check' found. 5.017 s Connector Ssh
EFHC1 No keyword with name 'Config Engine' found. 0.04 s Forced Checks
EFHC2 No keyword with name 'Config Engine' found. 0.041 s Forced Checks
EFHCU1 No keyword with name 'Config Engine' found. 0.066 s Forced Checks
EFHCU2 No keyword with name 'Config Engine' found. 0.058 s Forced Checks
EPC1 No keyword with name 'Config Engine' found. 0.021 s Perl-Connectors
ESS1 No keyword with name 'Config Engine' found. 0.017 s Start-Stop
ESS2 No keyword with name 'Config Engine' found. 0.018 s Start-Stop
ESS3 No keyword with name 'Config Engine' found. 0.018 s Start-Stop
ESS4 No keyword with name 'Config Engine' found. 0.017 s Start-Stop
MIGRATION No keyword with name 'Config Engine' found. 0.083 s Migration
BEUHSEV1 No keyword with name 'Config Engine' found. 0.063 s Hosts
BEUHSEV2 No keyword with name 'Config Engine' found. 0.096 s Hosts
BETUHSEV1 No keyword with name 'Config Engine' found. 0.094 s Hosts
BESEV1 No keyword with name 'Config Engine' found. 0.04 s Severities
BESEV2 No keyword with name 'Config Engine' found. 0.041 s Severities
BEUSEV1 No keyword with name 'Config Engine' found. 0.052 s Severities
BEUSEV2 No keyword with name 'Config Engine' found. 0.052 s Severities
BEUSEV3 No keyword with name 'Config Engine' found. 0.066 s Severities
BEUSEV4 No keyword with name 'Config Engine' found. 0.09 s Severities
BETUSEV1 No keyword with name 'Config Engine' found. 0.087 s Severities

@tuntoja tuntoja merged commit c5d0ede into dev-22.04.x Jan 23, 2023
@tuntoja tuntoja deleted the MON-16454-add-alma-8-to-centreon-collect-nightly-tests-2204 branch January 23, 2023 09:09
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants