forked from pdsinterop/test-suites
-
Notifications
You must be signed in to change notification settings - Fork 8
/
params-docker.js
84 lines (82 loc) · 2.3 KB
/
params-docker.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
const {
GUI_TYPE_STUB,
GUI_TYPE_OWNCLOUD,
GUI_TYPE_NEXTCLOUD,
GUI_TYPE_SEAFILE,
GUI_TYPE_REVA,
GUI_TYPE_REVANC
} = require('./guiTypes');
module.exports = {
params: {
'From Stub': {
ocmDomain: 'stub1.docker',
guiDomain: 'stub1.docker',
guiType: GUI_TYPE_STUB,
username: 'admin',
password: 'admin'
},
'To Stub': {
ocmDomain: 'stub2.docker',
guiDomain: 'stub2.docker',
guiType: GUI_TYPE_STUB,
username: 'admin',
password: 'admin'
},
'From Reva': {
ocmDomain: 'revad1.docker', // https: port 443, grpc: port 19000
guiDomain: 'revad1.docker',
guiType: GUI_TYPE_REVA,
username: 'einstein',
password: 'relativity'
},
'To Reva': {
ocmDomain: 'revad2.docker', // https: port 443, grpc: port 19000
guiDomain: 'revad2.docker',
guiType: GUI_TYPE_REVA,
username: 'marie',
password: 'radioactivity'
},
'From Revanc': { // should somehow specify that it should send through revanc1.docker instead of its built-in OCM implementation
ocmDomain: 'revanc1.docker', // https: port 443, grpc: port 19000
guiDomain: 'nc1.docker',
guiType: GUI_TYPE_REVANC,
username: 'einstein',
password: 'relativity'
},
'To Revanc': { // should somehow specify that it should receive through revanc2.docker instead of its built-in OCM implementation
ocmDomain: 'revanc2.docker', // https: port 443, grpc: port 19000
guiDomain: 'nc2.docker',
guiType: GUI_TYPE_REVANC,
username: 'marie',
password: 'radioactivity'
},
'From ownCloud': {
ocmDomain: 'oc1.docker',
guiDomain: 'oc1.docker',
guiType: GUI_TYPE_OWNCLOUD,
username: 'einstein',
password: 'relativity'
},
'To ownCloud': {
ocmDomain: 'oc2.docker',
guiDomain: 'oc2.docker',
guiType: GUI_TYPE_OWNCLOUD,
username: 'marie',
password: 'radioactivity'
},
'From Nextcloud': {
ocmDomain: 'nc1.docker',
guiDomain: 'nc1.docker',
guiType: GUI_TYPE_NEXTCLOUD,
username: 'einstein',
password: 'relativity'
},
'To Nextcloud': {
ocmDomain: 'nc2.docker',
guiDomain: 'nc2.docker',
guiType: GUI_TYPE_NEXTCLOUD,
username: 'marie',
password: 'radioactivity'
},
},
};