Skip to content

Commit f6a2e27

Browse files
committed
chore(merge): pull changes from master
2 parents 02d78b2 + e13acba commit f6a2e27

File tree

8 files changed

+18
-15
lines changed

8 files changed

+18
-15
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,14 @@ Java client library to use the [Watson APIs][wdc].
5353
</details>
5454

5555
## ANNOUNCEMENTS!
56-
### Personality Insights Deprecation
57-
IBM® will begin sunsetting IBM Watson™ Personality Insights on 1 December 2020. For a period of one year from this date, you will still be able to use Watson Personality Insights. However, as of 1 December 2021, the offering will no longer be available.
56+
### Personality Insights deprecation
57+
IBM Watson™ Personality Insights is discontinued. For a period of one year from 1 December 2020, you will still be able to use Watson Personality Insights. However, as of 1 December 2021, the offering will no longer be available.
5858

5959
As an alternative, we encourage you to consider migrating to IBM Watson™ [Natural Language Understanding](https://cloud.ibm.com/docs/natural-language-understanding), a service on IBM Cloud® that uses deep learning to extract data and insights from text such as keywords, categories, sentiment, emotion, and syntax to provide insights for your business or industry. For more information, see About Natural Language Understanding.
6060

61+
### Visual Recognition deprecation
62+
IBM Watson™ Visual Recognition is discontinued. Existing instances are supported until 1 December 2021, but as of 7 January 2021, you can't create instances. Any instance that is provisioned on 1 December 2021 will be deleted.
63+
6164
## Before you begin
6265
* You need an [IBM Cloud][ibm-cloud-onboarding] account.
6366

discovery/src/test/java/com/ibm/watson/discovery/v1/DiscoveryServiceIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public boolean ping() throws RuntimeException {
216216
@Test
217217
public void exampleIsSuccessful() {
218218
// Discovery discovery = new Discovery("2016-12-15");
219-
// discovery.setServiceUrl("https://gateway.watsonplatform.net/discovery/api");
219+
// discovery.setServiceUrl("https://api.us-south.discovery.watson.cloud.ibm.com");
220220
// discovery.setUsernameAndPassword("<username>", "<password");
221221
String environmentId = null;
222222
String configurationId = null;
@@ -381,7 +381,7 @@ public void badCredentialsThrowsException() {
381381
/** Ping bad url throws exception. */
382382
@Test(expected = NotFoundException.class)
383383
public void pingBadUrlThrowsException() {
384-
discovery.setServiceUrl("https://gateway.watsonplatform.net/discovery-foo/api");
384+
discovery.setServiceUrl("https://api.us-south.discovery.watson.cloud.ibm.com/discovery-foo");
385385
ping();
386386
}
387387

natural-language-classifier/src/test/resources/natural_language_classifier/classification.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"classifier_id": "47C164-nlc-243",
3-
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/47C164-nlc-243",
3+
"url": "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com/v1/classifiers/47C164-nlc-243",
44
"text": "is it hot ?",
55
"top_class": "temperature",
66
"classes": [
@@ -13,4 +13,4 @@
1313
"confidence": 0.018102824692296068
1414
}
1515
]
16-
}
16+
}

natural-language-classifier/src/test/resources/natural_language_classifier/classification_collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"classifier_id" : "10D41B-nlc-1",
3-
"url" : "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/10D41B-nlc-1",
3+
"url" : "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com/v1/classifiers/10D41B-nlc-1",
44
"collection" : [ {
55
"text" : "How hot will it be today?",
66
"top_class" : "temperature",
@@ -22,4 +22,4 @@
2222
"confidence" : 0
2323
} ]
2424
} ]
25-
}
25+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"classifier_id": "5E00F7x2-nlc-507",
3-
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/5E00F7x2-nlc-507",
3+
"url": "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com/v1/classifiers/5E00F7x2-nlc-507",
44
"name": "Music controls",
55
"language": "en",
66
"created": "2015-10-17T20:56:29.974Z"
7-
}
7+
}

natural-language-classifier/src/test/resources/natural_language_classifier/classifiers.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"classifiers": [
33
{
44
"classifier_id": "47C164-nlc-243",
5-
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/47C164-nlc-243",
5+
"url": "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com/v1/classifiers/47C164-nlc-243",
66
"name": "weather",
77
"language": "en",
88
"created": "2015-08-24T18:42:25.324Z"
99
},
1010
{
1111
"classifier_id": "5E00F7x2-nlc-507",
12-
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/5E00F7x2-nlc-507",
12+
"url": "https://api.us-south.natural-language-classifier.watson.cloud.ibm.com/v1/classifiers/5E00F7x2-nlc-507",
1313
"name": "Music controls",
1414
"language": "en",
1515
"created": "2015-10-17T20:56:29.974Z"
1616
}
1717
]
18-
}
18+
}

speech-to-text/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ System.out.println(transcript);
3939

4040
#### WebSocket support
4141

42-
Speech to Text supports WebSocket, the url is: `wss://stream.watsonplatform.net/speech-to-text/api/v1/recognize`
42+
Speech to Text supports WebSocket, the url is: `wss://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/recognize`
4343

4444
```java
4545
Authenticator authenticator = new IamAuthenticator("<iam_api_key>");

speech-to-text/src/test/resources/speech_to_text/jobs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"id": "2d0ef860-872e-11e6-90d3-5f28bc58ceb2",
99
"status": "processing",
1010
"created": "2016-09-30T16:51:47.558",
11-
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/recognitions/2d0ef860-872e-11e6-90d3-5f28bc58ceb2"
11+
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/recognitions/2d0ef860-872e-11e6-90d3-5f28bc58ceb2"
1212
}, {
1313
"id": "2d0ef860-872e-11e6-90d3-5f28bc58ceb2",
1414
"results": [{

0 commit comments

Comments
 (0)