Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix long running service actions #4049

Merged
merged 15 commits into from
Jan 6, 2020
Merged

Conversation

richard-cox
Copy link
Contributor

- sometimes these are fetched inline which aren't sorted
- Some brokers take a long time to execute create, update and delete service instance operations
- This time exceeded the amount allowed by browser/jetstream
- We now provide a custom response to the front end when this happens
- Front end then handles this and also shows a custom error message
@richard-cox richard-cox self-assigned this Dec 5, 2019
@richard-cox richard-cox changed the base branch from v2-master to master December 5, 2019 16:03
@richard-cox richard-cox changed the base branch from master to v2-master December 5, 2019 16:03
- Use a common way to get a service name, service link, broker name
- Split out cf specific long running functionality
- Show service as a link in app service instance card
- Show service plan and broker in app service instance card
- Update the service instance entity on Update as well as Delete
  (will show a better 'last operation' value)
@nwmac nwmac removed the blocked-pr label Dec 13, 2019
@codecov-io
Copy link

Codecov Report

Merging #4049 into v2-master will decrease coverage by <.01%.
The diff coverage is 36.88%.

@@              Coverage Diff              @@
##           v2-master    #4049      +/-   ##
=============================================
- Coverage      52.21%   52.21%   -0.01%     
=============================================
  Files            787      790       +3     
  Lines          23080    23131      +51     
  Branches        4128     4133       +5     
=============================================
+ Hits           12051    12077      +26     
- Misses         11029    11054      +25

@nwmac nwmac merged commit 4ac93db into v2-master Jan 6, 2020
@nwmac nwmac deleted the fix-long-running-service-actions branch January 6, 2020 13:17
nwmac added a commit that referenced this pull request Jan 24, 2020
* Follow redirect - needed for repo move

* Update metric used for cells (#4009)

- `firehose_value_metric_rep_unhealthy_cell` deprecated, now use `firehose_value_metric_rep_garden_health_check_failed`
- Try new metric first and fall back on old

* Fix incorrect SSO behaviour following 2.4.0 --> 2.6.0 upgrade (#4015)

- affects db migration of console config table to new config table
- fixes #4013

* 2.6.1 Release preparation

* Ingress fix (#4024)

* Fixes ingress and kube 1.16 version issue

* Update Changelog

* More test

* Fix ingress tests

* Mention STRATOS_BP_DEBUG to troubleshoot staging (#4039)

* Backend changs to support long-running requests

* Fix helm chart issue with semver (#4046)

* Show last operation and service broker info for service instances (#4038)

* Show more service instance last operation details

* Show service instance service broker

* Handle last operation & broker in table view

* Show the service broker name in the service list service card

* Fix create service instance from service instance page

* Fix unit tests

* Fix failing e2e test

* Fix chrome driver version (#4078)

* Fix long running service actions (#4049)

* Show more service instance last operation details

* Show service instance service broker

* Handle last operation & broker in table view

* Show the service broker name in the service list service card

* Fix create service instance from service instance page

* Fix unit tests

* Ensure service plans are sorted by display name
- sometimes these are fetched inline which aren't sorted

* Handle Long Running Service Instance Operations
- Some brokers take a long time to execute create, update and delete service instance operations
- This time exceeded the amount allowed by browser/jetstream
- We now provide a custom response to the front end when this happens
- Front end then handles this and also shows a custom error message

* Changes and tidy up post review
- Use a common way to get a service name, service link, broker name
- Split out cf specific long running functionality
- Show service as a link in app service instance card
- Show service plan and broker in app service instance card
- Update the service instance entity on Update as well as Delete
  (will show a better 'last operation' value)

* Fix failing unit tests

* Fix failing e2e test

* Fix bad merge

* Fixes following merge

* Fix table cell active/bindable icons

* Remove incorrectly merged file

* Fix message for long running delete service instance

* Fix service market place list bug where user provided services didn't show

* Remove dupe file

Co-authored-by: Neil MacDougall <nwmac@users.noreply.github.com>
Co-authored-by: Guillaume Berche <guillaume.berche@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants