Skip to content

Commit f6f566f

Browse files

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/uaa/serverinformation/ReactorServerInformationTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ void getInfo() {
151151
.showLoginLinks(true)
152152
.timestamp("2017-09-08T23:11:58+0000")
153153
.zoneName("uaa")
154+
.defaultIdpName("test-idp-name")
154155
.build())
155156
.expectComplete()
156157
.verify(Duration.ofSeconds(5));

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@
3030
"One Time Code ( Get one at http://localhost:8080/uaa/passcode )"
3131
]
3232
},
33-
"timestamp": "2017-09-08T23:11:58+0000"
33+
"timestamp": "2017-09-08T23:11:58+0000",
34+
"defaultIdpName": "test-idp-name"
3435
}

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/serverinformation/_GetInfoResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,12 @@ abstract class _GetInfoResponse {
9393
@Nullable
9494
abstract String getZoneName();
9595

96+
/**
97+
* The default identity provider name
98+
*/
99+
@JsonProperty("defaultIdpName")
100+
@Nullable
101+
abstract String getDefaultIdpName();
102+
103+
96104
}

0 commit comments

Comments
 (0)