Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Poc new update field pollers #8093

Merged
merged 4 commits into from
Nov 7, 2019
Merged

Conversation

victorvassilev
Copy link
Contributor

Pull Request Template

Description

Add a new field to nagios_server table called updated which is a flag if the poller needs to be restarted (configuration changed) or not. This allows us manually to mark a poller as need-restart, for example when Business Activity changes.

Fixes #BAM-766

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

  • 2.8.x
  • 18.10.x
  • 19.04.x
  • 19.10.x
  • 20.04.x (master)

How this pull request can be tested ?

Update Business Activity and check the poller page.

Checklist

Community contributors & Centreon team

  • I 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).

Centreon team only

  • I have made sure that the unit tests related to the story are successful.
  • I have made sure that unit tests cover 80% of the code written for the story.
  • I have made sure that acceptance tests related to the story are successful (local and CI)

@victorvassilev victorvassilev requested review from sc979, lpinsivy, kduret, vhr, loiclau, callapa and Moujimouja and removed request for sc979 November 5, 2019 10:11
@victorvassilev victorvassilev merged commit 9e492d9 into master Nov 7, 2019
@victorvassilev victorvassilev deleted the poc-new-update-field-pollers branch November 7, 2019 09:02
victorvassilev added a commit that referenced this pull request Nov 7, 2019
* enh(core): add flag for needs reset of poller
Part of POC for bam-766

* enh(core): add new updated pollers field to intall sql and repository

* enh(core): update repositories and poller restart to reflect new update field

* update(sql): change sql upgrade version
victorvassilev added a commit that referenced this pull request Nov 7, 2019
* Poc new update field pollers (#8093)

* enh(core): add flag for needs reset of poller
Part of POC for bam-766

* enh(core): add new updated pollers field to intall sql and repository

* enh(core): update repositories and poller restart to reflect new update field

* update(sql): change sql upgrade version

* update(sql): remove new sql file
sc979 pushed a commit that referenced this pull request Nov 25, 2019
* Poc new update field pollers (#8093)

* enh(core): add flag for needs reset of poller
Part of POC for bam-766

* enh(core): add new updated pollers field to intall sql and repository

* enh(core): update repositories and poller restart to reflect new update field

* update(sql): change sql upgrade version

* update(sql): remove new sql file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants