summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/const
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2021-01-08 09:16:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-08 09:16:00 +0000
commitef6cdb416e078ba33c772299f79cca8680b1d703 (patch)
treea5d455025f25e2b13816af42c9b72a4ea4d381d5 /usecaseui-portal/src/app/const
parent0356c8ae8394adbb28123ddf4e727fc5b64c8fef (diff)
parent5bead046179e8e00c2cc4681992a6ffe24e4b97e (diff)
Merge "feat: embedding vue framwork in angular" into newarc
Diffstat (limited to 'usecaseui-portal/src/app/const')
-rw-r--r--usecaseui-portal/src/app/const/address.ts10
-rw-r--r--usecaseui-portal/src/app/const/index.ts7
-rw-r--r--usecaseui-portal/src/app/const/menu-item.ts90
3 files changed, 107 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/const/address.ts b/usecaseui-portal/src/app/const/address.ts
new file mode 100644
index 00000000..cedeb73a
--- /dev/null
+++ b/usecaseui-portal/src/app/const/address.ts
@@ -0,0 +1,10 @@
+enum ADDRESS {
+ vue = 'http://localhost:8089/',
+ Angular = 'http://localhost:4200/'
+}
+const SELF_SOURCE: string = 'Angular'
+
+export default {
+ ADDRESS,
+ SELF_SOURCE,
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/const/index.ts b/usecaseui-portal/src/app/const/index.ts
new file mode 100644
index 00000000..ad09de2c
--- /dev/null
+++ b/usecaseui-portal/src/app/const/index.ts
@@ -0,0 +1,7 @@
+import address from './address'
+import menu from './menu-item'
+
+export {
+ address,
+ menu
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/const/menu-item.ts b/usecaseui-portal/src/app/const/menu-item.ts
new file mode 100644
index 00000000..70933a85
--- /dev/null
+++ b/usecaseui-portal/src/app/const/menu-item.ts
@@ -0,0 +1,90 @@
+// route table
+
+const MENU_ITEM = [
+ {
+ name: '0', // Angular
+ title: 'Home',
+ children: [],
+ path: '/home',
+ source: 'Angular'
+ },
+ {
+ name: '1', // Angular
+ title: 'Customer',
+ children: [],
+ path: '/management',
+ source: 'Angular'
+ },
+ {
+ name: '2', // Angular
+ title: 'Services',
+ children: [
+ {
+ name: '2-0',
+ title: 'Lifecycle Management',
+ path: '/services/services-list',
+ source: 'Angular'
+ },
+ {
+ name: '2-1',
+ title: 'SOTN Eline',
+ path: '/services/sotn-management',
+ source: 'Angular'
+ },
+ {
+ name: '2-2',
+ title: '5G Sclicing Management',
+ path: '/services/slicing-management',
+ source: 'Angular'
+ },
+ ]
+ },
+ {
+ name: '3', // Angular
+ title: 'Package Managemeny',
+ children: [],
+ path: '/onboard-vnf-vm',
+ source: 'Angular'
+ },
+ {
+ name: '4', // Angular
+ title: 'Network Topology',
+ children: [
+ {
+ name: '4-0',
+ title: 'CCVPN network',
+ path: '/network/ccvpn-network',
+ source: 'Angular'
+ },
+ {
+ name: '4-1',
+ title: 'MDONS Network',
+ path: '/network/mdons-network',
+ source: 'Angular'
+ }
+ ]
+ },
+ {
+ name: '5', // Angular
+ title: 'Monitor',
+ children: [
+ {
+ name: '5-0',
+ title: '5G Slicing',
+ path: '/fcaps/5gslicing',
+ source: 'Angular'
+ }
+ ]
+ },
+ {
+ name: '6', // vue
+ title: 'Test',
+ children: [],
+ path: '/test',
+ source: 'vue'
+ }
+]
+
+export default {
+ MENU_ITEM
+} \ No newline at end of file