Skip to content

Commit adfedde

Browse files
committed
WIP on updated cluster RC
1 parent a8509aa commit adfedde

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

services-api/src/main/java/io/scalecube/services/ServiceEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public ServiceEndpoint() {}
3737

3838
private ServiceEndpoint(Builder builder) {
3939
this.id = Objects.requireNonNull(builder.id);
40-
this.address = Objects.requireNonNull(builder.address);
40+
this.address = builder.address;
4141
this.contentTypes = Collections.unmodifiableSet(new HashSet<>(builder.contentTypes));
4242
this.tags = Collections.unmodifiableMap(new HashMap<>(builder.tags));
4343
this.serviceRegistrations =

services-discovery/src/test/java/io/scalecube/services/discovery/ScalecubeServiceDiscoveryTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,7 @@ public void testEndpointIsRestarted() {
143143
}
144144

145145
public static ServiceEndpoint newServiceEndpoint() {
146-
return ServiceEndpoint.builder()
147-
.id("" + ID_COUNTER.incrementAndGet())
148-
.address(Address.from("localhost:80"))
149-
.build();
146+
return ServiceEndpoint.builder().id("" + ID_COUNTER.incrementAndGet()).build();
150147
}
151148

152149
private Mono<ServiceDiscovery> newServiceDiscovery(Address seedAddress) {

services-transport-parent/services-transport-rsocket/pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,6 @@
3838
<groupId>io.projectreactor.netty</groupId>
3939
<artifactId>reactor-netty</artifactId>
4040
</dependency>
41-
42-
<dependency>
43-
<groupId>com.fasterxml.jackson.core</groupId>
44-
<artifactId>jackson-core</artifactId>
45-
</dependency>
46-
<dependency>
47-
<groupId>com.fasterxml.jackson.core</groupId>
48-
<artifactId>jackson-databind</artifactId>
49-
</dependency>
50-
<dependency>
51-
<groupId>com.fasterxml.jackson.datatype</groupId>
52-
<artifactId>jackson-datatype-jsr310</artifactId>
53-
</dependency>
5441
</dependencies>
5542

5643
</project>

0 commit comments

Comments
 (0)