Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
I tried the function "list('/')" as discribed on github to fetch all files https://github.com/adobe/aio-lib-files#usehowever, there were no results (even Inhave some files saved). after a test I think there souldn't be a "/" as parameter, means just call "list.('')". is this a bug in the github description?
is there an option to access the results from the CORE logger from within an action? Basically access the data which can be fetched from console using "aio rt activation list/get" but within an action. Idea is to have an UI which displays the log results.Currently I have written my own logger which stores some basic debug information within a file in aio-lib-files but it would be more flexibel and future-proof if I could access the CORE logger directly.Here is a screenshot from my own logger which I would love to replace by accessing the "aio rt activation" information:
I've been given a CURL request that builds on this API... https://helpx.adobe.com/uk/analytics/kb/data-insertion-api-post-method-adobe-analytics.html.And at the moment I am building this request manually in my project firefly action.I was wondering if there's an SDK I can install using NPM that will provide some convenience methods around this instead of building the request manually?Thanks
Hello Team, Can anyone help us on how to invoke a Graphql query from Adobe IO runtime environment. Basically we are trying to build an api layer in Adobe io which acts as middle layer between magento and other consuming applications such as AEM. Any reference invocation or Pseudo code will help. @mhaack @mihai-corlan
Is it possible to have an api call that would read all the integration projects in I/O console and retrieve projects and their expirations?
We were playing with the IO Runtime before the App Builder enabled for our Organization. We are using .wskprops for the IO Runtime config. Now while using the App Builder, we can see some strange things. If we use the 'wsk list' or 'aio runtime list', we can see couple of actions, packages, etc... But, in the actions list, we were not able to find the actions which created for App Builder application. Are these (IO Runtime and App Builder ) actions in different namespaces ? If yes, how can I get the logs, activation list (empty response) for the App Builder actions?
I have some errors being returned and being logged out by my headless project firefly app but I'm not sure where to go to see the logs.When I click on the Insights option I just get a blank white screen.Please could someone help me find the logs that are output.Thanks
is there a function to retrieve all variables set in aio-lib-state? something like the function "list()" from aio-lib-files...
I just realized a strange behaviour - let's assume the problem is sitting in front of the desktop ...nevertheless, maybe someone else has the same issue. What happened? I just upgraded npm packages and aio to latest versions and tried the "aio app run --local" as usual. What I see looks as if there is some deployment similar to "aio app deploy" for some of the files, especially the "manifest.yml". not only takes it a lot longer to build my local files, it also looks quite different than before. did something change in the build process?But the most confusing part: I had an app up and running in the same environment (I used "aio app deploy" before) with a schedule to run every hour. after the uprade the hourly scheduled stopped working ... I checked the "aio runtime activation list" without seeing any error. I assume that the last "aio app run -- local" uploaded the manifest.yml and stopped the trigger ...happy to provide more information and get response if somebody has similar is
I have been using this example using `@adobe/jwt-auth` to try and authenticate my external service to invoke my Project Firefly app.My config is like... export default { credentials: { clientId : 'client id', technicalAccountId : 'account id', orgId : 'org', clientSecret : 'secret', metaScopes : 'ent_user_sdk', // This comes from the example privateKey : '-----BEGIN PRIVATE KEY-----\n' + 'My Private Key/n' + '-----END PRIVATE KEY-----\n', }, }; When I try to auth now I get the error...The metascopes in the JWT are not a subset of the metascopes in the bindingI'm not actually sure what a metascope is and how I can find which metascopes are valid.ThanksOliver
maybe I missed a point, but how is it intended to move from a "dev" workspace to "staging" and later "production"? assume I have a local directory with all my files and working in a dev environment, what are the next steps?I assume that I just change the "aio env" by running "aio app use <mydesiredworkspace.json>" and then deploy the app.is this the right way to do it?
I have a simple webapp and have used react router, however within the application the url changes to the route part which is not found by firefly.Here is the webapp with links <Router> <div> <ul> <li> <Link to='/'>Home</Link> </li> <li> <Link to='/button'>Button</Link> </li> </ul> <hr /> <Switch> <Route exact path='/'> <Home/> </Route> <Route path='/button'> <ButtonDemo /> </Route> </Switch> </div> </Router> The URL on navigation is https://experience.adobe.com/?devMode=true#/@ags1008/custom-apps/button which resultsin Error 408 Request Timeout.&n
I have been asked to explore Project Firefly and various uses of it and I'm struggling to understand how to authenticate this call. I'm only at the very beginning of exploration so I have probably missed something and was hoping someone could point me in the right direction.I have created a new generic action (eventually this will connect with Adobe Target but just keeping it simple for now). This new action will be invoked by a webhook from a CMS system that we use. When new content is published it will call this action's URL and the action will handle the request. I just don't know how to authenticate the webhook.In postman I can put in my Bearer token (which I get from `aio login`) but obviously I can't put that into the webhook as it will change over time. How should I go about creating an action that can be authenticated from an external service like this?The only options I have from our CMS is either a basic auth username/password or values to put into custom headers.Thanks
To have a local storage during development on own environment (see https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/aio-local-action-with-error-on-aio-lib-state-init-and-put/qaq-p/377022) I thought I could use my access to Azure and setup containers to be used in the sdk init.But aio-lib-lifes failed with error like "request to url XXX failed - getaddrinfo EAI_AGAIN" and aio-lib-files succeded but I was not able to write any keys...is there any documentation on how to setup MS Azure to handle aio-lib-files and aio-lib-state? is it possible to use this access when running the "aio app run --local"? thanks for any help in this case!
Hi All,I am trying to build and deploy the reference project of 3rd Part CIF on Adobe IO console using https://github.com/adobe/commerce-cif-graphql-integration-reference/tree/dependabot/npm_and_yarn/decompress-4.2.1But facing below error while deploying it on Adobe IO console:Thanks in Advance!!!
I just run an "aio app undeploy" after changing the manifest.yaml and had the following error:maybe it tries to "undeploy" the items according to the new values in the manifest.yaml but not what has been deployed? don't know what problems that might cause - I assume that if all alarm-triggers, rules and actions change the name in manifest.yaml, they would just run again (and throwing an error then stopping?) maybe other issues?
I see a strange error when changing my triggers/rules using whisk alarms/interval. Example: I had a fully running action (interval 5 mins) and wanted to change the interval. after "aio app undeploy" I changed just the "interval" and deployed again, running into issues (see screenshot). then I played around with names of triggers/rules and interval - suddenly running again. There is no obvious spelling mistake in the manifest.yaml so I think there must be another issue. see the list here:Looking closer at the entries I can see that it tryes to run actions with "nodejs:10" (failing) sometimes changeing to "nodejs:12" (success). in the manifest.yaml the action in question has "runtime: 'nodejs:12'" as parameter, maybe that is the issue? but why does it change to "nodejs:10"? any option to force using only "nodejs:12"?Here are the ID's of the last 5 entries in case somebody wants to have a closer look: success: 3211537210944900915372109449000dsuccess: b929585cefc74d43a9585cefc72d4336a
I want to check access credentials within an action of a firefly app. I can see the bearer token in the params, but how can I exctract any information about the user or access credentials? best would be to know what product profiles the user has to make a check against needed permissions. is there any way to retrieve more information about the user to which the bearer token belongs?
is it possible to access the data saved in the .env file within the app? eg. I have a screen and I want to access data saved in the .env file - basically to make a check. or do I really need to write an action for this?
Having an app scren, is it possible to use the libraries aio-lib-state or aio-lib-files and access the data? eg. I want to have some "basic logs" save somewhere and display it on an app screen (component). or do I need to write an action fetching the desired data and then display the response?
Looking at the Adobe Launch API there is a subscription service to register a callback request. the definition of the API reguest can be found here: https://developer.adobelaunch.com/api/reference/1.0/callbacks/create/ I really love the idea of registering my own url within those callbacks, mainly because @jexner wrote a blog about: https://webanalyticsfordevelopers.com/2020/04/07/using-audit-events-in-launch/ the first idea was to expose one of my action to public so that I can be used to register as url in a launch callback. but how to handle "authentication"? and how to prevent somebody else calling my action? I would need to do all the checks about permission within the action itself which seems far too complicated... having more insights about Firefly and triggers/rules within AIO, I assume that the funcationality of those callbacks are based on the same technology as the Firefly rules. basically it creates sort of a "rule" and invoces an action
We have created a property in Adobe I/O runtime and got the namespace vale. But when we are trying to run the below command getting the HTTP Status code 404. Could you please help here.
Hi Adobe,We have got access to I/O runtime beta and received the namespaces for our runtime instances.By following the documentation we configured the aio CLI and were able to upload and invoke a simple action.However I believe we are missing one step in the configuration and we never got runtime connected to our I/O console integration.When we are trying to retrieve the integrations from our I/O sandbox instance via the aio console:list-integrations command we get the following error:» Error: The value "null" is invalid for option "passphrase"We could go around this by generating an access token first with the aio jwt-auth:access-token command.After that we were able to list out the integrations but when we try to run aio console select-integration ORGID_INTID we got the following error:» Error: Cannot retrieve integration: https://api.adobe.io/runtime/admin/namespaces/ORG_ID/INT_ID (404 Not Found)Of course we replaced the ORGID_INTID with the actual values from the nam
I gave an issue somewhere in my action after "aio app deploy". the action is working fine on local "aio app run", but not in deploy. any chance I can see the debug of the action somewhere when app is deployed?
Given an "action A" is running and I want to call (based on conditions) different other actions (from within the same app), what is the best way to achieve this?1) use node-fetch and the action name?2) release an event and the other action listens to? remark: I can't use sequencing since I don't know what the second acrion is. the second action depends on calculation in the first action. if 2), how can I trigger such an event and how can the "listener"? update the manifest.yml?thanks in advance for any help!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.