Skip to content

Commit 2414fd8

Browse files
committed
Remove dependancy on watson-developer-cloud
1 parent 6426fba commit 2414fd8

4 files changed

Lines changed: 56 additions & 52 deletions

File tree

ChangeHistory.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
## 0.8.x
2+
3+
### New in version 0.8.2
4+
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
5+
- Document Translator node
6+
- Discovery node
7+
- Discovery Document Loader node
8+
- Discovery Query Builder node
9+
- Assistant V1 Workspace Manager node
10+
- List Expansion list, and List Training data modes added to Discovery node
11+
- Fix to Create Classifier mode in NLC node
12+
13+
### New in version 0.8.1
14+
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
15+
- Speech to Text node
16+
- Speech to Text Corpus Builder node
17+
- Natural Language Understanding node
18+
- Natural Language Classifier node
19+
- Language Identifier node
20+
- Language Translator node
21+
- Translator Util node
22+
- New NLU Model Manager node.
23+
- NLC CreateClassifier is broken until defect on ibm-watson is fixed.
24+
- Remove X-Watson-Technology-Preview Neural translation option for Language Translator node
25+
- Remove monolingual corpus option from Language Translator mode
26+
- Added new modes to Language Translator mode
27+
- List Custom models
28+
- List Default models
29+
30+
### New in version 0.8.0
31+
- In the 0.8.x releases the nodes are migrated to a node-red 1.0.x input
32+
event callback function signature.
33+
and migrated off watson-developer-cloud to ibm-watson as a npm dependancy.
34+
Migrated nodes will not be compatible with pre 1.0.0 versions of node-red.
35+
During the migration there will be a dependancy on both modules.
36+
- Bump dependancy on node to >=10.0.0
37+
- Bump dependancy on cfenv, request, file-type
38+
- Bump dependancy on ibm-cloud-sdk-core to 0.3.7 (need to stay on 0.x, for STT Streaming to work)
39+
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
40+
- Tone Analyzer node.
41+
- Personality Insights node.
42+
- Visual Recognition V3 node
43+
- Text to Speech node
44+
- Text to Speech Corpus Builder node
45+
- New Visual Recognition V4 node.
46+
- Drop faces detect option from Visual Recognition V3 node.
47+
- Fix to URL parsing for bound services.
48+
- STT token manager no longer in ibm-cloud-sdk-core
49+
- Update language lists for STT, TTS, Language Translator and Document Translator Nodes
50+
51+
52+
153
## 0.7.x
254

355
### New in version 0.7.8

README.md

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,53 +15,6 @@ Node-RED Watson Nodes for IBM Cloud
1515
- Remove watson-developer-cloud dependancy
1616
- Remove code for redundant nodes
1717

18-
### New in version 0.8.2
19-
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
20-
- Document Translator node
21-
- Discovery node
22-
- Discovery Document Loader node
23-
- Discovery Query Builder node
24-
- Assistant V1 Workspace Manager node
25-
- List Expansion list, and List Training data modes added to Discovery node
26-
- Fix to Create Classifier mode in NLC node
27-
28-
### New in version 0.8.1
29-
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
30-
- Speech to Text node
31-
- Speech to Text Corpus Builder node
32-
- Natural Language Understanding node
33-
- Natural Language Classifier node
34-
- Language Identifier node
35-
- Language Translator node
36-
- Translator Util node
37-
- New NLU Model Manager node.
38-
- NLC CreateClassifier is broken until defect on ibm-watson is fixed.
39-
- Remove X-Watson-Technology-Preview Neural translation option for Language Translator node
40-
- Remove monolingual corpus option from Language Translator mode
41-
- Added new modes to Language Translator mode
42-
- List Custom models
43-
- List Default models
44-
45-
### New in version 0.8.0
46-
- In the 0.8.x releases the nodes are migrated to a node-red 1.0.x input
47-
event callback function signature.
48-
and migrated off watson-developer-cloud to ibm-watson as a npm dependancy.
49-
Migrated nodes will not be compatible with pre 1.0.0 versions of node-red.
50-
During the migration there will be a dependancy on both modules.
51-
- Bump dependancy on node to >=10.0.0
52-
- Bump dependancy on cfenv, request, file-type
53-
- Bump dependancy on ibm-cloud-sdk-core to 0.3.7 (need to stay on 0.x, for STT Streaming to work)
54-
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
55-
- Tone Analyzer node.
56-
- Personality Insights node.
57-
- Visual Recognition V3 node
58-
- Text to Speech node
59-
- Text to Speech Corpus Builder node
60-
- New Visual Recognition V4 node.
61-
- Drop faces detect option from Visual Recognition V3 node.
62-
- Fix to URL parsing for bound services.
63-
- STT token manager no longer in ibm-cloud-sdk-core
64-
- Update language lists for STT, TTS, Language Translator and Document Translator Nodes
6518

6619
### Watson Nodes for Node-RED
6720
A collection of nodes to interact with the IBM Watson services in [IBM Cloud](http://cloud.ibm.com).

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"temp": "^0.9.0",
1111
"qs": "6.x",
1212
"image-type": "^2.0.2",
13-
"watson-developer-cloud": "^3.18.3",
1413
"ibm-watson": "^5.2.1",
1514
"word-count": "^0.2.2",
1615
"is-docx": "^0.0.3",

services/speech_to_text/v1.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function (RED) {
2727
payloadutils = require('../../utilities/payload-utils'),
2828
iamutils = require('../../utilities/iam-utils'),
2929
sttutils = require('./stt-utils'),
30-
AuthV1 = require('watson-developer-cloud/authorization/v1'),
30+
//AuthV1 = require('watson-developer-cloud/authorization/v1'),
3131
//AuthIAMV1 = require('ibm-cloud-sdk-core/iam-token-manager/v1'),
3232
//AuthIAMV1 = require('ibm-cloud-sdk-core/auth/iam-token-manager-v1'),
3333
//AuthIAMV1 = require('ibm-cloud-sdk-core/auth/token-managers/iam-token-manager'),
@@ -342,9 +342,9 @@ module.exports = function (RED) {
342342
tokenService = new IamTokenManager({apikey : apikey});
343343
//tokenService = new iamutils(apikey);
344344

345-
} else {
346-
tokenService = new AuthV1(stt.getCredentials());
347-
}
345+
} //else {
346+
//tokenService = new AuthV1(stt.getCredentials());
347+
//}
348348

349349
// Streaming - IAM Key fudge.
350350
// Check if the token service options have the header set. If not then

0 commit comments

Comments
 (0)