summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/dataInterface.ts
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2019-01-09 11:41:18 +0800
committerzhangab <zhanganbing@chinamobile.com>2019-01-09 11:41:29 +0800
commitbd4942df4f188a4ec273a5ec95c99acb1ce6bb75 (patch)
treeeedf5c26878e690861f3541123012838da2ffbd4 /usecaseui-portal/src/app/dataInterface.ts
parent2cd40ded13c94a8d44396dda9189716a8964051c (diff)
Support NS Package Upload for VF-C
Change-Id: Ie41e32ad556719b64b5ab66d0c488cbd65e9c83f Issue-ID: USECASEUI-156 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/dataInterface.ts')
-rw-r--r--usecaseui-portal/src/app/dataInterface.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/dataInterface.ts b/usecaseui-portal/src/app/dataInterface.ts
index 954d6804..e092bd03 100644
--- a/usecaseui-portal/src/app/dataInterface.ts
+++ b/usecaseui-portal/src/app/dataInterface.ts
@@ -1,4 +1,8 @@
-
+enum baseUrl{
+ baseUrl = '/api/usecaseui-server/v1' //online
+ // baseUrl = 'http://172.19.44.223/api/usecaseui-server/v1' //local one
+ // baseUrl = 'http://10.73.191.100:8082' //local two
+}
interface homeData {
services:{
number:number,
@@ -50,4 +54,4 @@ interface onboardDataPNF {
total:number,
tableList:string[]
}
-export {homeData, homeVmLineData, servicesSelectData, servicesTableData, creatensData, onboardTableData, onboardDataVNF, onboardDataPNF}
+export {homeData, homeVmLineData, servicesSelectData, servicesTableData, creatensData, onboardTableData, onboardDataVNF, onboardDataPNF , baseUrl}