cc-core-cli 1.0.44 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -8,31 +8,87 @@
8
8
  "title": {},
9
9
  "blocks": [
10
10
  {
11
- "key": "2c0d48d14a1a4132f45f",
11
+ "key": "491de1323dfe4a081997",
12
12
  "type": "column",
13
13
  "layout": {
14
- "num_of_col": 2,
14
+ "num_of_col": 1,
15
15
  "fields": [
16
16
  [
17
17
  {
18
18
  "field": "label",
19
19
  "type": "standard_component",
20
- "unique_key": "standard_component_label_017adaebbc7339747938",
21
- "label": "Api Info",
22
- "entity": "test_setting",
23
- "format": "<h3><strong>Api Info</strong>​<br></h3><table><tbody><tr><td><div>Version<br></div></td><td><div>&nbsp; <strong>${ api_version.0.version }</strong><br></div></td></tr><tr><td><div><span style=\"background-color: transparent;\">Loop Back Ip</span></div></td><td><div>&nbsp; <strong>${ api_version.0.loop_back_ip }</strong><br></div></td></tr><tr><td><div>Queue Concurrency<br></div></td><td><div>&nbsp; <strong>${ api_version.0.queue_concurrency }</strong><br></div></td></tr><tr><td><div>Serve Static Path<br></div></td><td><div>&nbsp; <strong>${ api_version.0.serve_static_path }</strong><br></div></td></tr><tr><td><div>Serve Static<br></div></td><td><div>&nbsp; <strong>${ api_version.0.serve_static }</strong><br></div></td></tr></tbody></table>",
24
- "hide_label": true
20
+ "unique_key": "standard_component_label_203ab8c2d511e0ed02ee",
21
+ "label": "Software Version",
22
+ "entity": "about_page",
23
+ "format": "<h3><strong style=\"font-size: 18px;\">Software Version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.software_version }</span></h3>\n<p>Last date of deployment:&nbsp;${ api_version.0.deploy_date }</p>",
24
+ "hide_label": true,
25
+ "show_empty": false,
26
+ "_translates": {
27
+ "en-US": {
28
+ "label": "Software Version",
29
+ "placeholder": "",
30
+ "description": "",
31
+ "format": "<h3><strong style=\"font-size: 18px;\">Software Version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.software_version }</span></h3>\n<p>Last date of deployment:&nbsp;${ api_version.0.deploy_date }</p>"
32
+ }
33
+ }
25
34
  }
26
- ],
35
+ ]
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "key": "54657c709517706a4d8b",
41
+ "type": "column",
42
+ "layout": {
43
+ "num_of_col": 1,
44
+ "fields": [
45
+ [
46
+ {
47
+ "field": "label",
48
+ "type": "standard_component",
49
+ "unique_key": "standard_component_label_fdb28af5a8f03706e22c",
50
+ "label": "Shopstack CORE Lib version",
51
+ "entity": "about_page",
52
+ "format": "<p><span style=\"font-size: 18px;\"><strong>Shopstack CORE Lib version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.lib_version }</span></span></p>\n<table style=\"border-collapse: collapse; width: 54.8747%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 40%;\">\n <div><span style=\"font-size: 18px;\">NODE VERSION</span></div>\n </td>\n <td style=\"width: 60%;\"><span style=\"font-size: 18px;\">${ api_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">LOOP_BACK_IP</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.loop_back_ip }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MONGO_DB</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.mongo_db }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SESSION_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.session_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">CACHE_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.cache_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_REDIS_URL<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MAX_WORKER</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.max_worker }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_CONCURRENCY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_concurrency }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>",
53
+ "hide_label": true,
54
+ "show_empty": false,
55
+ "_translates": {
56
+ "en-US": {
57
+ "label": "Shopstack CORE Lib version",
58
+ "placeholder": "",
59
+ "description": "",
60
+ "format": "<p><span style=\"font-size: 18px;\"><strong>Shopstack CORE Lib version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.lib_version }</span></span></p>\n<table style=\"border-collapse: collapse; width: 54.8747%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 40%;\">\n <div><span style=\"font-size: 18px;\">NODE VERSION</span></div>\n </td>\n <td style=\"width: 60%;\"><span style=\"font-size: 18px;\">${ api_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">LOOP_BACK_IP</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.loop_back_ip }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MONGO_DB</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.mongo_db }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SESSION_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.session_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">CACHE_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.cache_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_REDIS_URL<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MAX_WORKER</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.max_worker }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_CONCURRENCY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_concurrency }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>"
61
+ }
62
+ }
63
+ }
64
+ ]
65
+ ]
66
+ }
67
+ },
68
+ {
69
+ "key": "aa2eb7a84ccc190d7fc2",
70
+ "type": "column",
71
+ "layout": {
72
+ "num_of_col": 1,
73
+ "fields": [
27
74
  [
28
75
  {
29
76
  "field": "label",
30
77
  "type": "standard_component",
31
- "unique_key": "standard_component_label_ffb897da63e852df881d",
32
- "label": "Admin Info",
33
- "entity": "test_setting",
34
- "format": "<h3><strong>Admin Info</strong><br></h3><table><tbody><tr><td><div>Version<br></div></td><td><div>&nbsp; <strong>${ admin_version.0.version }</strong></div></td></tr><tr><td><div>Cookie Http Only<br></div></td><td><div>&nbsp; <strong>${ admin_version.0.cookie_http_only }</strong><br></div></td></tr><tr><td><div>Cookie Secure<br></div></td><td><div>&nbsp; <strong>${ admin_version.0.cookie_secure }</strong><br></div></td></tr><tr><td><div>Cookie Secure Site<br></div></td><td><div>&nbsp; <strong>${ admin_version.0.cookie_secure_site }</strong><br></div></td></tr></tbody></table>",
35
- "hide_label": true
78
+ "unique_key": "standard_component_label_b4883aefd3589ce3d1da",
79
+ "label": "Shopstack ADMIN Lib version",
80
+ "entity": "about_page",
81
+ "format": "<h3><span style=\"font-size: 18px;\"><strong>Shopstack ADMIN Lib version:&nbsp;</strong><span style=\"background-color: rgb(228, 238, 245); border: 2px solid rgb(51, 124, 171); border-radius: 10px; padding: 5px; color: rgb(51, 124, 171); font-size: 14px;\">${ admin_version.0.lib_version }</span></span></h3>\n<table style=\"border-collapse: collapse; width: 56.8245%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 38.7255%;\"><span style=\"font-size: 18px;\">NODE VERSION<br></span></td>\n <td style=\"width: 61.1111%;\"><span style=\"font-size: 18px;\"> ${ admin_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SECURE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_secure }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_HTTP_ONLY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_http_only }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SAME_SITE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_same_stie }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_APP_KEY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_app_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_SECRET_KEY<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_secret_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY_MEDIA</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway_media }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>",
82
+ "hide_label": true,
83
+ "show_empty": false,
84
+ "_translates": {
85
+ "en-US": {
86
+ "label": "Shopstack ADMIN Lib version",
87
+ "placeholder": "",
88
+ "description": "",
89
+ "format": "<h3><span style=\"font-size: 18px;\"><strong>Shopstack ADMIN Lib version:&nbsp;</strong><span style=\"background-color: rgb(228, 238, 245); border: 2px solid rgb(51, 124, 171); border-radius: 10px; padding: 5px; color: rgb(51, 124, 171); font-size: 14px;\">${ admin_version.0.lib_version }</span></span></h3>\n<table style=\"border-collapse: collapse; width: 56.8245%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 38.7255%;\"><span style=\"font-size: 18px;\">NODE VERSION<br></span></td>\n <td style=\"width: 61.1111%;\"><span style=\"font-size: 18px;\"> ${ admin_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SECURE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_secure }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_HTTP_ONLY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_http_only }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SAME_SITE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_same_stie }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_APP_KEY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_app_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_SECRET_KEY<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_secret_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY_MEDIA</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway_media }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>"
90
+ }
91
+ }
36
92
  }
37
93
  ]
38
94
  ]
@@ -34,6 +34,5 @@
34
34
  "general"
35
35
  ],
36
36
  "restriction": [],
37
- "allow_workflow_actions": false,
38
- "id": "f946f190dcfa07fe4dc4"
37
+ "allow_workflow_actions": false
39
38
  }
