-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
90 lines (87 loc) · 4.09 KB
/
config.js
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
CONFIG = {
"OLS": {
"envs": {
//"local":"http://172.16.122.80:9200/ols/bundle-detail/_search/",
"DEV": "https://search-api-dcg-ols.p2p-trials-dev.cwscloud.net/api/v1/search/",
"UAT": "https://search-api-dcg-ols.p2p-trials-uat.cwscloud.net/api/v1/search/",
"PROD": "https://search-api-dcg-ols.p2p-trials.cwscloud.net/api/v1/search/"
},
"localUrl": "http://localhost:9200/ols",
"indexes": {
"bundle-detail": {
"Device ID": "services.Mobile.device.id",
"Device Name": "services.Mobile.device.name",
"Device Colour": "services.Mobile.device.colour.na",
"Tariff ID": "services.Mobile.tariff.id",
"Manufact ID": "services.Mobile.device.manufacture.id",
"Manufact Name": "services.Mobile.device.manufacture.name",
"Provider ID": "provider.id",
"Monthly Fee": "cost.monthlyFee"
},
"devices": {
"Manufacturer": "manufacturer",
"Score": "score"
}
}
},
"Webhelp": {
"envs": {
"DEV": "https://search-api-webhelp-voda.p2p-trials-dev.cwscloud.net/api/v1/search/",
"UAT": "https://search-api-webhelp-voda.p2p-trials-uat.cwscloud.net/api/v1/search/",
"PROD": "https://search-api-webhelp-voda.p2p-trials.cwscloud.net/api/v1/search/"
},
"localUrl": "http://localhost:9200/webhelp",
"indexes": {
"bundle-detail": {
"Device ID": "services.Mobile.device.id",
"Device Name": "services.Mobile.device.name.na",
//"Device Colour": "services.Mobile.device.colour",
//"Tariff ID": "services.Mobile.tariff.id",
"Manufact ID": "services.Mobile.device.manufacture.id",
"Manufact Name": "services.Mobile.device.manufacture.name",
"Provider ID": "provider.id",
"Monthly Fee": "cost.monthlyFee"
}
},
},
"DCP": {
"envs": {
"DEV": "https://search-api-cap-dcp.p2p-trials-dev.cwscloud.net/api/v1/search/",
"UAT": "https://search-api-cap-dcp.p2p-trials-uat.cwscloud.net/api/v1/search/",
"PROD": "https://search-api-cap-dcp.p2p-trials.cwscloud.net/api/v1/search/"
},
"localUrl": "http://localhost:9200/preston",
"indexes": {
"bundle-detail": {
"Device ID (no colour)": "services.Mobile.device.id",
"Device Name (no colour)": "services.Mobile.name.na",
//"Device ID (no colour)": "services.Mobile.id.na",
"Device Name (with colour)": "services.Mobile.device.name.na",
"Device Colour": "services.Mobile.device.colour.na",
//"Tariff ID": "services.Mobile.tariff.id.na",
"Manufact ID": "services.Mobile.device.manufacture.id",
"Manufact Name": "services.Mobile.device.manufacture.name",
"Provider ID": "provider.id",
"Monthly Fee": "cost.monthlyFee"
}
}
},
"O2": {
"envs": {
"DEV": "https://search-api-cap-o2.p2p-trials-dev.cwscloud.net/api/v1/search/",
"UAT": "https://search-api-cap-o2.p2p-trials-uat.cwscloud.net/api/v1/search/",
"PROD": "https://search-api-cap-o2.p2p-trials.cwscloud.net/api/v1/search/"
},
"localUrl": "http://localhost:9200/o2",
"indexes": {
"bundle-detail": {
"Device ID": "services.Mobile.device.id",
//"Device Name": "services.Mobile.name.na",
"Manufact ID": "services.Mobile.device.manufacture.id",
"Manufact Name": "services.Mobile.device.manufacture.name",
"Provider ID": "provider.id",
"Monthly Fee": "cost.monthlyFee"
}
}
}
};