Skip to content

Commit 7bde54a

Browse files
authored
Merge branch 'main' into CEXT-3914
2 parents cc266a9 + 60e49eb commit 7bde54a

26 files changed

+461
-90
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Get pathPrefix
18-
uses: actions/github-script@v6
18+
uses: actions/github-script@v7
1919
id: get_path_prefix
2020
with:
2121
script: |

.github/workflows/stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
uses: actions/checkout@v4
2525

2626
- name: Get pathPrefix
27-
uses: actions/github-script@v6
27+
uses: actions/github-script@v7
2828
id: get_path_prefix
2929
with:
3030
script: |

.github/workflows/test-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
# Use full version number to avoid cases when a next
6161
# released version is buggy
6262
# About slim image: https://github.com/github/super-linter#slim-image
63-
uses: super-linter/super-linter/slim@v7.0.0
63+
uses: super-linter/super-linter/slim@v7.2.0
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
DEFAULT_BRANCH: main

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/AdobeDocs/commerce-extensibility"
77
},
88
"dependencies": {
9-
"@adobe/gatsby-theme-aio": "4.14.13",
9+
"@adobe/gatsby-theme-aio": "4.14.17",
1010
"gatsby": "4.22.0",
1111
"react": "^17.0.2",
1212
"react-dom": "^17.0.2"
@@ -19,8 +19,7 @@
1919
"build": "NODE_OPTIONS='--max-old-space-size=8192' gatsby build",
2020
"serve": "NODE_OPTIONS='--max-old-space-size=8192' gatsby serve",
2121
"clean": "gatsby clean",
22-
"test": "remark src/pages --quiet --frail",
23-
"lint": "docker run --rm -e RUN_LOCAL=true --env-file .github/super-linter.env -v \"$PWD\":/tmp/lint github/super-linter:slim-v4.10.1"
22+
"test": "remark src/pages --quiet --frail"
2423
},
2524
"packageManager": "yarn@3.2.1",
2625
"devDependencies": {

src/data/navigation/sections/admin-ui-sdk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = [
8181
]
8282
},
8383
{
84-
title: "Admin configuration and local testing",
84+
title: "Admin configuration and testing",
8585
path: "/admin-ui-sdk/configuration.md"
8686
},
8787
{
79.6 KB
Loading
Loading
Loading
Loading

src/pages/admin-ui-sdk/app-registration.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,15 @@ Update the `app.config.yaml` [configuration file](https://developer.adobe.com/ap
134134
```yaml
135135
extensions:
136136
commerce/backend-ui/1:
137-
$include: ext.config.yaml
137+
$include: src/commerce-backend-ui-1/ext.config.yaml
138138
```
139139

140140
This file now declares extensions and redirects to an `ext.config.yaml` file.
141141

142142
## Add or update the `ext.config.yaml`
143143

144+
Add or update the `src/commerce-backend-ui-1/ext.config.yaml` file. The `commerce-backend-ui-1` directory contains the `actions` and `web-src` code.
145+
144146
Your extension configuration file should look like this:
145147

146148
```yaml
@@ -162,8 +164,12 @@ runtimeManifest:
162164
inputs:
163165
LOG_LEVEL: debug
164166
annotations:
165-
require-adobe-auth: false
167+
require-adobe-auth: true
166168
final: true
167169
```
168170

171+
The package name must be `admin-ui-sdk`, and the action must be `registration`. The `function` can point to any route that returns the registration in the correct expected format.
172+
173+
We recommend securing the registration runtime action by setting `require-adobe-auth` to `true`. The Adobe Commerce instance will correctly load registrations securely based on the provided IMS credentials.
174+
169175
Complete this file with the actions from your app.

0 commit comments

Comments
 (0)