Skip to content

Commit bde239f

Browse files
Merge pull request #888 from watson-developer-cloud/next
Add fully generated code for all services
2 parents d126426 + bdeb9e6 commit bde239f

File tree

664 files changed

+19486
-32215
lines changed

Some content is hidden

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

664 files changed

+19486
-32215
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson.developer_cloud/java-sdk/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson.developer_cloud/java-sdk)
66
[![CLA assistant](https://cla-assistant.io/readme/badge/watson-developer-cloud/java-sdk)](https://cla-assistant.io/watson-developer-cloud/java-sdk)
77

8-
Node.js client library to use the [Watson APIs][wdc].
8+
Java client library to use the [Watson APIs][wdc].
99

1010
<details>
1111
<summary>Table of Contents</summary>
@@ -53,12 +53,12 @@ All the services:
5353
</dependency>
5454
```
5555

56-
Only Retrieve and Rank:
56+
Only Discovery:
5757

5858
```xml
5959
<dependency>
6060
<groupId>com.ibm.watson.developer_cloud</groupId>
61-
<artifactId>retrieve-and-rank</artifactId>
61+
<artifactId>discovery</artifactId>
6262
<version>4.2.1</version>
6363
</dependency>
6464
```
@@ -97,7 +97,7 @@ And then reference the snapshot version on your app module gradle
9797
Only Speech to Text:
9898

9999
```gradle
100-
'com.ibm.watson.developer_cloud:speech-to-text:3.8.1-SNAPSHOT'
100+
'com.ibm.watson.developer_cloud:speech-to-text:4.2.1-SNAPSHOT'
101101
```
102102

103103
##### JAR
@@ -143,7 +143,7 @@ Override the `configureHttpClient()` method and add the proxy using the `OkHttpC
143143
For example:
144144

145145
```java
146-
ConversationService service = new ConversationService("2017-05-26") {
146+
Conversation service = new Conversation(Conversation.VERSION_DATE_2017_05_26) {
147147
@Override
148148
protected OkHttpClient configureHttpClient() {
149149
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxyHost", 8080));
@@ -153,7 +153,7 @@ ConversationService service = new ConversationService("2017-05-26") {
153153

154154
service.setUsernameAndPassword("<username>", "<password>");
155155

156-
WorkspaceCollectionResponse workspaces = service.listWorkspaces(null, null, null, null).execute();
156+
WorkspaceCollection workspaces = service.listWorkspaces().execute();
157157
System.out.println(workspaces);
158158
```
159159

alchemy/README.md

Lines changed: 0 additions & 92 deletions
This file was deleted.

alchemy/build.gradle

Lines changed: 0 additions & 113 deletions
This file was deleted.

alchemy/src/main/java/com/ibm/watson/developer_cloud/alchemy/v1/AlchemyDataNews.java

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)