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

Fix routing to appropriate CF view after connecting/disconnecting an endpoint #2660

Merged
merged 3 commits into from
Jul 16, 2018

Conversation

irfanhabib
Copy link
Contributor

No description provided.

@cfdreddbot
Copy link

Hey irfanhabib!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@codecov
Copy link

codecov bot commented Jul 6, 2018

Codecov Report

Merging #2660 into v2-master will increase coverage by 0.01%.
The diff coverage is 58.33%.

@@              Coverage Diff              @@
##           v2-master    #2660      +/-   ##
=============================================
+ Coverage      47.93%   47.94%   +0.01%     
=============================================
  Files            597      597              
  Lines          25345    25350       +5     
  Branches        5735     5735              
=============================================
+ Hits           12149    12154       +5     
  Misses         13196    13196


@Injectable()
export class EndpointsEffect {

static connectingKey = 'connecting';
static disconnectingKey = 'disconnecting';
static registeringKey = 'registering';
static EndpointList = 'endpoint-list';
Copy link
Contributor

Choose a reason for hiding this comment

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

We should make this a static on the cloud foundry service and use the same value in both places.

@@ -132,6 +135,12 @@ export class EndpointsEffect {
);
}));

@Effect({dispatch: false}) resetEndpointsList$ = this.actions$.ofType<EndpointActionComplete>(
DISCONNECT_ENDPOINTS_SUCCESS, CONNECT_ENDPOINTS_SUCCESS).pipe(
tap(action => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to do this now that we fixed the service?

@KlapTrap KlapTrap added needs attention This PR needs attention and removed ready for review labels Jul 6, 2018
@irfanhabib irfanhabib added comments-addressed and removed needs attention This PR needs attention labels Jul 6, 2018
@KlapTrap KlapTrap merged commit 487f6ae into v2-master Jul 16, 2018
@nwmac nwmac deleted the fix-cf-delay branch April 10, 2020 11:20
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.

None yet

3 participants