Skip to content

extend discovery of aws apigateways with api-gateway-type - #6375

Open
rmorandell-pgum wants to merge 1 commit into
centreon:developfrom
i-Vertix:enh-cloud-aws-apigateway-discovery
Open

extend discovery of aws apigateways with api-gateway-type#6375
rmorandell-pgum wants to merge 1 commit into
centreon:developfrom
i-Vertix:enh-cloud-aws-apigateway-discovery

Conversation

@rmorandell-pgum

Copy link
Copy Markdown
Contributor

Community contributors

Description

Discovery mode is being expanded to include the API gateway type, which is also used in latency and request modes. Currently, only REST gateways are discovered.

HTTP gateways must be queried in the AWS CLI using the “apigatewayv2” service and the “get-apis” command.

image

The returned JSON is slightly different and includes additional fields.

Attached is a JSON output for testing purposes, which has been anonymized.

The behavior remains the same as before, since REST is specified as the default.

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 ?

response.json

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.

Centreon team (internal PR)

Description

PLEASE MAKE SURE THAT THE BRANCH PR INCLUDES JIRA TICKET ID

Please include a short resume of the changes and what is the purpose of this pull request.
Any relevant information should be added to help reviewers to understand what are the stakes
of the pull request.

Fixes # (issue)
If you are fixing a github Issue already existing, mention it here.
If you are fixing one or more JIRA ticket, mention it here too.

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 ?

Please describe the procedure to verify that the goal of the PR is matched.
Provide clear instructions so that it can be correctly tested.
Mention the automated tests included in this FOR (what they test like mode/option combinations).

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).
  • In case of a new plugin, I have created the new packaging directory accordingly.
  • I have implemented automated tests related to my commits.
    • Data used for automated tests are anonymized.
  • I have reviewed all the help messages in all the .pm files I have modified.
    • All sentences begin with a capital letter.
    • All sentences end with a period.
    • I am able to understand all the help messages, if not, exchange with the PO or TW to rewrite them.
  • After having created the PR, I will make sure that all the tests provided in this PR have run and passed.

@rmorandell-pgum
rmorandell-pgum requested a review from a team as a code owner August 25, 2026 09:38
@rmorandell-pgum
rmorandell-pgum requested review from sdepassio and removed request for a team August 25, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant