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
Summary
The
ListWebBrokerApishandler (gateway/gateway-controller/pkg/api/handlers/webbroker_api_handler.go) currently accepts query parametersdisplayName,version, andstatus(viaapi.ListWebBrokerApisParams) but ignores them, always returning all WebBrokerApi configurations.A
TODOcomment 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