Skip to content

Commit eef597c

Browse files
committed
Merge branch 'version-update' into 2.x
2 parents 620b938 + 3052fc0 commit eef597c

File tree

12 files changed

+116
-40
lines changed

12 files changed

+116
-40
lines changed

cloudfoundry-client/src/main/java/org/cloudfoundry/client/CloudFoundryClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public interface CloudFoundryClient {
6868
/**
6969
* The currently supported Cloud Controller API version
7070
*/
71-
String SUPPORTED_API_VERSION = "2.120.0";
71+
String SUPPORTED_API_VERSION = "2.125.0";
7272

7373
/**
7474
* Main entry point to the Cloud Foundry Application Usage Events Client API

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/info/_GetInfoResponse.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@ abstract class _GetInfoResponse {
112112
@Nullable
113113
abstract String getName();
114114

115+
/**
116+
* The version of the supported Open Service Broker API
117+
*/
118+
@JsonProperty("osbapi_version")
119+
@Nullable
120+
abstract String getOsbapiVersion();
121+
115122
/**
116123
* The routing endpoint
117124
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/services/_ServiceEntity.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ abstract class _ServiceEntity {
133133
@Nullable
134134
abstract String getServiceBrokerId();
135135

136+
/**
137+
* The service broker name
138+
*/
139+
@JsonProperty("service_broker_name")
140+
@Nullable
141+
abstract String getServiceBrokerName();
142+
136143
/**
137144
* The service plans url
138145
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/serviceusageevents/_ServiceUsageEventEntity.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ abstract class _ServiceUsageEventEntity {
3535
@Nullable
3636
abstract String getOrganizationId();
3737

38+
/**
39+
* The service broker id
40+
*/
41+
@JsonProperty("service_broker_guid")
42+
@Nullable
43+
abstract String getServiceBrokerId();
44+
45+
/**
46+
* The service broker name
47+
*/
48+
@JsonProperty("service_broker_name")
49+
@Nullable
50+
abstract String getServiceBrokerName();
51+
3852
/**
3953
* The service id
4054
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/ProcessStatistics.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
*/
2727
public abstract class ProcessStatistics {
2828

29+
/**
30+
* Information about errors placing the instance
31+
*/
32+
@JsonProperty("details")
33+
@Nullable
34+
public abstract String getDetails();
35+
2936
/**
3037
* The disk quota
3138
*/
@@ -56,6 +63,13 @@ public abstract class ProcessStatistics {
5663
@JsonProperty("instance_ports")
5764
public abstract List<PortMapping> getInstancePorts();
5865

66+
/**
67+
* The isolation segment
68+
*/
69+
@JsonProperty("isolation_segment")
70+
@Nullable
71+
public abstract String getIsolationSegment();
72+
5973
/**
6074
* The memory quota
6175
*/
@@ -87,12 +101,5 @@ public abstract class ProcessStatistics {
87101
@JsonProperty("usage")
88102
public abstract ProcessUsage getUsage();
89103

90-
/**
91-
* The isolation segment
92-
*/
93-
@JsonProperty("isolation_segment")
94-
@Nullable
95-
abstract String getIsolationSegment();
96-
97104
}
98105

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/identityzones/AbstractIdentityZone.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424
*/
2525
public abstract class AbstractIdentityZone {
2626

27+
/**
28+
* Whether the identity zone is active
29+
*/
30+
@JsonProperty("active")
31+
@Nullable
32+
abstract Boolean getActive();
33+
2734
/**
2835
* The configuration
2936
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/tokens/_GetTokenByAuthorizationCodeResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
/**
@@ -27,6 +28,13 @@
2728
@Value.Immutable
2829
abstract class _GetTokenByAuthorizationCodeResponse extends AbstractToken {
2930

31+
/**
32+
* The OpenId token
33+
*/
34+
@JsonProperty("id_token")
35+
@Nullable
36+
abstract String getOpenIdToken();
37+
3038
/**
3139
* The refresh token
3240
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/tokens/_GetTokenByOneTimePasscodeResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
/**
@@ -27,6 +28,13 @@
2728
@Value.Immutable
2829
abstract class _GetTokenByOneTimePasscodeResponse extends AbstractToken {
2930

31+
/**
32+
* The OpenId token
33+
*/
34+
@JsonProperty("id_token")
35+
@Nullable
36+
abstract String getOpenIdToken();
37+
3038
/**
3139
* The refresh token
3240
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/tokens/_GetTokenByPasswordResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
/**
@@ -27,6 +28,13 @@
2728
@Value.Immutable
2829
abstract class _GetTokenByPasswordResponse extends AbstractToken {
2930

31+
/**
32+
* The OpenId token
33+
*/
34+
@JsonProperty("id_token")
35+
@Nullable
36+
abstract String getOpenIdToken();
37+
3038
/**
3139
* The refresh token
3240
*/

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/tokens/_RefreshTokenResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
/**
@@ -27,6 +28,13 @@
2728
@Value.Immutable
2829
abstract class _RefreshTokenResponse extends AbstractToken {
2930

31+
/**
32+
* The OpenId token
33+
*/
34+
@JsonProperty("id_token")
35+
@Nullable
36+
abstract String getOpenIdToken();
37+
3038
/**
3139
* The refresh token
3240
*/

0 commit comments

Comments
 (0)