-
Notifications
You must be signed in to change notification settings - Fork 17
/
microservices.js.template
67 lines (67 loc) · 1.76 KB
/
microservices.js.template
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
export default {
Microservices: {
'platform': {
uri: '${URL_PLATFORM}'
},
'deck': {
uri: '${SERVICE_URL_DECK}'
},
'discussion': {
uri: '${SERVICE_URL_DISCUSSION}'
},
'activities': {
uri: '${SERVICE_URL_ACTIVITIES}'
},
'notification': {
uri: '${SERVICE_URL_NOTIFICATION}'
},
'user': {
uri: '${SERVICE_URL_USER}'
},
'import': {
uri: '${SERVICE_URL_IMPORT}',
protocol: 'https:',
host: '${SERVICE_VAR_IMPORT_HOST}',
path: '/importPPTX',
port: 443
},
'search': {
uri: '${SERVICE_URL_SEARCH}'
},
'file': {
uri: '${SERVICE_URL_FILE}'
},
'pdf': {
uri : '${SERVICE_URL_PDF}'
},
'tag': {
uri : '${SERVICE_URL_TAG}'
},
'translation': {
uri: '${SERVICE_URL_TRANSLATION}'
},
'webrtc' : {
uri : '${SERVICE_URL_SIGNALING}',
iceServers: [//Firefox complained that more than two STUN servers makes discovery slow
{'urls': 'stun:stun.l.google.com:19302'},
{'urls': 'stun:stun.schlund.de'},
]
},
'questions': {
uri: '${SERVICE_URL_QUESTION}'
},
'nlp': {
uri: '${SERVICE_URL_NLP}'
},
'recommender': {
uri: '${SERVICE_URL_RECOMMENDER}'
},
'analytics': {
uri: '${SERVICE_URL_ANALYTICS}'
},
lrs: {
uri: '${SERVICE_LEARNINGLOCKER_API_URL}',
basicAuth: '${SERVICE_LEARNINGLOCKER_API_AUTH}',
},
}
};