@@ -16,13 +16,10 @@
16
16
  "key": "provider",
17
17
  "label": "Provider",
18
18
  "required": true,
19
- "default_value": "s3",
19
+ "default_value": "local",
20
20
  "link_type": "key",
21
21
  "entity": "custom",
22
- "options": [
23
- "local",
24
- "s3"
25
- ],
22
+ "options": [],
26
23
  "mode": "single",
27
24
  "trigger": []
28
25
  }
@@ -133,374 +130,6 @@
133
130
  []
134
131
  ]
135
132
  }
136
- },
137
- {
138
- "key": "c183453032e5c98f1050",
139
- "type": "collapse",
140
- "allow_add": false,
141
- "data_source": "",
142
- "body": [
143
- {
144
- "title": "Local",
145
- "key": "4b8180699f06d9e70e3e",
146
- "blocks": [
147
- {
148
- "key": "3229a1fab4e08bedfd70",
149
- "type": "column",
150
- "layout": {
151
- "num_of_col": 2,
152
- "fields": [
153
- [],
154
- []
155
- ]
156
- }
157
- },
158
- {
159
- "key": "lkm0oiyv89g8tgr9nhrd",
160
- "type": "column",
161
- "layout": {
162
- "num_of_col": 2,
163
- "fields": [
164
- [],
165
- []
166
- ]
167
- }
168
- }
169
- ],
170
- "source_key": "local",
171
- "actions": []
172
- },
173
- {
174
- "title": "S3",
175
- "source_key": "s3",
176
- "actions": [],
177
- "blocks": [
178
- {
179
- "key": "b2011b040e3d13cb22a0",
180
- "type": "column",
181
- "layout": {
182
- "num_of_col": 2,
183
- "fields": [
184
- [
185
- {
186
- "field": "select",
187
- "type": "standard_component",
188
- "unique_key": "standard_component_select_Ckc2XwwoBooRx7vcwD4x",
189
- "key": "type",
190
- "label": "Type",
191
- "required": true,
192
- "default_value": "none",
193
- "link_type": "key",
194
- "entity": "custom",
195
- "options": [
196
- "none",
197
- "node_provide_chain",
198
- "token_file",
199
- "key"
200
- ],
201
- "mode": "single",
202
- "trigger": [
203
- {
204
- "field": "standard_component_input_5ab43d836691041be2ee",
205
- "method": "required",
206
- "value": "'${ s3.type }' === 'key' "
207
- },
208
- {
209
- "field": "standard_component_input_def33693bee7a84481de",
210
- "method": "required",
211
- "value": "'${ s3.type }' === 'key' "
212
- },
213
- {
214
- "field": "standard_component_input_5ab43d836691041be2ee",
215
- "method": "show",
216
- "value": "'${ s3.type }' === 'key' "
217
- },
218
- {
219
- "field": "standard_component_input_def33693bee7a84481de",
220
- "method": "show",
221
- "value": "'${ s3.type }' === 'key' "
222
- },
223
- {
224
- "field": "standard_component_input_4vpww228t02rz2k9qaf3",
225
- "method": "show",
226
- "value": "'${ s3.type }' === 'token_file' && '${ s3.web_identity_token_file_type }' !== ''"
227
- },
228
- {
229
- "field": "standard_component_input_7gsc2s9apd6yzki4q7l8",
230
- "method": "show",
231
- "value": "'${ s3.type }' === 'token_file' && '${ s3.role_arn_type }' !== ''"
232
- },
233
- {
234
- "field": "standard_component_input_0noief27lq1daqngovmg",
235
- "method": "show",
236
- "value": "'${ s3.type }' === 'token_file' && '${ s3.role_session_name_type }' !== ''"
237
- },
238
- {
239
- "field": "standard_component_select_dxj6ax4akpyqx1xoj8y3",
240
- "method": "show",
241
- "value": "'${ s3.type }' === 'token_file' "
242
- },
243
- {
244
- "field": "standard_component_select_svrleqk3v1q21mf2jn2p",
245
- "method": "show",
246
- "value": "'${ s3.type }' === 'token_file' "
247
- },
248
- {
249
- "field": "standard_component_select_bdpvqv9in6sledv7hv2b",
250
- "method": "show",
251
- "value": "'${ s3.type }' === 'token_file' "
252
- }
253
- ]
254
- }
255
- ],
256
- []
257
- ]
258
- }
259
- },
260
- {
261
- "key": "10mpy6uezvrymdzxsw9m",
262
- "type": "column",
263
- "layout": {
264
- "num_of_col": 2,
265
- "fields": [
266
- [
267
- {
268
- "field": "input",
269
- "type": "standard_component",
270
- "unique_key": "standard_component_input_5ab43d836691041be2ee",
271
- "key": "access_key",
272
- "label": "Access Key",
273
- "required": true,
274
- "link_type": "key",
275
- "entity": "not_use",
276
- "input_type": "single_line",
277
- "trigger": []
278
- }
279
- ],
280
- [
281
- {
282
- "field": "input",
283
- "type": "standard_component",
284
- "unique_key": "standard_component_input_def33693bee7a84481de",
285
- "key": "secret_key",
286
- "label": "Secret Key",
287
- "required": true,
288
- "link_type": "key",
289
- "input_type": "password",
290
- "trigger": []
291
- }
292
- ]
293
- ]
294
- }
295
- },
296
- {
297
- "key": "l71c3degiidclw3idhlz",
298
- "type": "column",
299
- "layout": {
300
- "num_of_col": 2,
301
- "fields": [
302
- [
303
- {
304
- "field": "select",
305
- "type": "standard_component",
306
- "unique_key": "standard_component_select_dxj6ax4akpyqx1xoj8y3",
307
- "key": "web_identity_token_file_type",
308
- "label": "Type",
309
- "default_value": "env",
310
- "link_type": "key",
311
- "entity": "custom",
312
- "options": [
313
- "env",
314
- "path"
315
- ],
316
- "mode": "single",
317
- "trigger": []
318
- },
319
- {
320
- "field": "select",
321
- "type": "standard_component",
322
- "unique_key": "standard_component_select_svrleqk3v1q21mf2jn2p",
323
- "key": "role_arn_type",
324
- "label": "Type",
325
- "default_value": "env",
326
- "link_type": "key",
327
- "entity": "custom",
328
- "options": [
329
- "env",
330
- "path"
331
- ],
332
- "mode": "single",
333
- "trigger": []
334
- },
335
- {
336
- "field": "select",
337
- "type": "standard_component",
338
- "unique_key": "standard_component_select_svrleqk3v1q21mf2jn2p",
339
- "key": "role_session_name_type",
340
- "label": "Type",
341
- "default_value": "env",
342
- "link_type": "key",
343
- "entity": "custom",
344
- "options": [
345
- "env",
346
- "path"
347
- ],
348
- "mode": "single",
349
- "trigger": []
350
- }
351
- ],
352
- [
353
- {
354
- "field": "input",
355
- "type": "standard_component",
356
- "unique_key": "standard_component_input_4vpww228t02rz2k9qaf3",
357
- "key": "web_identity_token_file",
358
- "label": "webIdentityTokenFile",
359
- "required": false,
360
- "link_type": "key",
361
- "entity": "not_use",
362
- "input_type": "single_line",
363
- "trigger": []
364
- },
365
- {
366
- "field": "input",
367
- "type": "standard_component",
368
- "unique_key": "standard_component_input_7gsc2s9apd6yzki4q7l8",
369
- "key": "role_arn",
370
- "label": "roleArn",
371
- "required": false,
372
- "link_type": "key",
373
- "entity": "not_use",
374
- "input_type": "single_line",
375
- "trigger": []
376
- },
377
- {
378
- "field": "input",
379
- "type": "standard_component",
380
- "unique_key": "standard_component_input_0noief27lq1daqngovmg",
381
- "key": "role_session_name",
382
- "label": "roleSessionName",
383
- "required": false,
384
- "link_type": "key",
385
- "entity": "not_use",
386
- "input_type": "single_line",
387
- "trigger": []
388
- }
389
- ]
390
- ]
391
- }
392
- },
393
- {
394
- "key": "1a80a1ef1dfe41bdb681",
395
- "type": "column",
396
- "layout": {
397
- "num_of_col": 2,
398
- "fields": [
399
- [
400
- {
401
- "field": "select",
402
- "type": "standard_component",
403
- "unique_key": "standard_component_select_6f24cb9529f9f3f74b88",
404
- "key": "region",
405
- "label": "Region",
406
- "required": true,
407
- "default_value": "ap-southeast-1",
408
- "link_type": "key",
409
- "entity": "custom",
410
- "options": [
411
- "us-east-2",
412
- "us-east-1",
413
- "us-west-1",
414
- "us-west-2",
415
- "af-south-1",
416
- "ap-east-1",
417
- "ap-south-1",
418
- "ap-northeast-3",
419
- "ap-northeast-2",
420
- "ap-southeast-1",
421
- "ap-southeast-2",
422
- "ap-northeast-1",
423
- "ca-central-1",
424
- "eu-central-1",
425
- "eu-west-1",
426
- "eu-west-2",
427
- "eu-south-1",
428
- "eu-west-3",
429
- "eu-north-1",
430
- "me-south-1",
431
- "sa-east-1"
432
- ],
433
- "mode": "single",
434
- "trigger": []
435
- },
436
- {
437
- "field": "input",
438
- "type": "standard_component",
439
- "unique_key": "standard_component_input_a3f7c8ef6bbd9f37a899",
440
- "key": "bucket",
441
- "label": "Bucket",
442
- "required": true,
443
- "link_type": "key",
444
- "entity": "not_use",
445
- "input_type": "single_line",
446
- "trigger": []
447
- },
448
- {
449
- "field": "input",
450
- "type": "standard_component",
451
- "unique_key": "standard_component_input_56dc1c6b3970688d9dda",
452
- "key": "custom_domain",
453
- "label": "Custom Domain",
454
- "link_type": "key",
455
- "entity": "not_use",
456
- "input_type": "single_line",
457
- "trigger": []
458
- }
459
- ],
460
- [
461
- {
462
- "field": "select",
463
- "type": "standard_component",
464
- "unique_key": "standard_component_select_bcf957a575a52dbab7f6",
465
- "key": "acl",
466
- "label": "ACL",
467
- "required": true,
468
- "default_value": "public-read",
469
- "link_type": "key",
470
- "entity": "custom",
471
- "options": [
472
- "private",
473
- "public-read",
474
- "public-read-write",
475
- "aws-exec-read",
476
- "authenticated-read",
477
- "bucket-owner-read",
478
- "bucket-owner-full-control",
479
- "log-delivery-write"
480
- ],
481
- "mode": "single",
482
- "trigger": []
483
- },
484
- {
485
- "field": "input",
486
- "type": "standard_component",
487
- "unique_key": "standard_component_input_bfc0572c3ea23d6a4b7f",
488
- "key": "prefix",
489
- "label": "Prefix",
490
- "required": false,
491
- "link_type": "key",
492
- "entity": "not_use",
493
- "input_type": "single_line",
494
- "trigger": []
495
- }
496
- ]
497
- ]
498
- }
499
- }
500
- ],
501
- "key": "9551b935a7aff43b5064"
502
- }
503
- ]
504
133
  }
