Skip to content

Commit 802cd1a

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

File tree

4 files changed

+26
-16
lines changed

4 files changed

+26
-16
lines changed

.metadata

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
service: codeengine
2+
production_code: yes
3+
production_code_end: "2099-02-18"
4+
production_branches:
5+
- main
6+
public_override:
7+
other: No production relevant, not installed in production clusters. This repo contains sample/demo artefacts and libraries shared with external parties.
8+
security_sensitive: no
9+
ip_sensitive: no

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.0
4+
# IBM Cloud Code Engine Java SDK Version 4.28.2
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.0
42+
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.0) | com.ibm.cloud.code-engine:4.28.2
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.0
54+
The current version of this SDK is: 4.28.2
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.0</version>
73+
<version>4.28.2</version>
7474
</dependency>
7575
```
7676

7777
### Gradle
7878

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

8383
## Using the SDK

build/.travis.settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
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>ossrh</id>
7-
<username>${env.OSSRH_USERNAME}</username>
8-
<password>${env.OSSRH_PASSWORD}</password>
6+
<id>central-staging</id>
7+
<username>${env.MAVEN_USERNAME}</username>
8+
<password>${env.MAVEN_PASSWORD}</password>
99
</server>
1010
</servers>
1111
</settings>

pom.xml

Lines changed: 9 additions & 8 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.23.0</sdk-core-version>
20+
<sdk-core-version>9.24.1</sdk-core-version>
2121
<git-repository-name>code-engine-java-sdk</git-repository-name>
2222

2323
<testng-version>7.11.0</testng-version>
@@ -34,7 +34,7 @@
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.23.0</checkstyle-version>
37+
<checkstyle-version>10.25.0</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>
@@ -486,14 +486,15 @@
486486
<build>
487487
<plugins>
488488
<plugin>
489-
<groupId>org.sonatype.plugins</groupId>
490-
<artifactId>nexus-staging-maven-plugin</artifactId>
489+
<groupId>org.sonatype.central</groupId>
490+
<artifactId>central-publishing-maven-plugin</artifactId>
491+
<version>0.7.0</version>
491492
<extensions>true</extensions>
492493
<configuration>
493-
<serverId>ossrh</serverId>
494-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
495-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
496-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
494+
<publishingServerId>central-staging</publishingServerId>
495+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
496+
<autoPublish>true</autoPublish>
497+
<waitUntil>published</waitUntil>
497498
</configuration>
498499
</plugin>
499500
<plugin>

0 commit comments

Comments
 (0)