Skip to content

Commit cb2b1f8

Browse files
feat(api): Updated java-sdk to adopt Code Engine API specification changes
1 parent 802cd1a commit cb2b1f8

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Build Status](https://travis-ci.com/IBM/code-engine-java-sdk.svg?branch=main)](https://travis-ci.com/IBM/code-engine-java-sdk)
22
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
33

4-
# IBM Cloud Code Engine Java SDK Version 4.28.2
4+
# IBM Cloud Code Engine Java SDK Version 4.28.3
55

66
Java client library to interact with the [Code Engine API](https://cloud.ibm.com/apidocs/codeengine).
77

@@ -39,7 +39,7 @@ The IBM Cloud Code Engine Java SDK allows developers to programmatically interac
3939

4040
Service Name | Artifact Coordinates
4141
--- | ---
42-
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.0) | com.ibm.cloud.code-engine:4.28.2
42+
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.0) | com.ibm.cloud.code-engine:4.28.3
4343

4444
## Prerequisites
4545

@@ -51,7 +51,7 @@ Service Name | Artifact Coordinates
5151

5252
## Installation
5353

54-
The current version of this SDK is: 4.28.2
54+
The current version of this SDK is: 4.28.3
5555

5656
Each service's artifact coordinates are listed in the table above.
5757

@@ -70,14 +70,14 @@ Here are examples for maven and gradle:
7070
<dependency>
7171
<groupId>com.ibm.cloud</groupId>
7272
<artifactId>code-engine</artifactId>
73-
<version>4.28.2</version>
73+
<version>4.28.3</version>
7474
</dependency>
7575
```
7676

7777
### Gradle
7878

7979
```gradle
80-
compile 'com.ibm.cloud:code-engine:4.28.2'
80+
compile 'com.ibm.cloud:code-engine:4.28.3'
8181
```
8282

8383
## Using the SDK

build/.travis.settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
44
<servers>
55
<server>
6-
<id>central-staging</id>
6+
<id>central</id>
77
<username>${env.MAVEN_USERNAME}</username>
88
<password>${env.MAVEN_PASSWORD}</password>
99
</server>

build/deploy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ if [[ ! $1 =~ ^[0-9] ]]; then
2020
fi
2121

2222
# Check env variables
23-
if [ -z ${OSSRH_USERNAME+x} ]; then
24-
echo "Abort. This script assumes that the following env var is set: 'OSSRH_USERNAME'"
23+
if [ -z ${MAVEN_USERNAME+x} ]; then
24+
echo "Abort. This script assumes that the following env var is set: 'MAVEN_USERNAME'"
2525
exit 1
2626
fi
27-
if [ -z ${OSSRH_PASSWORD+x} ]; then
28-
echo "Abort. This script assumes that the following env var is set: 'OSSRH_PASSWORD'"
27+
if [ -z ${MAVEN_PASSWORD+x} ]; then
28+
echo "Abort. This script assumes that the following env var is set: 'MAVEN_PASSWORD'"
2929
exit 1
3030
fi
3131
if [ -z ${GPG_KEYNAME+x} ]; then

pom.xml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
of the SDK generator used to generate your SDK code.
1818
See this link for details: https://github.ibm.com/CloudEngineering/openapi-sdkgen/wiki/Compatibility-Chart
1919
-->
20-
<sdk-core-version>9.24.1</sdk-core-version>
20+
<sdk-core-version>9.24.3</sdk-core-version>
2121
<git-repository-name>code-engine-java-sdk</git-repository-name>
2222

2323
<testng-version>7.11.0</testng-version>
@@ -26,15 +26,15 @@
2626
<jacoco-plugin-version>0.8.13</jacoco-plugin-version>
2727
<maven-deploy-plugin-version>3.1.4</maven-deploy-plugin-version>
2828
<nexus-staging-plugin-version>1.7.0</nexus-staging-plugin-version>
29-
<maven-gpg-plugin-version>3.2.7</maven-gpg-plugin-version>
29+
<maven-gpg-plugin-version>3.2.8</maven-gpg-plugin-version>
3030
<maven-source-plugin-version>3.3.1</maven-source-plugin-version>
3131
<maven-shade-plugin-version>3.6.0</maven-shade-plugin-version>
3232
<maven-jar-plugin-version>3.4.2</maven-jar-plugin-version>
3333
<maven-javadoc-plugin-version>3.11.2</maven-javadoc-plugin-version>
3434
<maven-compiler-plugin-version>3.10.1</maven-compiler-plugin-version>
3535
<maven-site-plugin-version>3.21.0</maven-site-plugin-version>
3636
<maven-checkstyle-plugin-version>3.6.0</maven-checkstyle-plugin-version>
37-
<checkstyle-version>10.25.0</checkstyle-version>
37+
<checkstyle-version>10.26.1</checkstyle-version>
3838
<maven-reports-plugin-version>3.9.0</maven-reports-plugin-version>
3939
<maven-failsafe-plugin-version>3.5.3</maven-failsafe-plugin-version>
4040
<maven-buildnumber-plugin-version>3.2.1</maven-buildnumber-plugin-version>
@@ -47,6 +47,7 @@
4747
<maven-compiler-plugin-version>3.14.0</maven-compiler-plugin-version>
4848
<java-source-version>1.8</java-source-version>
4949
<java-target-version>1.8</java-target-version>
50+
<commons-lang3-version>3.18.0</commons-lang3-version>
5051

5152
<!-- versions of transitive dependencies we need to override to avoid vulnerability alerts -->
5253
<junit-version>4.13.2</junit-version>
@@ -108,6 +109,12 @@
108109
<scope>test</scope>
109110
</dependency>
110111

112+
<dependency>
113+
<groupId>org.apache.commons</groupId>
114+
<artifactId>commons-lang3</artifactId>
115+
<version>${commons-lang3-version}</version>
116+
</dependency>
117+
111118
<!-- TestNG is used to run unit/integration tests -->
112119
<dependency>
113120
<groupId>org.testng</groupId>
@@ -488,10 +495,10 @@
488495
<plugin>
489496
<groupId>org.sonatype.central</groupId>
490497
<artifactId>central-publishing-maven-plugin</artifactId>
491-
<version>0.7.0</version>
498+
<version>0.8.0</version>
492499
<extensions>true</extensions>
493500
<configuration>
494-
<publishingServerId>central-staging</publishingServerId>
501+
<publishingServerId>central</publishingServerId>
495502
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
496503
<autoPublish>true</autoPublish>
497504
<waitUntil>published</waitUntil>

0 commit comments

Comments
 (0)