505
134
  ],
506
135
  "redirect_mode": "not_redirect"
@@ -5,6 +5,7 @@ const now = require("performance-now");
5
5
  import { Reflector } from "@nestjs/core";
6
6
 
7
7
  import * as _ from "lodash";
8
+ import * as moment from "moment";
8
9
 
9
10
  import { v4 as uuid } from "uuid";
10
11
  import * as rTracer from "cls-rtracer";
@@ -78,7 +79,9 @@ import {
78
79
  FilterInterceptor,
79
80
  AuditLogService,
80
81
  PipelineService,
81
- PipelineJobService
82
+ PipelineJobService,
83
+ PipelineLogService,
84
+ redisCache
82
85
  } from '@shopstack/cc-core-lib/core'
83
86
 
84
87
  import { CUSTOM_MODULES } from "src/modules/modules";
@@ -201,12 +204,14 @@ async function initial(app: NestFastifyApplication) {
201
204
 
202
205
  await initialService(app, PipelineService);
203
206
  await initialService(app, PipelineJobService);
207
+ await initialService(app, PipelineLogService);
204
208
 
205
209
  await initialService(app, EntitiesService);
206
210
  await refreshService(app, EntitiesService);
207
211
  await refreshService(app, ScheduleActionService);
208
212
  await refreshService(app, SettingService);
209
213
 
214
+ redisCache.set("START_TIME", moment().format("DD MMMM YYYY HH:mm"));
210
215
  }
211
216
 
212
217
  async function bootstrap() {