Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Add a routes list to the CF tabs, Routes Refactor & Route Bug Fixes #3292

Merged
merged 10 commits into from
Jan 10, 2019

Conversation

richard-cox
Copy link
Contributor

@richard-cox richard-cox commented Dec 20, 2018

Blocked on #3212

  • Add a routes list to the cf tabs
  • Refactor route list config services and data sources
    • Create core cf route config & data source classes. Everything will extend these
    • Create app config & data source. All route lists specific to an app will extend these
    • Update all routes list given the above
    • This means some tables have updated features
      • additional columns
      • sort by url (not by host) in all non-local
      • search by url
  • Fix delete app stepper routes table - routes mapped to other apps should not be deletable
  • Add permissions to app route tab unmap action
  • Show subtle boolean indicator for is tcp route column
  • Improve error messages when unmapping a route with multiple mapped apps (so not app routes table)
  • Fixed issue where we spammed mapped app request
    • Refresh console while in create/map route stepper, switch to map existing and we previously make 1 request per route in a space. This could be a huge amount
    • We now fetch the list fresh each time
  • fixes Provide a way to easily find a route and it's attached applications #3119

- Add a routes list to the cf tabs
- Refactor route list config services and data sources
  - Create core cf route config & data source classes. Everything will extend these
  - Create app config & data source. All route lists specific to an app will extend these
  - Update all routes list given teh above
  - This means some tables have updated features
     - additional columns
     - sort by url (not by host) in all non-local
     - search by url
- Fix delete app stepper routes table - routes mapped to other apps should not be deletable
- Add permissions to app route tab unmap action
- Show subtle boolean indicator for is tcp route column
- Improve error messages when unmapping a route with multiple mapped apps (so not app routes table)
@cfdreddbot
Copy link

✅ Hey richard-cox! The commit authors and yourself have already signed the CLA.

- Code Climate fixes
- Move list setup stuff out from ctor to own function
- Fix spamming of route apps requests on map existing route list in create route stepper
- unmap on app routes page now works correctly
- unmap on space routes page now shouldn't fire spurious action
- setupList fix
@codecov
Copy link

codecov bot commented Dec 21, 2018

Codecov Report

Merging #3292 into v2-master will increase coverage by 0.14%.
The diff coverage is 74.57%.

@@              Coverage Diff              @@
##           v2-master    #3292      +/-   ##
=============================================
+ Coverage      70.87%   71.01%   +0.14%     
=============================================
  Files            654      658       +4     
  Lines          28959    29046      +87     
  Branches        6581     6633      +52     
=============================================
+ Hits           20525    20628     +103     
+ Misses          8434     8418      -16

@nwmac nwmac changed the base branch from v2-master to 2.0.0-base January 10, 2019 11:02
@nwmac nwmac changed the base branch from 2.0.0-base to v2-master January 10, 2019 11:02
Copy link
Contributor

@nwmac nwmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nwmac nwmac merged commit f134307 into v2-master Jan 10, 2019
@nwmac nwmac deleted the cf-routes-tab branch January 10, 2019 13:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a way to easily find a route and it's attached applications
3 participants