File tree 29 files changed +307
-355
lines changed
src/test/java/io/scalecube/services
src/main/java/io/scalecube/services/routing
main/java/io/scalecube/services/gateway/http
test/java/io/scalecube/services/gateway
services-transport-parent
services-transport-jackson
services-transport-rsocket
29 files changed +307
-355
lines changed Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<artifactId >scalecube-services-parent</artifactId >
12
- <version >2.12.4 -SNAPSHOT</version >
12
+ <version >2.12.5 -SNAPSHOT</version >
13
13
<packaging >pom</packaging >
14
14
<name >ScaleCube-Services</name >
15
15
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >io.scalecube</groupId >
8
8
<artifactId >scalecube-services-parent</artifactId >
9
- <version >2.12.4 -SNAPSHOT</version >
9
+ <version >2.12.5 -SNAPSHOT</version >
10
10
</parent >
11
11
12
12
<artifactId >scalecube-services-api</artifactId >
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- package io .scalecube .services .gateway . client ;
1
+ package io .scalecube .services .routing ;
2
2
3
3
import io .scalecube .services .Address ;
4
4
import io .scalecube .services .ServiceEndpoint ;
7
7
import io .scalecube .services .ServiceRegistration ;
8
8
import io .scalecube .services .api .ServiceMessage ;
9
9
import io .scalecube .services .registry .api .ServiceRegistry ;
10
- import io .scalecube .services .routing .Router ;
11
10
import java .util .Collections ;
12
11
import java .util .Optional ;
13
12
import java .util .UUID ;
16
15
* Syntethic router for returning pre-constructed {@link ServiceReference} instance with given
17
16
* address.
18
17
*/
19
- public final class StaticAddressRouter implements Router {
18
+ public class StaticAddressRouter implements Router {
20
19
21
20
private final ServiceReference serviceReference ;
22
21
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >io.scalecube</groupId >
6
6
<artifactId >scalecube-services-parent</artifactId >
7
- <version >2.12.4 -SNAPSHOT</version >
7
+ <version >2.12.5 -SNAPSHOT</version >
8
8
</parent >
9
9
10
10
<artifactId >scalecube-services-discovery</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.scalecube</groupId >
7
7
<artifactId >scalecube-services-parent</artifactId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >scalecube-services-examples</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.scalecube</groupId >
7
7
<artifactId >scalecube-services-parent</artifactId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >scalecube-services-gateway</artifactId >
Original file line number Diff line number Diff line change 21
21
import io .scalecube .services .exceptions .ServiceException ;
22
22
import io .scalecube .services .exceptions .ServiceProviderErrorMapper ;
23
23
import io .scalecube .services .gateway .ReferenceCountUtil ;
24
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
25
24
import io .scalecube .services .registry .api .ServiceRegistry ;
25
+ import io .scalecube .services .routing .StaticAddressRouter ;
26
26
import io .scalecube .services .transport .api .DataCodec ;
27
27
import java .util .List ;
28
28
import java .util .function .BiFunction ;
Original file line number Diff line number Diff line change 20
20
import io .scalecube .services .exceptions .InternalServiceException ;
21
21
import io .scalecube .services .exceptions .ServiceUnavailableException ;
22
22
import io .scalecube .services .files .FileServiceImpl ;
23
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
24
23
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
25
24
import io .scalecube .services .gateway .http .HttpGateway ;
26
25
import io .scalecube .services .gateway .websocket .WebsocketGateway ;
26
+ import io .scalecube .services .routing .StaticAddressRouter ;
27
27
import io .scalecube .services .transport .api .ServiceTransport .CredentialsSupplier ;
28
28
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
29
29
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
Original file line number Diff line number Diff line change 9
9
import io .scalecube .services .annotations .Service ;
10
10
import io .scalecube .services .annotations .ServiceMethod ;
11
11
import io .scalecube .services .discovery .ScalecubeServiceDiscovery ;
12
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
13
12
import io .scalecube .services .gateway .client .http .HttpGatewayClientTransport ;
13
+ import io .scalecube .services .routing .StaticAddressRouter ;
14
14
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
15
15
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
16
16
import java .io .IOException ;
Original file line number Diff line number Diff line change 20
20
import io .scalecube .services .gateway .ErrorService ;
21
21
import io .scalecube .services .gateway .ErrorServiceImpl ;
22
22
import io .scalecube .services .gateway .SomeException ;
23
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
24
23
import io .scalecube .services .gateway .client .http .HttpGatewayClientTransport ;
24
+ import io .scalecube .services .routing .StaticAddressRouter ;
25
25
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
26
26
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
27
27
import java .time .Duration ;
Original file line number Diff line number Diff line change 19
19
import io .scalecube .services .gateway .ErrorService ;
20
20
import io .scalecube .services .gateway .ErrorServiceImpl ;
21
21
import io .scalecube .services .gateway .SomeException ;
22
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
23
22
import io .scalecube .services .gateway .client .http .HttpGatewayClientTransport ;
23
+ import io .scalecube .services .routing .StaticAddressRouter ;
24
24
import java .time .Duration ;
25
25
import org .junit .jupiter .api .AfterAll ;
26
26
import org .junit .jupiter .api .AfterEach ;
Original file line number Diff line number Diff line change 19
19
import io .scalecube .services .discovery .ScalecubeServiceDiscovery ;
20
20
import io .scalecube .services .examples .GreetingServiceImpl ;
21
21
import io .scalecube .services .exceptions .ServiceUnavailableException ;
22
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
23
22
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport .Builder ;
24
23
import io .scalecube .services .gateway .http .HttpGateway ;
25
24
import io .scalecube .services .gateway .websocket .WebsocketGateway ;
25
+ import io .scalecube .services .routing .StaticAddressRouter ;
26
26
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
27
27
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
28
28
import java .net .URI ;
Original file line number Diff line number Diff line change 10
10
import io .scalecube .services .Microservices .Context ;
11
11
import io .scalecube .services .ServiceCall ;
12
12
import io .scalecube .services .discovery .ScalecubeServiceDiscovery ;
13
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
14
13
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
14
+ import io .scalecube .services .routing .StaticAddressRouter ;
15
15
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
16
16
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
17
17
import java .io .IOException ;
Original file line number Diff line number Diff line change 13
13
import io .scalecube .services .gateway .ErrorService ;
14
14
import io .scalecube .services .gateway .ErrorServiceImpl ;
15
15
import io .scalecube .services .gateway .SomeException ;
16
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
17
16
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
17
+ import io .scalecube .services .routing .StaticAddressRouter ;
18
18
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
19
19
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
20
20
import java .time .Duration ;
Original file line number Diff line number Diff line change 14
14
import io .scalecube .services .gateway .AuthRegistry ;
15
15
import io .scalecube .services .gateway .SecuredService ;
16
16
import io .scalecube .services .gateway .SecuredServiceImpl ;
17
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
18
17
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
18
+ import io .scalecube .services .routing .StaticAddressRouter ;
19
19
import java .time .Duration ;
20
20
import java .util .Collections ;
21
21
import java .util .HashSet ;
Original file line number Diff line number Diff line change 21
21
import io .scalecube .services .gateway .ErrorService ;
22
22
import io .scalecube .services .gateway .ErrorServiceImpl ;
23
23
import io .scalecube .services .gateway .SomeException ;
24
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
25
24
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
25
+ import io .scalecube .services .routing .StaticAddressRouter ;
26
26
import io .scalecube .services .transport .rsocket .RSocketServiceTransport ;
27
27
import io .scalecube .transport .netty .websocket .WebsocketTransportFactory ;
28
28
import java .time .Duration ;
Original file line number Diff line number Diff line change 20
20
import io .scalecube .services .gateway .ErrorService ;
21
21
import io .scalecube .services .gateway .ErrorServiceImpl ;
22
22
import io .scalecube .services .gateway .SomeException ;
23
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
24
23
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
24
+ import io .scalecube .services .routing .StaticAddressRouter ;
25
25
import java .time .Duration ;
26
26
import java .util .List ;
27
27
import java .util .stream .Collectors ;
Original file line number Diff line number Diff line change 6
6
import io .scalecube .services .ServiceCall ;
7
7
import io .scalecube .services .annotations .Service ;
8
8
import io .scalecube .services .annotations .ServiceMethod ;
9
- import io .scalecube .services .gateway .client .StaticAddressRouter ;
10
9
import io .scalecube .services .gateway .client .websocket .WebsocketGatewayClientTransport ;
10
+ import io .scalecube .services .routing .StaticAddressRouter ;
11
11
import java .time .Duration ;
12
12
import java .util .stream .Collectors ;
13
13
import java .util .stream .IntStream ;
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.scalecube</groupId >
7
7
<artifactId >scalecube-services-parent</artifactId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >scalecube-services-security</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.scalecube</groupId >
7
7
<artifactId >scalecube-services-parent</artifactId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >services-testlib</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.scalecube</groupId >
7
7
<artifactId >scalecube-services-parent</artifactId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >scalecube-services-transport-parent</artifactId >
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >io.scalecube</groupId >
6
6
<artifactId >scalecube-services-transport-parent</artifactId >
7
- <version >2.12.4 -SNAPSHOT</version >
7
+ <version >2.12.5 -SNAPSHOT</version >
8
8
</parent >
9
9
10
10
<artifactId >scalecube-services-transport-jackson</artifactId >
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >io.scalecube</groupId >
6
6
<artifactId >scalecube-services-transport-parent</artifactId >
7
- <version >2.12.4 -SNAPSHOT</version >
7
+ <version >2.12.5 -SNAPSHOT</version >
8
8
</parent >
9
9
10
10
<artifactId >scalecube-services-transport-rsocket</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >scalecube-services-parent</artifactId >
7
7
<groupId >io.scalecube</groupId >
8
- <version >2.12.4 -SNAPSHOT</version >
8
+ <version >2.12.5 -SNAPSHOT</version >
9
9
</parent >
10
10
11
11
<artifactId >scalecube-services</artifactId >
You can’t perform that action at this time.
0 commit comments