since ‎30-09-2019
‎29-08-2020
keilorblend360
Level 1
Re: Configuring runtime in I/O keilorblend360 - Adobe I/O Runtime
We would also like to know this. We are creating custom APIs for clients leveraging Adobe products we are selling, and would like to keep namespaces separated. As-is, we have to use packages for each client. It works, but would we would like more separation between the clients we service.
136
Views
0
Likes
0
Comments
Cron-style Alarm Trigger keilorblend360 - Adobe I/O Runtime
Hey there, I've set up an action I'd like to run at 12:30am EST every night. I've set up my trigger as the following: wsk trigger create test-t4l \ --feed /whisk.system/alarms/alarm \ --param cron "30 0 * * *" \ --param stopDate "2021-10-31T23:59:00.000Z" The trigger is created successfully and when I "get" the trigger, it shows the correct cron schedule. However, I checked the activation logs this morning and the action did not run until 4:30am.Am I missing a timezone difference or something? I...
55
Views
0
Likes
1
Answers and Comments
Weird Runtime Error: The action did not produce a valid response and exited unexpectedly. keilorblend360 - Adobe I/O Runtime
I have two Runtime actions:1) Get a list (array) of files to download (filename -> download URL)2) Upload file contents to database. The array in action 1 contains 200-250 key/value pairs at any given time. Per key/value pair in the Action 1 array, I invoke action 2 (upload files) as non-blocking via the OpenWhisk package. I'm also leveraging a 5 second delay after every 10 results to avoid concurrency error. for (let i = 0; i < filesToUpload.length; i++) { if((i + 1) % 10 === 0 )await sleep(500...
2732
Views
0
Likes
1
Answers and Comments
CORS error on Runtime API endpoint keilorblend360 - Adobe I/O Runtime
I'm setting up an API through OpenWhisk with multiple endpoints:/privacy/jobs/create POST/privacy/jobs/{jobID} GET/privacy/jobs/files/{jobID} GET/privacy/events/ GET and POSTfor my POST /jobs/create endpoint, I am getting CORS errors: Access to XMLHttpRequest at 'https://runtime.adobe.io/apis/****/privacy/jobs/create' from origin 'https://requestdomain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is...
2972
Views
0
Likes
1
Answers and Comments
Re: No Request Body (Payload) in Privacy Event from Adobe... keilorblend360 - Adobe I/O Events
Figured it out. Use the express.json() method to parse your body. Not mentioned in the setup docs.
2646
Views
0
Likes
0
Answers
No Request Body (Payload) in Privacy Event from Adobe IO Events keilorblend360 - Adobe I/O Events
*SOLVED. ANSWER BELOW*I am following the documentation for Subscribing to Privacy Events (found here). Things I have done:1. I have created my local Node.JS/Express App and linked it to ngrok for a public URL.2. I have linked my webhook ngrok url to a Privacy Events integration and verified the challenge. 3. I have set up a "post" route on the root "/" and am logging the request, however there is no body: app.post('/', function(request, response) { console.log(request); console.log(request.body)...
2655
Views
0
Likes
1
Answers and Comments
Likes given to