Consistent URL Scheme for Northbound and Web UI
[controller.git] / opendaylight / web / root / src / main / resources / js / one-topology.js
index df36ea4b572229117927f61bb569fa800ad470ca..fc06a8c9882ec2e20aec2c75563a10ceda3422e4 100644 (file)
@@ -134,7 +134,7 @@ one.topology.init = function(json) {
                                var data = {};
                                data['x'] = ps.x;
                                data['y'] = ps.y;
-                               $.post('/one/topology/node/' + did, data);
+                               $.post('/controller/web/topology/node/' + did, data);
                        },
                        onClick: function(node, eventInfo, e) {
                                return false;
@@ -207,12 +207,12 @@ one.topology.init = function(json) {
 
 one.topology.update = function() {
        $('#topology').empty();
-       $.getJSON(one.global.remoteAddress+"one/topology/visual.json", function(data) {
+       $.getJSON(one.global.remoteAddress+"controller/web/topology/visual.json", function(data) {
                one.topology.init(data);
        });
 }
 
 /** INIT */
-$.getJSON(one.global.remoteAddress+"one/topology/visual.json", function(data) {
+$.getJSON(one.global.remoteAddress+"controller/web/topology/visual.json", function(data) {
        one.topology.init(data);
 });
\ No newline at end of file