summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/intent-based-services/constants.ts
blob: 6c3941c132387214716a9cb18b91ac2a12b86b43 (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
58
59
60
61
62
63
64
65
export const STATUS_LIST = {
  Active: 'Active',
  Inactive: 'Inactive'
};

export const COMMUNICATION_FORM_ITEMS = [
	/*******
        title /MUST/: MARK THE ITEM NAME,
        key /MUST/:  MARK THE ITEM KEY,
        type /MUST/: MARKE THE ITEM TYPE, CAN BE ADDED IF NECESSARY: input/select/radio/city-select
        required /MUST/: IF REQUIRED, 
        scoped: IF SCOPED NUMBERS, CAN BE EMITTED IF NOT
        scopedText: SCOPED NUMBERS' DESCRIPTION. IF SCOPED NUMBERS EXITS, IT'S A MUST
        placeholder: IF PLACEHOLDER, CAN BE EMITTED IF NOT
        options: IF ITEM NEEDS OPTIONS, CAN BE EMITTED IF NOT
    ********/
	{
		title: "Communication Service Name",
		key: "name",
		type: "input",
		required: true,
	},
	{
		title: "Intent Instance ID",
		key: "instanceId",
		type: "text",
		required: true,
	},
  {
		title: "Resource Protect Level",
		key: "protect",
		type: "radio",
		required: true,
		options: [
			{
				title: "Protect",
				key: true,
			},
			{
				title: "Non-Protect",
				key: false,
			},
		],
	},
	{
		title: "Access Point 1",
    nodeName: 'Name',
    rateName: 'Bandwidth',
		key: "accessPointOne",
		type: "node_select_one",
		required: true,
	},
	{
		title: "Cloud Point Name",
		key: "cloudPointName",
		type: "select",
		required: true,
		options: [
			{
				title: "tranprotEp_ID_ROOT",
				key: "tranprotEp_ID_ROOT",
			}
		],
	},
];