cloudfoundry-community / stratos

Stratos: Web-based Management UI for Cloud Foundry and Kubernetes
MIT License
2 stars 7 forks source link

Support asynchronous binding operations #26

Open damzog opened 3 months ago

damzog commented 3 months ago

Detailed Description

Binding operation in cloud foundry supports synchronous and asynchronous execution of the operation. Today Stratos UI does not support asynchronous mode and this requirement is about enhancing the UI to support asynchronous mode.

Context

Using asynchronous has many advantages which is why some of our service brokers use it not only for create/delete but also bind/unbind.

The cf cli supports asynchronous bindings already:

cf service my-service
Showing info of service my-service in org my-org / space my-space as myself

name:          some-name
guid:            80e0ebf9-462a-4434-83a7-4456c608350b
type:            managed
broker:          some-broker
offering:        some-offering
plan:            some-plan
tags:            
....
Showing status of last operation:
   status:    update succeeded
   message:   
   started:   2023-10-30T13:37:41Z
   updated:   2023-10-30T13:37:41Z

Showing bound apps:
   name       binding name   status             message
   my-app                  create succeeded   
...

Possible Implementation

Suggested behaviour of the UI

Mock screen see here