aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/dataInterface.ts
blob: 7b8d529aa12886261942c97a140d7b755ded1d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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,
        chartdata:Object[]
    },
    performance:{
        per_Vnf:number,
        per_VmPm:number
    },
    alarm:{
        chartdata:Object[]
    },
    Vm_performance:{
        names:string[]
    }
};

interface homeVmLineData {
    CPU:number[],
    Memory:number[]
}

interface servicesSelectData {
    customer:string[],
    serviceType:string[]
}

interface servicesTableData {
    total:number,
    tableList:string[]
}

interface creatensData {
    total:number,
    tableList:string[]
}

interface onboardTableData {
    total:number,
    tableList:string[]
}

interface onboardDataVNF {
    total:number,
    tableList:string[]
}

interface onboardDataPNF {
    total:number,
    tableList:string[]
}
export {homeData, homeVmLineData, servicesSelectData, servicesTableData, creatensData, onboardTableData, onboardDataVNF, onboardDataPNF , baseUrl}