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

Add deferWithContext in RSocket gateway #121

@artem-v

Description

@artem-v

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();
  }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions