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

fix(resources): default values correctly sent to ack endpoint #11022

Merged
merged 5 commits into from
Apr 25, 2022

Conversation

adr-mo
Copy link
Contributor

@adr-mo adr-mo commented Apr 25, 2022

Description

This PR fixes issues with Aknowledgements and default values provided to the endpoint on Resource Status.

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

  • 20.10.x
  • 21.04.x
  • 21.10.x
  • 22.04.x (master)

How this pull request can be tested ?

See Jira ticket

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

@adr-mo adr-mo requested review from a team, jdelpierre, Jordan91, a-launois and TamazC and removed request for a team April 25, 2022 14:23
@adr-mo adr-mo changed the title Mon 13072 fix(resources): default values correctly sent to ack endpoint Apr 25, 2022
@sonarqube-decoration
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@adr-mo adr-mo merged commit 5dd28cf into dev-21.04.x Apr 25, 2022
@adr-mo adr-mo deleted the MON-13072 branch April 25, 2022 19:23
adr-mo added a commit that referenced this pull request Apr 26, 2022
* fix(ack): do not use hardcoded values for persistent and sticky options

* Fix naming on persistent prop

* Fix naming on sticky option for ACK

* Fix unit test for Actions on ACK

* Remove timeout in unit test

Co-authored-by: Jordan CARO <jcaro@centreon.com>
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.

5 participants