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

Backport of feat: include nodes count in operator usage endpoint and cli command into release/1.16.x #18012

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #17939 to be assessed for backporting due to the inclusion of the label backport/1.16.

The below text is copied from the body of the original PR.


Description

Enhances the operator/usage API endpoint and the corresponding CLI command to include node count in the output.

Testing & Reproduction steps

Tested in dev mode

API

Screenshot 2023-06-28 at 4 26 37 PM

CLI
Screenshot 2023-06-29 at 4 36 50 PM

Links

API doc: https://developer.hashicorp.com/consul/api-docs/operator/usage

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core requested a review from a team as a code owner July 5, 2023 15:23
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-3491/nodes-usgae-endpoint/safely-smiling-crow branch from 81fd7a7 to 6433515 Compare July 5, 2023 15:23
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-3491/nodes-usgae-endpoint/safely-smiling-crow branch 2 times, most recently from 49e669f to d40e4ec Compare July 5, 2023 15:23
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) July 5, 2023 15:23
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@github-actions github-actions bot added type/docs Documentation needs to be created/updated/clarified theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI interface labels Jul 5, 2023
@hc-github-team-consul-core hc-github-team-consul-core merged commit 8c5f374 into release/1.16.x Jul 5, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/NET-3491/nodes-usgae-endpoint/safely-smiling-crow branch July 5, 2023 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI interface type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants