-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathdefs.js
41 lines (27 loc) · 1.1 KB
/
defs.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
var defs = {
CONTENTTYPE_RSS : 'application/rss+xml',
CONTENTTYPE_TEXT : 'text/plain',
CONTENTTYPE_XML : 'text/xml',
CONTENTTYPE_HTML : 'text/html',
CONTENTTYPE_JSON : 'application/json',
CONTENTTYPE_BINARY : 'application/octet-stream',
CONTENTTYPE_CSV : 'application/csv',
CONTENTTYPE_TSV : 'application/tsv',
RESPONSE_OK : 'OK',
RESPONSE_INPROCESS : 'IN_PROCESS',
RESPONSE_ERROR : 'ERROR',
DEFAULT_CACHE_EXPIRE_SECS : 10*60,
ERR_CONSTRAINT : 'errConstraint',
SIG_RESTART : 'bounce',
JOB_USER_NOTIFICATION : 'userNotify',
JOB_USER_STAT : 'userStat',
JOB_USER_STAT_IN_MB : 'userStatInMB',
JOB_USER_STAT_OUT_MB : 'userStatOutMB',
// JOB_ATTACH_REFERER_ICON : 'attachBipRefererIcon',
JOB_BIP_TRIGGER : 'bipTrigger',
JOB_BIP_ACTIVITY : 'bipActivity',
JOB_BIP_SET_DEFAULTS : 'transformDefaults',
JOB_SET_DEFAULT_SPACE : 'spaceDefault',
JOB_HEAP_DUMP : 'heapDump'
};
module.exports = defs;