Skip to content

Commit 50870f7

Browse files
committed
Migrate to ibm-watson
1 parent 99fe10c commit 50870f7

3 files changed

Lines changed: 180 additions & 148 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Node-RED Watson Nodes for IBM Cloud
77

88
<a href="https://cla-assistant.io/watson-developer-cloud/node-red-node-watson"><img src="https://cla-assistant.io/readme/badge/watson-developer-cloud/node-red-node-watson" alt="CLA assistant" /></a>
99

10+
### New in version 0.9.0
11+
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
12+
- Assistant V1
13+
- Assistant V2
14+
- All Nodes now require Node-RED 1.0.x or above
15+
- Remove watson-developer-cloud dependancy
16+
- Remove code for redundant nodes
17+
1018
### New in version 0.8.2
1119
- Node-RED & IBM-Watson & Use of promises on API invocation & IAM URL construct migration & Removal of default endpoint of
1220
- Document Translator node

services/assistant/v1.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
<input type="password" id="node-input-apikey" placeholder="API Key"></input>
4040
</div>
4141

42-
<div class="form-row credentials">
43-
<label>&nbsp;</label>
44-
<input type="checkbox" id="node-input-default-endpoint" style="display: inline-block; width: auto; vertical-align: top;">
45-
<label for="node-input-default-endpoint" style="width: 70%;"> Use Default Service Endpoint</label>
46-
</div>
4742
<div class="form-row">
4843
<label for="node-input-service-endpoint"><i class="fa fa-tag"></i> Service Endpoint</label>
4944
<input type="text" id="node-input-service-endpoint" placeholder="https://gateway.watsonplatform.net/assistant/api">
@@ -135,14 +130,6 @@
135130
$('#conversation-form-tips').hide();
136131
}
137132
});
138-
$('input#node-input-default-endpoint').change(function () {
139-
var checked = $('input#node-input-default-endpoint').prop('checked');
140-
if (checked) {
141-
$('#node-input-service-endpoint').parent().hide();
142-
} else {
143-
$('#node-input-service-endpoint').parent().show();
144-
}
145-
});
146133

147134
$.getJSON('watson-conversation/vcap/')
148135
.done(function (service) {
@@ -165,8 +152,7 @@
165152
multiuser: {value: false},
166153
context: {value: true},
167154
'empty-payload': {value: false},
168-
'default-endpoint' : {value: true},
169-
'service-endpoint' : {value: 'https://gateway.watsonplatform.net/assistant/api'},
155+
'service-endpoint' : {value: ''},
170156
timeout: {value: '', validate: RED.validators.number(true)},
171157
'optout-learning': {value: false}
172158
},

0 commit comments

Comments
 (0)