Skip to content

Commit 4253a02

Browse files
committed
Merge branch '2.x'
2 parents 3e55f6b + 803b538 commit 4253a02

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/_DelegatingRootProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected Mono<UriComponents> doGetRoot(String key, ConnectionContext connection
4545
return getInfoPayloadRootProvider().doGetRoot(connectionContext)
4646
.map(uri -> UriComponentsBuilder.fromUriString(uri.toUriString()).pathSegment("v3").build());
4747
} else if ("logging".equals(key)) {
48-
return getInfoPayloadRootProvider().doGetRoot("logging_endpoint", connectionContext);
48+
return getInfoPayloadRootProvider().doGetRoot("doppler_logging_endpoint", connectionContext);
4949
} else if ("routing".equals(key)) {
5050
return getInfoPayloadRootProvider().doGetRoot("routing_endpoint", connectionContext);
5151
} else if ("uaa".equals(key)) {

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/DelegatingRootProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void getRootDopplerClientFallback() {
169169
this.rootProvider
170170
.getRoot("logging", CONNECTION_CONTEXT)
171171
.as(StepVerifier::create)
172-
.expectNext("http://loggregator.vcap.me:80")
172+
.expectNext("http://doppler.vcap.me:80")
173173
.expectComplete()
174174
.verify(Duration.ofSeconds(5));
175175
}

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/client/v2/info/ReactorInfoTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public void get() {
6464
.applicationSshHostKeyFingerprint("47:0d:d1:c8:c3:3d:0a:36:d1:49:2f:f2:90:27:31:d0")
6565
.routingEndpoint("http://localhost:3000")
6666
.loggingEndpoint("ws://loggregator.vcap.me:80")
67+
.dopplerLoggingEndpoint("ws://doppler.vcap.me:80")
6768
.build())
6869
.expectComplete()
6970
.verify(Duration.ofSeconds(5));

cloudfoundry-client-reactor/src/test/resources/fixtures/client/v2/info/GET_response.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"app_ssh_host_key_fingerprint": "47:0d:d1:c8:c3:3d:0a:36:d1:49:2f:f2:90:27:31:d0",
1414
"app_ssh_oauth_client": null,
1515
"routing_endpoint": "http://localhost:3000",
16-
"logging_endpoint": "ws://loggregator.vcap.me:80"
16+
"logging_endpoint": "ws://loggregator.vcap.me:80",
17+
"doppler_logging_endpoint": "ws://doppler.vcap.me:80"
1718
}

0 commit comments

Comments
 (0)