Skip to content

Implement query parameter filtering for ListWebBrokerApis endpoint #1967

Description

@coderabbitai

Summary

The ListWebBrokerApis handler (gateway/gateway-controller/pkg/api/handlers/webbroker_api_handler.go) currently accepts query parameters displayName, version, and status (via api.ListWebBrokerApisParams) but ignores them, always returning all WebBrokerApi configurations.

A TODO comment in the code already documents this gap.

Expected Behavior

When the caller provides any of the following query parameters, the response should be filtered accordingly:

  • displayName — filter by display name (case-insensitive string match)
  • version — filter by version (exact or case-insensitive match)
  • status — filter by deployment state (e.g., Deployed / Undeployed)

References

Requested by

@senthuran16

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions