-
Notifications
You must be signed in to change notification settings - Fork 33
/
config-dev.js
45 lines (43 loc) · 1.55 KB
/
config-dev.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
'use strict';
global.DEFAULT_TEMP_LOCATION = './test/staging/';
// DEFAULT_HTTP_LOCATION without trailing slash
global.DEFAULT_HTTP_LOCATION = 'http://localhost:3001';
global.DEFAULT_LOG_LOCATION = '.';
global.DEFAULT_RESULT_LOCATION = './test/staging/';
global.DEFAULT_PORT = 3000;
global.TOKEN_ENDPOINT = 'http://localhost:3001/authorize';
global.SPEC_GENERATOR = 'http://localhost:3001/generate';
global.USERNAME = '';
global.PASSWORD = '';
global.W3C_PUBSYSTEM_URL = 'http://localhost:3001/publish';
global.TR_INSTALL_CMD =
'mkdir -p ./test/staging/$dest && cp -R $source ./test/staging/$dest';
global.UPDATE_TR_SHORTLINK_CMD = '#';
global.MAIL_SENDER = 'Echidna <[email protected]>';
global.MAIL_REPLYTO = '[email protected]';
global.MAILING_LIST = '[email protected]';
global.ATTACH_JSON = false;
global.ALLOWED_CLIENTS = [
// Same host (for tests):
/https?:\/\/localhost(:\d{1,4})?/i,
// W3C:
/https?:\/\/(www\.)?w3c?\.org/i,
// GitHub:
/https?:\/\/w3c\.github\.io/i,
];
global.LDAP_URL = 'ldap://localhost:1389';
global.LDAP_SEARCH_BASE = 'ou=user,dc=example,dc=org';
// LDAP_BIND_DN must contain the placeholder {{username}}
global.LDAP_BIND_DN = 'uid={{username}},ou=user,dc=example,dc=org';
global.GH_TOKEN = '';
global.GH_DIRECTOR_TEAM_ID = '2797096';
global.GH_COMM_TEAM_ID = '2794457';
global.LDAP_USER = 'foo';
global.LDAP_PASSWORD = 'bar';
global.LDAP_GROUPS = [
'cn=123,ou=groups,dc=w3,dc=org',
'cn=456,ou=groups,dc=w3,dc=org',
'cn=32113,ou=groups,dc=w3,dc=org',
'cn=49309,ou=groups,dc=w3,dc=org',
];
global.SKIP_VALIDATION = false;