Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Add deferWithContext in RSocket gateway #121

Open
artem-v opened this issue May 14, 2020 · 0 comments
Open

Add deferWithContext in RSocket gateway #121

artem-v opened this issue May 14, 2020 · 0 comments
Assignees

Comments

@artem-v
Copy link
Contributor

artem-v commented May 14, 2020

Subj.

We have a test disabled because of defer context not implemented in rsocket gw:
io.scalecube.services.gateway.rsocket.RSocketLocalGatewayAuthTest#testCallSecuredMethod_authenticated

  @Disabled("https://github.com/scalecube/scalecube-gateway/issues/121")
  void testCallSecuredMethod_authenticated() {
    // authenticate session
    extension.client().requestOne(createSessionReq(ALLOWED_USER), String.class).block(TIMEOUT);
    // call secured service
    final String req = "echo";
    StepVerifier.create(clientService.requestOne(req))
        .expectNextMatches(resp -> resp.equals(ALLOWED_USER + "@" + req))
        .expectComplete()
        .verify();
  }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants