forked from adobe-rnd/aem-commerce-prerender
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.yaml
More file actions
61 lines (61 loc) · 2.32 KB
/
app.config.yaml
File metadata and controls
61 lines (61 loc) · 2.32 KB
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
application:
actions: actions
runtimeManifest:
packages:
aem-commerce-ssg:
license: Apache-2.0
actions:
pdp-renderer:
function: actions/pdp-renderer/index.js
web: 'yes'
runtime: nodejs:18
inputs:
LOG_LEVEL: debug
HLX_CONTENT_URL: "https://main--aem-boilerplate-commerce--hlxsites.aem.live"
HLX_PRODUCTS_TEMPLATE: "https://main--aem-boilerplate-commerce--hlxsites.aem.live/products/default"
HLX_STORE_URL: "https://www.aemshop.net"
HLX_CONFIG_NAME: "configs"
annotations:
final: true
include:
- ["actions/pdp-renderer/templates/*.hbs", "templates/"]
check-product-changes:
function: actions/check-product-changes/index.js
web: 'no'
runtime: nodejs:22
limits:
memorySize: 128
timeout: 3600000
inputs:
LOG_LEVEL: debug
storeUrl: https://www.aemshop.net
orgName: hlxsites
siteName: aem-boilerplate-commerce
configName: configs
# storeCodes: comma-seprated list of store codes.
# i.e. us,uk,it,de,fr,es - or just one
# null if there is a single store and no
# URI prefixes are used
storeCodes: null
# PDPURIPrefix: URI prefix for the Product Pages
# i.e.: /products
PDPURIPrefix: /products
authToken: ${AEM_ADMIN_API_AUTH_TOKEN}
annotations:
final: true
# triggers:
# everyMinTrigger:
# feed: /whisk.system/alarms/interval
# inputs:
# minutes: 1
# rules:
# everyMinRule:
# # When the action is invoked, it first checks
# # that no instances of the same action are already
# # running. If an instance is running, business logic
# # execution is skipped; if no instances are running,
# # it scans the Catalog to check for product changes.
# # The above means that the actual logic is not
# # necessarily executed every minute.
# trigger: everyMinTrigger
# action: check-product-changes