Skip to content

Commit 6bc680f

Browse files
authored
Merge pull request #78 from lwander/release-0.2
Release 0.2
2 parents 0177f2a + 9359345 commit 6bc680f

File tree

8 files changed

+22
-24
lines changed

8 files changed

+22
-24
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ Add this dependency to your project's POM:
2525
```xml
2626
<dependency>
2727
<groupId>io.kubernetes</groupId>
28-
<artifactId>client-java-util</artifactId>
29-
<version>0.1</version>
28+
<artifactId>client-java</artifactId>
29+
<version>0.2</version>
3030
<scope>compile</scope>
3131
</dependency>
3232
```
3333

3434
### Gradle users
3535

3636
```groovy
37-
compile 'io.kubernetes:client-java-util:0.1'
37+
compile 'io.kubernetes:client-java:0.2'
3838
```
3939

4040
### Others

examples/pom.xml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
<project
2-
xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
42
<modelVersion>4.0.0</modelVersion>
53
<groupId>io.kubernetes</groupId>
64
<artifactId>client-java-examples</artifactId>
7-
<version>0.2-SNAPSHOT</version>
5+
<version>0.3-SNAPSHOT</version>
86
<packaging>jar</packaging>
97
<name>client-java-examples</name>
108
<url>https://github.com/kubernetes-client/java</url>
119
<parent>
1210
<groupId>io.kubernetes</groupId>
1311
<artifactId>client-java-parent</artifactId>
14-
<version>0.2-SNAPSHOT</version>
12+
<version>0.3-SNAPSHOT</version>
1513
</parent>
1614
<dependencies>
1715
<dependency>
1816
<groupId>io.kubernetes</groupId>
1917
<artifactId>client-java-api</artifactId>
20-
<version>0.2-SNAPSHOT</version>
18+
<version>0.3-SNAPSHOT</version>
2119
</dependency>
2220
<dependency>
2321
<groupId>io.kubernetes</groupId>
2422
<artifactId>client-java</artifactId>
25-
<version>0.2-SNAPSHOT</version>
23+
<version>0.3-SNAPSHOT</version>
2624
</dependency>
2725
<dependency>
2826
<groupId>io.kubernetes</groupId>
2927
<artifactId>client-java-proto</artifactId>
30-
<version>0.2-SNAPSHOT</version>
28+
<version>0.3-SNAPSHOT</version>
3129
</dependency>
3230
<dependency>
3331
<groupId>com.google.guava</groupId>

kubernetes/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>client-java-api</artifactId>
55
<packaging>jar</packaging>
66
<name>client-java-api</name>
7-
<version>0.2-SNAPSHOT</version>
7+
<version>0.3-SNAPSHOT</version>
88
<url>https://github.com/kubernetes-client/java</url>
99
<description>Swagger Java</description>
1010
<prerequisites>
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>io.kubernetes</groupId>
1616
<artifactId>client-java-parent</artifactId>
17-
<version>0.2-SNAPSHOT</version>
17+
<version>0.3-SNAPSHOT</version>
1818
</parent>
1919

2020
<build>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<artifactId>client-java-parent</artifactId>
44
<groupId>io.kubernetes</groupId>
5-
<version>0.2-SNAPSHOT</version>
5+
<version>0.3-SNAPSHOT</version>
66
<packaging>pom</packaging>
77
<name>Kubernetes Client API</name>
88
<url>https://github.com/kubernetes-client/java</url>
@@ -75,7 +75,7 @@
7575
<version>1.6.7</version>
7676
<extensions>true</extensions>
7777
<configuration>
78-
<serverId>sonatype-nexus-staging</serverId>
78+
<serverId>ossrh</serverId>
7979
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
8080
<autoReleaseAfterClose>true</autoReleaseAfterClose>
8181
</configuration>

proto/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>io.kubernetes</groupId>
44
<artifactId>client-java-proto</artifactId>
5-
<version>0.2-SNAPSHOT</version>
5+
<version>0.3-SNAPSHOT</version>
66
<packaging>jar</packaging>
77
<name>client-java-proto</name>
88
<url>https://github.com/kubernetes-client/java</url>
99

1010
<parent>
1111
<groupId>io.kubernetes</groupId>
1212
<artifactId>client-java-parent</artifactId>
13-
<version>0.2-SNAPSHOT</version>
13+
<version>0.3-SNAPSHOT</version>
1414
</parent>
1515

1616
<dependencies>

util/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>io.kubernetes</groupId>
44
<artifactId>client-java</artifactId>
5-
<version>0.2-SNAPSHOT</version>
5+
<version>0.3-SNAPSHOT</version>
66
<packaging>jar</packaging>
77
<name>client-java</name>
88
<url>https://github.com/kubernetes-client/java</url>
99
<parent>
1010
<groupId>io.kubernetes</groupId>
1111
<artifactId>client-java-parent</artifactId>
12-
<version>0.2-SNAPSHOT</version>
12+
<version>0.3-SNAPSHOT</version>
1313
</parent>
1414
<dependencies>
1515
<dependency>
1616
<groupId>io.kubernetes</groupId>
1717
<artifactId>client-java-api</artifactId>
18-
<version>0.2-SNAPSHOT</version>
18+
<version>0.3-SNAPSHOT</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>io.kubernetes</groupId>
2222
<artifactId>client-java-proto</artifactId>
23-
<version>0.2-SNAPSHOT</version>
23+
<version>0.3-SNAPSHOT</version>
2424
</dependency>
2525
<dependency>
2626
<groupId>org.yaml</groupId>

util/src/main/java/io/kubernetes/client/Exec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private String makePath(String namespace, String name, String[] command, String
8282
* @param namespace The namespace of the Pod
8383
* @param name The name of the Pod
8484
* @param command The command to run
85-
* @param stdin If true, pass a stdin stream into the container
85+
* @param stdin If true, pass a stdin stream into the container
8686
*/
8787
public Process exec(String namespace, String name, String[] command, boolean stdin) throws ApiException, IOException {
8888
return exec(namespace, name, command, null, stdin, false);

util/src/main/java/io/kubernetes/client/ProtoClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public <T extends Message> ObjectOrStatus<T> get(T.Builder builder, String path)
103103
* @param path The URL path to call (e.g. /api/v1/namespaces/default/pods/pod-name)
104104
* @return An ObjectOrStatus which contains the Object requested, or a Status about the request.
105105
*/
106-
public <T extends Message> ObjectOrStatus<T> list(T.Builder listObj, String path) throws ApiException, IOException {
107-
return get(listObj, path);
106+
public <T extends Message> ObjectOrStatus<T> list(T.Builder builder, String path) throws ApiException, IOException {
107+
return get(builder, path);
108108
}
109109

110110
/**

0 commit comments

Comments
 (0)