Skip to content

Commit e51f9c8

Browse files
committed
build(codegen): updating SDK
1 parent 07de7df commit e51f9c8

File tree

13 files changed

+37
-27
lines changed

13 files changed

+37
-27
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
package com.commercetools.http.apachehttp;
33

4-
import com.fasterxml.jackson.core.Version;
54
import com.vdurmont.semver4j.Semver;
5+
66
import org.assertj.core.api.Assertions;
77
import org.junit.jupiter.api.Test;
88

@@ -11,7 +11,8 @@ public class SolutionInfoTest {
1111
public void version() {
1212
String version = new ApacheHttpClientSolutionInfo().getVersion();
1313

14-
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("5.4.1"))).isGreaterThanOrEqualTo(0);
14+
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("5.4.1")))
15+
.isGreaterThanOrEqualTo(0);
1516
Assertions.assertThat(version).startsWith("5.");
1617
}
1718
}

commercetools/commercetools-async-http-client/src/test/java/com/commercetools/http/asynchttpclient/SolutionInfoTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
package com.commercetools.http.asynchttpclient;
33

44
import com.commercetools.http.asynchttp.AsyncHttpClientSolutionInfo;
5-
65
import com.vdurmont.semver4j.Semver;
6+
77
import org.assertj.core.api.Assertions;
88
import org.junit.jupiter.api.Test;
99

@@ -12,7 +12,8 @@ public class SolutionInfoTest {
1212
public void version() {
1313
String version = new AsyncHttpClientSolutionInfo().getVersion();
1414

15-
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("2.12.0"))).isGreaterThanOrEqualTo(0);
15+
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("2.12.0")))
16+
.isGreaterThanOrEqualTo(0);
1617
Assertions.assertThat(version).startsWith("2.");
1718
}
1819
}

commercetools/commercetools-okhttp-client3/src/test/java/com/commercetools/http/okhttp3/SolutionInfoTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package com.commercetools.http.okhttp3;
33

44
import com.vdurmont.semver4j.Semver;
5+
56
import org.assertj.core.api.Assertions;
67
import org.junit.jupiter.api.Test;
78

@@ -10,7 +11,8 @@ public class SolutionInfoTest {
1011
public void version() {
1112
String version = new OkHttpClientSolutionInfo().getVersion();
1213

13-
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("3.14.0"))).isGreaterThanOrEqualTo(0);
14+
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("3.14.0")))
15+
.isGreaterThanOrEqualTo(0);
1416
Assertions.assertThat(version).startsWith("3.");
1517
}
1618
}

commercetools/commercetools-okhttp-client4/src/test/java/com/commercetools/http/okhttp4/SolutionInfoTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package com.commercetools.http.okhttp4;
33

44
import com.vdurmont.semver4j.Semver;
5+
56
import org.assertj.core.api.Assertions;
67
import org.junit.jupiter.api.Test;
78

@@ -10,7 +11,8 @@ public class SolutionInfoTest {
1011
public void version() {
1112
String version = new OkHttpClientSolutionInfo().getVersion();
1213

13-
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("4.12.0"))).isGreaterThanOrEqualTo(0);
14+
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("4.12.0")))
15+
.isGreaterThanOrEqualTo(0);
1416
Assertions.assertThat(version).startsWith("4.");
1517
}
1618
}

commercetools/commercetools-reactornetty-client/src/test/java/com/commercetools/http/netty/SolutionInfoTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package com.commercetools.http.netty;
33

44
import com.vdurmont.semver4j.Semver;
5+
56
import org.assertj.core.api.Assertions;
67
import org.junit.jupiter.api.Test;
78

