-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.config.yaml
60 lines (60 loc) · 2.28 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
application:
actions: actions
runtimeManifest:
packages:
aem-commerce-ssg:
license: Apache-2.0
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_ORG_NAME: "hlxsites"
HLX_SITE_NAME: "aem-boilerplate-commerce"
HLX_STORE_URL: "https://www.aemshop.net"
HLX_CONFIG_NAME: "configs"
HLX_PATH_FORMAT: "/products/{urlKey}/{sku}"
# HLX_LOCALES: comma-seprated list of allowed locales.
# i.e. us,uk,it,de,fr,es - or just one
# null if there is a single store and no
# URI prefixes are used
HLX_LOCALES: null
actions:
pdp-renderer:
function: actions/pdp-renderer/index.js
web: 'yes'
runtime: nodejs:18
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:
authToken: ${AEM_ADMIN_API_AUTH_TOKEN}
annotations:
final: true
# parameters:
# COMMERCE_STORE_CODE: "<your_store_code>"
# COMMERCE_STORE_URL: "<your_store_url>"
# COMMERCE_CONFIG_NAME: "<your_config_name>"
# 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