Skip to content

Commit 55e85eb

Browse files
committed
Remove deprecated services and references to them
1 parent 202ef1f commit 55e85eb

163 files changed

Lines changed: 11 additions & 19290 deletions

File tree

Some content is hidden

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

‎README.md‎

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,16 @@ APIs and SDKs that use cognitive computing to solve complex problems.
1515
* [Usage](#usage)
1616
* [Getting the Service Credentials](#getting-the-service-credentials)
1717
* IBM Watson Services
18-
* [Alchemy Language](alchemy)
19-
* [Alchemy Vision](alchemy)
20-
* [Alchemy Data News](alchemy)
21-
* [Concept Insights](alchemy)
2218
* [Conversation](conversation)
23-
* [Dialog](dialog)
2419
* [Discovery](discovery)
2520
* [Language Translation](language-translation)
2621
* [Language Translator](language-translator)
2722
* [Natural Language Classifier](natural-language-classifier)
2823
* [Natural Language Understanding](natural-language-understanding)
2924
* [Personality Insights](personality-insights)
30-
* [Retrieve and Rank](retrieve-and-rank)
3125
* [Speech to Text](speech-to-text)
3226
* [Text to Speech](text-to-speech)
3327
* [Tone Analyzer](tone-analyzer)
34-
* [Tradeoff Analytics](tradeoff-analytics)
3528
* [Visual Recognition](visual-recognition)
3629
* [Changes for v4.0](#changes-for-v40)
3730
* [Using a Proxy](#using-a-proxy)
@@ -57,12 +50,12 @@ All the services:
5750
</dependency>
5851
```
5952

60-
Only Retrieve and Rank:
53+
Only Discovery:
6154

6255
```xml
6356
<dependency>
6457
<groupId>com.ibm.watson.developer_cloud</groupId>
65-
<artifactId>retrieve-and-rank</artifactId>
58+
<artifactId>discovery</artifactId>
6659
<version>4.2.1</version>
6760
</dependency>
6861
```
@@ -75,10 +68,10 @@ All the services:
7568
'com.ibm.watson.developer_cloud:java-sdk:4.2.1'
7669
```
7770

78-
Only Retrieve and Rank:
71+
Only Discovery:
7972

8073
```gradle
81-
'com.ibm.watson.developer_cloud:retrieve-and-rank:4.2.1'
74+
'com.ibm.watson.developer_cloud:discovery:4.2.1'
8275
```
8376

8477
Only Visual Recognition:
@@ -107,7 +100,7 @@ And then reference the snapshot version on your app module gradle
107100
Only Speech to Text:
108101

109102
```gradle
110-
'com.ibm.watson.developer_cloud:speech-to-text:3.8.1-SNAPSHOT'
103+
'com.ibm.watson.developer_cloud:speech-to-text:4.2.1-SNAPSHOT'
111104
```
112105

113106
##### JAR
@@ -157,7 +150,7 @@ Override the `configureHttpClient()` method and add the proxy using the `OkHttpC
157150
For example:
158151

159152
```java
160-
ConversationService service = new ConversationService("2017-05-26") {
153+
Conversation service = new Conversation(Conversation.VERSION_DATE_2017_05_26) {
161154
@Override
162155
protected OkHttpClient configureHttpClient() {
163156
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxyHost", 8080));
@@ -167,7 +160,7 @@ ConversationService service = new ConversationService("2017-05-26") {
167160

168161
service.setUsernameAndPassword("<username>", "<password>");
169162

170-
WorkspaceCollectionResponse workspaces = service.listWorkspaces(null, null, null, null).execute();
163+
WorkspaceCollection workspaces = service.listWorkspaces().execute();
171164
System.out.println(workspaces);
172165
```
173166

‎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.

0 commit comments

Comments
 (0)