ONOS-5726: augmented implementation of "showIntent" overlay support.
- added acceptIntent() callback hook, to allow overlays to declare which intent types they can display.
Change-Id: I18d0b6f05b0a348623bd5a90d58d996d389bdd95
diff --git a/web/gui/src/main/webapp/app/view/topo/topo.js b/web/gui/src/main/webapp/app/view/topo/topo.js
index 1762cf4..0623478 100644
--- a/web/gui/src/main/webapp/app/view/topo/topo.js
+++ b/web/gui/src/main/webapp/app/view/topo/topo.js
@@ -603,11 +603,13 @@
setMap: setMap
});
+ // pull intent data from the query string...
if (params.key && params.appId && params.appName) {
$scope.intentData = {
key: params.key,
appId: params.appId,
- appName: params.appName
+ appName: params.appName,
+ intentType: params.intentType
};
}