Expose total groups in rollout json representation in mgmt API (#1330)
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
24b3a45636
commit
bc70d51c94
@@ -41,6 +41,9 @@ public class MgmtRolloutResponseBody extends MgmtNamedEntity {
|
||||
@JsonProperty
|
||||
private Map<String, Long> totalTargetsPerStatus;
|
||||
|
||||
@JsonProperty
|
||||
private Integer totalGroups;
|
||||
|
||||
@JsonProperty
|
||||
private boolean deleted;
|
||||
|
||||
@@ -125,4 +128,12 @@ public class MgmtRolloutResponseBody extends MgmtNamedEntity {
|
||||
public Integer getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setTotalGroups(final Integer totalGroups) {
|
||||
this.totalGroups = totalGroups;
|
||||
}
|
||||
|
||||
public Integer getTotalGroups() {
|
||||
return totalGroups;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user