Skip to content

feat(apps::thales::mistral::vs9::restapi): api compatibility 9.2.4.18 #6080

Open
garnier-quentin wants to merge 26 commits intocentreon:developfrom
garnier-quentin:CTOR-2194-thales-mistral
Open

feat(apps::thales::mistral::vs9::restapi): api compatibility 9.2.4.18 #6080
garnier-quentin wants to merge 26 commits intocentreon:developfrom
garnier-quentin:CTOR-2194-thales-mistral

Conversation

@garnier-quentin
Copy link
Copy Markdown
Contributor

@garnier-quentin garnier-quentin commented Mar 30, 2026

Community contributors

Description

Add compatibility with API version 9.2.4.18

CTOR-2194

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

How this pull request can be tested ?

$ perl centreon_plugins.pl --plugin=apps::thales::mistral::vs9::restapi::plugin --hostname=172.16.3.172 --port=8443 --api-username=mmc_admin --api-password=MistralAdmin_vs9 --statefile-dir=/tmp --verbose --insecure --mode=discovery

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (develop).
  • I have provide data or shown output displaying the result of this code in the plugin area concerned.

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

⚡ Enhancements

  • Added API version detection and cached API version on login.
  • Changed token retrieval to request and store /api/version information.
  • Adapted certificate fetching to handle new response shape and arrays.
  • Updated discovery to handle removed fields and fetch gateway details.
  • Extended MMC cluster checks to include state and normalize statuses.
  • Added minimal_api_version helper and imported misc utility for compatibility.

More info

@garnier-quentin garnier-quentin requested a review from a team as a code owner March 30, 2026 07:22
@lucie-tirand lucie-tirand added the enhancement Enhance existing label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants