aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js
diff options
context:
space:
mode:
Diffstat (limited to 'epsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js')
-rwxr-xr-xepsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/epsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js b/epsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js
new file mode 100755
index 000000000..bc9e16eaf
--- /dev/null
+++ b/epsdk-app-onap/src/main/webapp/app/fusion/scripts/DS2-controllers/samplePage-route.js
@@ -0,0 +1,19 @@
+appDS2.config(function($routeProvider) {
+ $routeProvider
+ .when('/collaborate_list', {
+ templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/collaborate-list.html',
+ controller: 'collaborateListControllerDS2'
+ })
+ .when('/drools/:filename', {
+ templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-samplePages/drools.html',
+ controller: 'droolsController'
+ })
+ .when('/droolsList', {
+ templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-samplePages/drools-list.html',
+ controller: 'droolsListController'
+ })
+ .otherwise({
+ templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-samplePages/net_map.html',
+ controller : 'netMapController'
+ });
+});