Skip to content

Commit 1da2aff

Browse files
committed
Model getters have same annotations as fields (breaks native) (6086)
fix: getters have same annotations as fields Signed-off-by: Marc Nuri <[email protected]> --- generated: update model classes with the annotated getter Signed-off-by: Marc Nuri <[email protected]> --- chore: changelog entry Signed-off-by: Marc Nuri <[email protected]> (cherry picked from commit f650777)
1 parent 34d3744 commit 1da2aff

File tree

872 files changed

+1668
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

872 files changed

+1668
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#### Bugs
66
* Fix #6059: Swallow rejected execution from internal usage of the informer executor
77
* Fix #6068: KubernetesMockServer provides incomplete Configuration while creating test Config for KubernetesClient
8+
* Fix #6085: model getters have same annotations as fields (breaks native)
89

910
### 6.13.0 (2024-05-29)
1011

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEAuthorization.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public ACMEAuthorization(List<ACMEChallenge> challenges, String identifier, Stri
104104
}
105105

106106
@JsonProperty("challenges")
107+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
107108
public List<ACMEChallenge> getChallenges() {
108109
return challenges;
109110
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public void setLabels(Map<String, String> labels) {
108108
}
109109

110110
@JsonProperty("parentRefs")
111+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
111112
public List<ParentReference> getParentRefs() {
112113
return parentRefs;
113114
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01IngressPodSpec.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void setAffinity(Affinity affinity) {
121121
}
122122

123123
@JsonProperty("imagePullSecrets")
124+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
124125
public List<io.fabric8.kubernetes.api.model.LocalObjectReference> getImagePullSecrets() {
125126
return imagePullSecrets;
126127
}
@@ -161,6 +162,7 @@ public void setServiceAccountName(java.lang.String serviceAccountName) {
161162
}
162163

163164
@JsonProperty("tolerations")
165+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
164166
public List<Toleration> getTolerations() {
165167
return tolerations;
166168
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ACMEIssuer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public ACMEIssuer(String caBundle, Boolean disableAccountKeyGeneration, String e
126126
}
127127

128128
@JsonProperty("caBundle")
129+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
129130
public String getCaBundle() {
130131
return caBundle;
131132
}
@@ -216,6 +217,7 @@ public void setSkipTLSVerify(Boolean skipTLSVerify) {
216217
}
217218

218219
@JsonProperty("solvers")
220+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
219221
public List<ACMEChallengeSolver> getSolvers() {
220222
return solvers;
221223
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/CertificateDNSNameSelector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public CertificateDNSNameSelector(List<java.lang.String> dnsNames, List<java.lan
9898
}
9999

100100
@JsonProperty("dnsNames")
101+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
101102
public List<java.lang.String> getDnsNames() {
102103
return dnsNames;
103104
}
@@ -108,6 +109,7 @@ public void setDnsNames(List<java.lang.String> dnsNames) {
108109
}
109110

110111
@JsonProperty("dnsZones")
112+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
111113
public List<java.lang.String> getDnsZones() {
112114
return dnsZones;
113115
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderSpec.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public void setCommonName(String commonName) {
119119
}
120120

121121
@JsonProperty("dnsNames")
122+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
122123
public List<String> getDnsNames() {
123124
return dnsNames;
124125
}
@@ -139,6 +140,7 @@ public void setDuration(Duration duration) {
139140
}
140141

141142
@JsonProperty("ipAddresses")
143+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
142144
public List<String> getIpAddresses() {
143145
return ipAddresses;
144146
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderStatus.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public OrderStatus(List<ACMEAuthorization> authorizations, String certificate, S
113113
}
114114

115115
@JsonProperty("authorizations")
116+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
116117
public List<ACMEAuthorization> getAuthorizations() {
117118
return authorizations;
118119
}
@@ -123,6 +124,7 @@ public void setAuthorizations(List<ACMEAuthorization> authorizations) {
123124
}
124125

125126
@JsonProperty("certificate")
127+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
126128
public String getCertificate() {
127129
return certificate;
128130
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CAIssuer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public CAIssuer(List<String> crlDistributionPoints, List<String> issuingCertific
102102
}
103103

104104
@JsonProperty("crlDistributionPoints")
105+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
105106
public List<String> getCrlDistributionPoints() {
106107
return crlDistributionPoints;
107108
}
@@ -112,6 +113,7 @@ public void setCrlDistributionPoints(List<String> crlDistributionPoints) {
112113
}
113114

114115
@JsonProperty("issuingCertificateURLs")
116+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
115117
public List<String> getIssuingCertificateURLs() {
116118
return issuingCertificateURLs;
117119
}
@@ -122,6 +124,7 @@ public void setIssuingCertificateURLs(List<String> issuingCertificateURLs) {
122124
}
123125

124126
@JsonProperty("ocspServers")
127+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
125128
public List<String> getOcspServers() {
126129
return ocspServers;
127130
}

extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestStatus.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public CertificateRequestStatus(String ca, String certificate, List<CertificateR
102102
}
103103

104104
@JsonProperty("ca")
105+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
105106
public String getCa() {
106107
return ca;
107108
}
@@ -112,6 +113,7 @@ public void setCa(String ca) {
112113
}
113114

114115
@JsonProperty("certificate")
116+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
115117
public String getCertificate() {
116118
return certificate;
117119
}
@@ -122,6 +124,7 @@ public void setCertificate(String certificate) {
122124
}
123125

124126
@JsonProperty("conditions")
127+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
125128
public List<CertificateRequestCondition> getConditions() {
126129
return conditions;
127130
}

0 commit comments

Comments
 (0)