api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Null status in deploymentInfo response when deploying an API product

Open Piumal1999 opened this issue 3 months ago • 2 comments

Description

In GET /api-products/{id}/revisions?query=deployed%3Atrue call, the deploymentInfo.status value of the response is null.

Due to this, the auto-fetching functionality of gateway notifier feature is not working with API Products. So the user has to manually refresh the page to see the deployment progress. (The auto fetching frontend logic is written to consider the deploymentInfo.status when fetching)

Steps to Reproduce

  1. Create an API Product
  2. Go to deployments page and click on "Deploy"
  3. Check the response payload of GET /api-products/{id}/revisions?query=deployed%3Atrue network call
Image
  1. deploymentInfo.status is null. (In normal APIs the value of this attribute is APPROVED)

Version

4.6.0

Environment Details (with versions)

No response

Piumal1999 avatar Sep 15 '25 09:09 Piumal1999

⚠️ Note: Revert the change done in https://github.com/wso2/apim-apps/pull/1110/commits/99904b99c99678d4a10893d6d7ad19d31f26226b after this issue is resolved

Piumal1999 avatar Sep 15 '25 09:09 Piumal1999

Keeping this issue open since the backend issue still persists.

HeshanSudarshana avatar Oct 21 '25 06:10 HeshanSudarshana