-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.config.yaml
145 lines (145 loc) · 4.35 KB
/
app.config.yaml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
application:
actions: actions
web: web-src
runtimeManifest:
packages:
milo-fg:
license: Apache-2.0
inputs:
fgSite: $FG_SITE
fgClientId: $FG_CLIENT_ID
fgAuthority: $FG_AUTHORITY
clientId: $CLIENT_ID
tenantId: $TENANT_ID
certPassword: $CERT_PASSWORD
certKey: $CERT_KEY
certThumbprint: $CERT_THUMB_PRINT
helixAdminApiKeys: $HELIX_ADMIN_API_KEYS
groupCheckUrl: $GROUP_CHECK_URL
fgUserGroups: $FG_USER_GROUPS
fgAdminGroups: $FG_ADMIN_GROUPS
batchFilesPath: $BATCH_FILES_PATH
maxFilesPerBatch: $MAX_FILES_PER_BATCH
numBulkReq: $NUM_BULK_REQUEST
fgDirPattern: $FG_DIR_PATTERN
siteRootPathRex: $SITE_ROOT_PATH_REX
bulkPreviewCheckInterval: $BULK_PREVIEW_CHECK_INTERVAL
maxBulkPreviewChecks: $MAX_BULK_PREVIEW_CHECKS
skipInProgressCheck: $SKIP_INPROGRESS_CHECK
enablePreviewPublish: $ENABLE_PREVEW_PUBLISH
deleteRootPath: $DELETE_ROOT_PATH
maxDeleteFilesPerBatch: $MAX_DELETE_FILES_PER_BATCH
actions:
copy:
function: actions/copy/copy.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
copy-worker:
function: actions/copy/worker.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 3600000
memorySize: 2048
delete:
function: actions/delete/delete.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
delete-create-batch:
function: actions/delete/createBatch.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 1900000
memory: 1024
delete-trigger-n-track:
function: actions/delete/triggerNTrack.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 600000
concurrency: 1
promote:
function: actions/promote/promote.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
promote-create-batch:
function: actions/promote/createBatch.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 1900000
memory: 1024
promote-worker:
function: actions/promote/worker.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 3600000
memorySize: 2048
concurrency: 5
post-copy-worker:
function: actions/promote/postCopyWorker.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 3600000
promote-trigger-n-track:
function: actions/promote/triggerNTrack.js
web: 'no'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 600000
concurrency: 1
promote-status:
function: actions/promoteStatus/promoteStatus.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
status:
function: actions/status/status.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
maint:
function: actions/maint/maint.js
web: 'yes'
runtime: nodejs:16
inputs:
LOG_LEVEL: debug
limits:
timeout: 600000
triggers:
everyMin:
feed: /whisk.system/alarms/interval
inputs:
minutes: 1
rules:
everyMinRule:
trigger: everyMin
action: promote-trigger-n-track
everyMinDeleteRule:
trigger: everyMin
action: delete-trigger-n-track