File tree 2 files changed +3
-3
lines changed
services-gateway/src/test/java/io/scalecube/services/gateway
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ public interface SecuredService {
19
19
@ RequestType (String .class )
20
20
Mono <String > createSession (ServiceMessage request );
21
21
22
+ @ Secured
22
23
@ ServiceMethod
23
24
@ RequestType (String .class )
24
- @ Secured
25
25
Mono <String > requestOne (String req );
26
26
27
+ @ Secured
27
28
@ ServiceMethod
28
29
@ RequestType (Integer .class )
29
- @ Secured
30
30
Flux <String > requestN (Integer req );
31
31
}
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ void securedMethodAuthenticatedReqStream() {
175
175
176
176
private static ServiceMessage createSessionRequest (String username ) {
177
177
return ServiceMessage .builder ()
178
- .qualifier ("/" + SecuredService .NAMESPACE + "/createSession" )
178
+ .qualifier (SecuredService .NAMESPACE + "/createSession" )
179
179
.data (username )
180
180
.build ();
181
181
}
You can’t perform that action at this time.
0 commit comments