summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-05-24 15:48:18 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:59:54 +0200
commit197d9acab4fb5097d3dce56227c2096abdc075bd (patch)
tree6da888c3fa96ccd070939958a4297f140e75b660 /htdocs
parent1ed3d346f61d9115fccb33d3047be783a7dd7f7a (diff)
Convert binding to use the controller
Change-Id: Iae15b07ee768584d7a1a958fb7e119bca65c29e4 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/d3js-graph.js2
-rw-r--r--htdocs/index.html4
-rw-r--r--htdocs/iotbzh-Binding.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/htdocs/d3js-graph.js b/htdocs/d3js-graph.js
index 711ef50..16b8939 100644
--- a/htdocs/d3js-graph.js
+++ b/htdocs/d3js-graph.js
@@ -64,7 +64,7 @@ var links = [
function graphAGLBindings() {
- callbinder('xds-service', 'list', {})
+ callbinder('xds', 'list', {})
.then(function (res) {
links = [];
nodes = {};
diff --git a/htdocs/index.html b/htdocs/index.html
index 2b0b605..7a3f4a8 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -28,13 +28,13 @@
<br>
<div>
- <button onclick="callbinder('xds-service','list' ,{});">List</button>
+ <button onclick="callbinder('xds','list' ,{});">List</button>
</li>
<button onclick="graphAGLBindings();">Graph AGL bindings</button>
</li>
- <button onclick="callbinder('xds-service','trace' ,{'ws': 'unix:ave'});">Trace ws unix:ave</button>
+ <button onclick="callbinder('xds', 'trace', {'ws': 'unix:ave'});">Trace ws unix:ave</button>
</li>
</div>
diff --git a/htdocs/iotbzh-Binding.js b/htdocs/iotbzh-Binding.js
index ae32f83..1d28658 100644
--- a/htdocs/iotbzh-Binding.js
+++ b/htdocs/iotbzh-Binding.js
@@ -131,7 +131,7 @@ function init(elemID, api, verb, query) {
function onopen() {
// Request initial authorization
- callbinder('xds-service', 'auth', '');
+ callbinder('xds', 'auth', '');
document.getElementById("main").style.visibility = "visible";
document.getElementById("connected").innerHTML = "Binder WS Active";