eclipse-xpanse / xpanse

Enabling configurable and portable native managed cloud services for 3rd party providers
https://eclipse.dev/xpanse/
Apache License 2.0
23 stars 20 forks source link

handle still in-progress requests in getStoredTaskResultByRequestId #2131

Open swaroopar opened 5 days ago

swaroopar commented 5 days ago

Currently getStoredTaskResultByRequestId service returns when terraform result is not found in the filesystem. It assumes that either the response is already returned or the requestId is invalid.

Here, we must also handle a case where the request is still being processed. If the workspace for the requestid is still available, we can assume that the request is still being processed by terraform. In this case,

WangLiNaruto commented 5 days ago

let me do it