diff options
author | 2017-05-09 14:24:20 -0400 | |
---|---|---|
committer | 2017-05-09 14:44:09 -0400 | |
commit | e2aefda183de4f1c1256d97f7ce09f8bee5477db (patch) | |
tree | 4b0eaf3f153df90591711daf081e63a8b20ace74 /dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js | |
parent | 472635713b7471b300a988db7e907bab0119eaee (diff) |
[ONAP-rebase] Rebase as 1.1.0-SNAPSHOT
Consolidate into a single maven project; no more separate model and client jars.
Change-Id: Ibbba982250b74c0dfd09ee1c65c0fb6c158dd632
Signed-off-by: Christopher Lott <cl778h@att.com>
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js')
-rw-r--r-- | dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js new file mode 100644 index 0000000..28637d6 --- /dev/null +++ b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/home/dbc-spa-router.js @@ -0,0 +1,68 @@ +appDS2.config(function($routeProvider) { + $routeProvider + .when('/dmaap', { + templateUrl: 'app/dbcapp/dmaapaccess/dmaap_access_list.html', + controller : 'dmaapAccessListCtrl' + }) + .when('/dr_feed', { + templateUrl: 'app/dbcapp/datarouter/dr_feed_list.html', + controller : 'drFeedListCtrl' + }) + .when('/dr_pub', { + templateUrl: 'app/dbcapp/datarouter/dr_pub_list.html', + controller: 'drPubListCtrl' + }) + .when('/dr_sub', { + templateUrl: 'app/dbcapp/datarouter/dr_sub_list.html', + controller: 'drSubListCtrl' + }) + .when('/mr_topic', { + templateUrl: 'app/dbcapp/messagerouter/mr_topic_list.html', + controller : "mrTopicListCtrl" + }) + .when('/mr_client', { + templateUrl: 'app/dbcapp/messagerouter/mr_client_list.html', + controller: 'mrClientListCtrl' + }) + /* user category */ + .when('/profile_search', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-profile/profile_searchDS2.html', + controller : "profileSearchCtrlDS2" + }) + .when('/post_search', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-profile/post.html', + controller: 'postController' + }) + .when('/self_profile', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-profile/self_profile.html', + controller: 'selfProfileController' + }) + /* admin category */ + .when('/role_list', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/role_list.html', + controller : 'adminController' + }) + .when('/role_function_list', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/role-function.html', + controller : "adminController" + }) + .when('/jcs_admin', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/jcs_admin.html', + controller: 'adminController' + }) + .when('/admin_menu_edit', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html', + controller: 'AdminMenuEditController' + }) + .when('/usage_list', { + templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-admin/usage.html', + controller: 'usageListControllerDS2' + }) + /* catch-all */ + .otherwise({ + templateUrl: 'app/dbcapp/home/dbc_home_body.html', + controller: 'dbcHomeCtrl' + }) + ; + +});
\ No newline at end of file |