since ‎20-06-2017
‎24-09-2020
SarahXu
Level 2
Re: How do I create a headless application? SarahXu - Project Firefly
Hi there Oliver! To help anyone else who may be looking into this question -- there are 2 ways to create a headless firefly app1. initialize your application without selecting web assets 2. removing web-src from your existing applications
42
Views
1
Like
0
Answers
Re: breaking changes after "upgrade" - problems with "run... SarahXu - Project Firefly
Hi @ursboller Could you provide a bit more information to help us debug? How can we try to reproduce this? Sarah
113
Views
0
Likes
4
Answers
Re: access .env variables in web-src? SarahXu - Project Firefly
Great to hear!
67
Views
0
Likes
0
Comments
Re: Checking Access Credentials within an action SarahXu - Project Firefly
Hi @ursboller What level of access are you looking for? One way I can think of is to pass in the user profile (like product context) from client side as a param into your action, and have your action check that before executing anything. This way you can further restrict access based on user information. Sarah
55
Views
0
Likes
0
Answers
Re: access .env variables in web-src? SarahXu - Project Firefly
you will have access to the ims profile of the user, which is available on client side, so you can potentially further limit user access that way!
85
Views
0
Likes
0
Comments
Re: access .env variables in web-src? SarahXu - Project Firefly
Hi @ursboller You would need to pass that info in through your action. You can pass in the value from .env into your action. Then have the action return these values to be consumed by your frontend code. Hope this helps,Sarah
98
Views
1
Like
4
Answers
Re: AIO local action with error on aio-lib-state init and... SarahXu - Project Firefly
Hi Urs, This is likely because the aio-lib-state (and aio-lib-file) only works within a Runtime namespace and not local environment. This is done as the tvm (token vending machine) that is used to initialize the service exchanges Runtime credentials for access to the service, and we added ip limitations for security reasons to ensure the service is only accessible from Firefly applications. If you deploy your actions this should work! Sarah
105
Views
0
Likes
1
Answers
Re: Scheduler job in Firefly / Runtime SarahXu - Project Firefly
You are correct! Thank you -- sorry for missing the `input` block before the params.
118
Views
0
Likes
0
Comments
Re: Scheduler job in Firefly / Runtime SarahXu - Project Firefly
comment makes it a bit difficult to lay out code but it should look something like this triggers: sample-trigger: feed: /whisk.system/alarms/alarm cron: 0 * * * * trigger_payload: {"name":"Vlad","place":"Transylvania"} startDate: xxxx stopDate: xxxx you can see https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference/prepackages.md#using-the-alarms-package for some more example on the rules you can use for the alarm package
178
Views
0
Likes
0
Comments
Re: Scheduler job in Firefly / Runtime SarahXu - Project Firefly
comment makes it a bit difficult to lay out code but it should look something like this ``` triggers: \ sample-trigger: \ feed: /whisk.system/alarms/alarm \ cron: "0 * * * *
179
Views
0
Likes
0
Comments
Re: Scheduler job in Firefly / Runtime SarahXu - Project Firefly
Hi @eldhov19157560, Yes the alarm package is available. You can read more about it here https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference/prepackages.md#using-the-alarms-package The documentation shows an example for directly using the cli to set up triggers, but you can easily define the trigger through the manifest file. Here's an example manifest file for that. Manifest File Example: “Hello world” Action with a compatible Trigger and Rulepack...
217
Views
0
Likes
8
Answers
Re: Hi, I want to integrate SarahXu - Adobe I/O Cloud Extensibility
Hi @apoorv95, Our apologies for missing this message earlier. It's definitely doable with Kafka API and ACS API. There are two ways to go about it -- 1) you can set up events in Kafka that pushes to a Runtime action when there are new events and have your Runtime action push that data into ACS. 2) you can use Kafka API to retrieve data from Kafka in your Runtime action and push that data into ACS. We have an SDK with ACS that could be helpful for you (https://github.com/adobe/aio-lib-campaign-st...
84
Views
0
Likes
0
Replies
Re: Is there a way we can store data and files in Firefly... SarahXu - Project Firefly
Hi @eldhov19157560 Yes you can! Read more about it on our docs for sample code and usage guide!https://www.adobe.io/apis/experienceplatform/project-firefly/docs.html#!AdobeDocs/project-firefly/master/guides/application_state.md
107
Views
1
Like
0
Answers
Re: Deployment process - stage to production SarahXu - Project Firefly
Hi @alexb75062655 Thank you for using Project Firefly! Currently, there isn't a way to automatically promote your build to production. Here's how you can promote it --Set up your production environment on Console with the same services needed for your application (this is necessary to separate production credentials from stage credentials)Go back to your code. Leverage the following commands to select your production workspace`aio console org list / select``aio console project list / select``aio...
124
Views
0
Likes
0
Answers
Re: Cannot Run Analytics Action SarahXu - Project Firefly
Hi @rbrowne_jcp1 I think this is an error with the Analytics API which is expecting a company id (which looks something like `adobe`). You could follow the Analytics API documentation or contact your system admin to figure out the value for your company. https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/oauth-postman.mdHope this helps,Sarah
120
Views
1
Like
1
Answers
Re: Cannot initiate login: says Company or School Account not supported SarahXu - Project Firefly
Hi @rbrowne_jcp1 we are working on this issue currently! You can tract the progress here. https://github.com/adobe/aio-cli-plugin-auth/issues/49 Our apologies for the belated response -- Adobe was in shutdown last week so we are just coming back to work.
227
Views
0
Likes
0
Comments
Re: Hello World App Error - Something Went Wrong SarahXu - Project Firefly
@joshb45495208 this should be fixed now! please refer to the issue linked for more details.
441
Views
0
Likes
0
Comments
Re: is there a cost associated with project firefly SarahXu - Project Firefly
Hi @surajp86368405 Currently, Project Firefly is offered in Developer Preview program. By “previewing” the technology, customers and partners can try the functionality and give feedback to our product team to further shape our product. Project Firefly is available at no cost to enterprise customers and partners for the duration of the Developer Preview. Pricing and licensing details for General Availability will be announced later this year.Sarah
1089
Views
1
Like
0
Answers