@@ -10,7 +11,8 @@ public class SolutionInfoTest {
1011
public void version() {
1112
String version = new NettyHttpClientSolutionInfo().getVersion();
1213

13-
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("1.2.0"))).isGreaterThanOrEqualTo(0);
14+
Assertions.assertThat(new Semver(version, Semver.SemverType.LOOSE).compareTo(new Semver("1.2.0")))
15+
.isGreaterThanOrEqualTo(0);
1416
Assertions.assertThat(version).startsWith("1.");
1517
}
1618
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,30 @@ public interface ApprovalRuleKeySetMessage extends Message {
4242
String APPROVAL_RULE_KEY_SET = "ApprovalRuleKeySet";
4343

4444
/**
45-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
45+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
4646
* @return key
4747
*/
4848

4949
@JsonProperty("key")
5050
public String getKey();
5151

5252
/**
53-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
53+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
5454
* @return oldKey
5555
*/
5656

5757
@JsonProperty("oldKey")
5858
public String getOldKey();
5959

6060
/**
61-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
61+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
6262
* @param key value to be set
6363
*/
6464

6565
public void setKey(final String key);
6666

6767
/**
68-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
68+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
6969
* @param oldKey value to be set
7070
*/
7171

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public ApprovalRuleKeySetMessageBuilder resourceUserProvidedIdentifiers(
260260
}
261261

262262
/**
263-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
263+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
264264
* @param key value to be set
265265
* @return Builder
266266
*/
@@ -271,7 +271,7 @@ public ApprovalRuleKeySetMessageBuilder key(@Nullable final String key) {
271271
}
272272

273273
/**
274-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
274+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
275275
* @param oldKey value to be set
276276
* @return Builder
277277
*/
@@ -375,7 +375,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU
375375
}
376376

377377
/**
378-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
378+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
379379
* @return key
380380
*/
381381

@@ -385,7 +385,7 @@ public String getKey() {
385385
}
386386

387387
/**
388-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
388+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
389389
* @return oldKey
390390
*/
391391

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,15 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU
173173
}
174174

175175
/**
176-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
176+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
177177
*/
178178

179179
public String getKey() {
180180
return this.key;
181181
}
182182

183183
/**
184-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
184+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
185185
*/
186186

187187
public String getOldKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayload.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ public interface ApprovalRuleKeySetMessagePayload extends MessagePayload {
3535
String APPROVAL_RULE_KEY_SET = "ApprovalRuleKeySet";
3636

3737
/**
38-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
38+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
3939
* @return key
4040
*/
4141

4242
@JsonProperty("key")
4343
public String getKey();
4444

4545
/**
46-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
46+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
4747
* @return oldKey
4848
*/
4949

5050
@JsonProperty("oldKey")
5151
public String getOldKey();
5252

5353
/**
54-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
54+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
5555
* @param key value to be set
5656
*/
5757

5858
public void setKey(final String key);
5959

6060
/**
61-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
61+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
6262
* @param oldKey value to be set
6363
*/
6464

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayloadBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ApprovalRuleKeySetMessagePayloadBuilder implements Builder<Approval
2929
private String oldKey;
3030

3131
/**
32-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
32+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
3333
* @param key value to be set
3434
* @return Builder
3535
*/
@@ -40,7 +40,7 @@ public ApprovalRuleKeySetMessagePayloadBuilder key(@Nullable final String key) {
4040
}
4141

4242
/**
43-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
43+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
4444
* @param oldKey value to be set
4545
* @return Builder
4646
*/
@@ -51,7 +51,7 @@ public ApprovalRuleKeySetMessagePayloadBuilder oldKey(@Nullable final String old
5151
}
5252

5353
/**
54-
* <p>Description of the ApprovalRule after the Set Key update action.</p>
54+
* <p><code>key</code> value of the ApprovalRule after the Set Key update action.</p>
5555
* @return key
5656
*/
5757

@@ -61,7 +61,7 @@ public String getKey() {
6161
}
6262

6363
/**
64-
* <p>Description of the ApprovalRule before the Set Key update action.</p>
64+
* <p><code>key</code> value of the ApprovalRule before the Set Key update action.</p>
6565
* @return oldKey
6666
*/
6767

0 commit comments

Comments
 (0)