Skip to content

Commit

Permalink
Merge branch 'main' into MWPW-161354
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil authored Jan 29, 2025
2 parents 1f9ed0d + 830993e commit 5c9e2a5
Show file tree
Hide file tree
Showing 20 changed files with 646 additions and 1,052 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions io-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Setup / First Steps

- install aio cli
- Request access to I/O Runtime in Adobe Corp org
- install aio cli running `npm install -g @adobe/aio-cli`
- Request access to I/O Runtime in Adobe Corp org (you can do that on #milo-dev)
- navigate to Developer Console https://developer.adobe.com/console
- in Mas HealthCheck project, create a workspace with your ldap
- in your workspace click on 'Download all' and copy the auth .json in root of this project
- run `aio app use filename`
- run `aio app use <filename>`
- this should populate the `.env` and the `.aio` file in the project root
- add ODIN_CDN_ENDPOINT,ODIN_ORIGIN_ENDPOINT,WCS_CDN_ENDPOINT,WCS_ORIGIN_ENDPOINT env vars to .env file
- run `npm i`
Expand Down
32 changes: 11 additions & 21 deletions io-actions/app.config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
application:
actions: actions
web: web-src
hooks:
test: npm run test
runtimeManifest:
packages:
MerchAtScale:
license: Apache-2.0
actions:
fetch:
function: src/fragment/fetch.js
runtime: nodejs:18
inputs:
annotations:
require-adobe-auth: false
actions:
fragment:
function: src/fragment/pipeline.js
web: 'yes'
runtime: nodejs:22
annotations:
require-adobe-auth: false
final: true
health-check:
function: src/health-check/index.js
web: 'yes'
runtime: nodejs:18
runtime: nodejs:22
inputs:
ODIN_CDN_ENDPOINT: $ODIN_CDN_ENDPOINT
ODIN_ORIGIN_ENDPOINT: $ODIN_ORIGIN_ENDPOINT
Expand All @@ -24,17 +27,4 @@ application:
annotations:
require-adobe-auth: false
final: true
translate:
function: src/fragment/translate.js
runtime: nodejs:18
inputs:
annotations:
require-adobe-auth: false
sequences:
fragment:
actions: 'fetch,translate'
web: 'yes'
annotations:
require-adobe-auth: false


Loading

0 comments on commit 5c9e2a5

Please sign in to comment.