Skip to content

Commit 4a8af84

Browse files
committed
Merge pull request #44 from DanCunnington/master
bluemix service credentials for retrieve and rank
2 parents e4ebf09 + 7749e40 commit 4a8af84

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

services/retrieve_and_rank/v1.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
return this.name ? "node_label_italic" : "";
7474
},
7575
oneditprepare: function() {
76-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
76+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
7777
$('.credentials').toggle(!service);
7878
}).fail(function () {
7979
$('.credentials').show();
@@ -165,7 +165,7 @@
165165
$('.form-row.mode.rankerid').show();
166166
}
167167
});
168-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
168+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
169169
$('.credentials').toggle(!service);
170170
}).fail(function () {
171171
$('.credentials').show();
@@ -258,7 +258,7 @@
258258
return this.name ? "node_label_italic" : "";
259259
},
260260
oneditprepare: function() {
261-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
261+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
262262
$('.credentials').toggle(!service);
263263
}).fail(function () {
264264
$('.credentials').show();
@@ -352,7 +352,7 @@
352352
return this.name ? "node_label_italic" : "";
353353
},
354354
oneditprepare: function() {
355-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
355+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
356356
$('.credentials').toggle(!service);
357357
}).fail(function () {
358358
$('.credentials').show();
@@ -442,7 +442,7 @@
442442
$('.form-row.mode.clusterid').show();
443443
}
444444
});
445-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
445+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
446446
$('.credentials').toggle(!service);
447447
}).fail(function () {
448448
$('.credentials').show();
@@ -512,7 +512,7 @@
512512
return this.name ? "node_label_italic" : "";
513513
},
514514
oneditprepare: function() {
515-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
515+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
516516
$('.credentials').toggle(!service);
517517
}).fail(function () {
518518
$('.credentials').show();
@@ -600,7 +600,7 @@
600600
$('.form-row.mode.configname').show();
601601
}
602602
});
603-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
603+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
604604
$('.credentials').toggle(!service);
605605
}).fail(function () {
606606
$('.credentials').show();
@@ -696,7 +696,7 @@
696696
$('.form-row.mode.configname').hide();
697697
}
698698
});
699-
$.getJSON('watson-retrieve-rank/vcap/').done(function (service) {
699+
$.getJSON('watson-retrieve-and-rank/vcap/').done(function (service) {
700700
$('.credentials').toggle(!service);
701701
}).fail(function () {
702702
$('.credentials').show();

services/retrieve_and_rank/v1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function (RED) {
3232
password = service.password;
3333
}
3434

35-
RED.httpAdmin.get('/watson-retrieve-rank/vcap', function (req, res) {
35+
RED.httpAdmin.get('/watson-retrieve-and-rank/vcap', function (req, res) {
3636
res.json(service ? {bound_service: true} : null);
3737
});
3838

0 commit comments

Comments
 (0)