by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 30 01:03
    whitesource-for-github-com[bot] labeled #542
  • Jul 30 01:03
    whitesource-for-github-com[bot] opened #542
  • Jul 30 01:03
    whitesource-for-github-com[bot] labeled #541
  • Jul 30 01:03
    whitesource-for-github-com[bot] opened #541
  • Jul 30 01:03
    whitesource-for-github-com[bot] labeled #540
  • Jul 30 01:03
    whitesource-for-github-com[bot] opened #540
  • Jul 23 01:07
    whitesource-for-github-com[bot] labeled #539
  • Jul 23 01:07
    whitesource-for-github-com[bot] opened #539
  • Jun 25 22:48
    fcastill labeled #538
  • Jun 25 22:48
    fcastill labeled #538
  • Jun 25 22:48
    fcastill labeled #538
  • Jun 25 22:34
    fcastill opened #538
  • Jun 25 22:25
    fcastill labeled #537
  • Jun 25 22:25
    fcastill labeled #537
  • Jun 25 22:25
    fcastill assigned #537
  • Jun 25 22:25
    fcastill opened #537
  • Jun 23 03:24
    mellistibco assigned #536
  • Jun 23 03:24
    mellistibco assigned #536
  • Jun 23 03:24
    mellistibco opened #536
  • Jun 22 22:32
    mellistibco closed #535
Shashi Prabhakar
@shashiprab
error message is
flogo install -r /flogo-web/local/engines/flogo-web/recordformatter website.com/flogo/activity/recordformatter Error in installing 'website.com/flogo/activity/recordformatter v0.0.0' Error installing contribution/dependency: go get website.com/flogo/activity/recordformatter@v0.0.0: unrecognized import path "website.com/flogo/activity/recordformatter" (parse https://website.com/flogo/activity/recordformatter?go-get=1: no go-import meta tags ())
Could anyone give me some tips/ideas
Leon Stigter
@retgits
Is website.com/flogo/activity/recordformatter an existing Go module? Flogo install wraps the go get command, so activities you’re trying to install need to be able to work with go get too
8 replies
Reid Lai
@reidlai
Guys, I have already created few new triggers and activities...it is interesting. Based on project-flogo/contrib git repo, i followed this project structure to build different triggers/activities in same git repo. If i am going to contribute these plugins to flogo community, do you think if i should separate these plugins into different repo or keep it in single repo?
Leon Stigter
@retgits
I’d keep them in the same repo
Separate repos might make sense if you’re building a lot of contributions that are grouped together
Like “AWS” or “Azure” groups
Otherwise, like most developers do, I’d keep them in a single repo
3 replies
Samip Kothari
@skothari-tibco
@reidlai there are multiple ways to structure your plugins. You can separate out, keep them in one repo with single go mod or even in a single repo have multiple go.mods. Each methods have its own pros and cons. You can end up managing multiple go.mods with different tags but have really good modularity in terms of code and small binary. Or have a single one but end up compiling all of the code in a single app every time increasing the size of bin. Hence it really depends on the type and the functionality of plugins. As @retgits said, grouping in "AWS"/"Azure" group is a great way for a higher level order. But if you are thinking about go.mods, you might want to take above things into consideration.
Shashi Prabhakar
@shashiprab
@retgits can I send you my activity folder, could you try to install it and see if you can get it listed in the "activities". I'm able to install it from command line but don't see it in the "activities" list for use in an app
Leon Stigter
@retgits
If it's a UI issue, you might want to check with @fcastill... he's the lead dev on the UI and knows a ton of stuff (which I most definitely don't)
Shashi Prabhakar
@shashiprab
ok I will try to find a way to install from the UI, because it may be that there are additional steps to get it listed in the UI. thanks very much
Fabián Castillo
@fcastill
Regarding the UI not listing manually installed contributions, the issue is that there’s currently no way for the UI to know that you have manually updated the underlying flogo engine. In order for an activity/trigger to be listed in the UI the UI needs to re-load the engine data. Currently the UI only syncs its data with the underlying engine when you start the docker container and when you install a contribution through the UI.
So currently the only workaround are either re-starting the docker image or re-installing a contribution through the UI to force the UI to re-load the engine metadata.
Fabián Castillo
@fcastill
Would if be helpful if the UI server exposed a rest endpoint to tell it to re-sync with the engine?
Or perhaps we can watch the go.mod or go.sum for changes and automatically reload the engine data when they change? 🤔
Samip Kothari
@skothari-tibco
@shashiprab are you talking about local activities not showing up in web UI?
Fabián Castillo
@fcastill
@skothari-tibco yes, he’s loading his local activity code into the docker container and running flogo install in the cli inside the docker container. The issue is that after that the UI doesn’t list the installed contribution because it doesn’t know they were changes in the engine.
3 replies
Reid Lai
@reidlai
Dear All, when i create Flogo app, CLI will automatically create src folder and flogo.json....can anyone give me some hints how can i update src folder if i update flogo.json? i always found imports.go always not in sync so need to update it manually.
3 replies
avinashkrishna613
@avinashkrishna613
How to use console trigger ?
4 replies
avinashkrishna613
@avinashkrishna613
How do i use sql query activity in flogo ui?
Reid Lai
@reidlai
Got invalid memory allocation or nil pointer deference when using custom function...need help
8 replies
Anand Pandurangi
@apandurangi

@avinashkrishna613 if console trigger is "CLI", then :
image.png

and command once you shim build and add the binary path to your system PATH:
<binary_name> <arg[0]> <arg[1]> ...

you can also define flags but you need to configure the flag names in the trigger configuration's Handler settings

avinashkrishna613
@avinashkrishna613
I was unable to install flogo cli , whenever i issued "go get -u github.com/project-flogo/cli/..." it returns nothing .
avinashkrishna613
@avinashkrishna613
How do i specify secret key for api calls in rest invoke?
Reid Lai
@reidlai
How to get Context Scope in Trigger Factory method
6 replies
Shashi Prabhakar
@shashiprab
Some praise here for the Flogo folks - I am new to the platform, and I had to fumble around to understand how to work things and get it running including writing my own activity. I got it all working, including an exported app! Pretty nice system
avinashkrishna613
@avinashkrishna613
@reidlai How can i pass query parameters which will be first element of string split. I need to pass queryParam {"id"} which should be equal to first element of string split ?
avinashkrishna613
@avinashkrishna613
@skothari-tibco .
avinashkrishna613
@avinashkrishna613
can we make activities execute in a non sequential way?
Reid Lai
@reidlai
@avinashkrishna613 are u using REST trigger from project-flogo/contrib?
avinashkrishna613
@avinashkrishna613
yes
avinashkrishna613
@avinashkrishna613
This message was deleted
1 reply
Reid Lai
@reidlai

Just build a few Flogo trigger, activities, and functions using golang. Please feel free to try

https://github.com/codelity-co/codelity-flogo-plugins

Samip Kothari
@skothari-tibco
Looks great! Thanks.
mthwle
@mthwle
Dear all, trying to build an app on an Arduino board. I read from previous messages that there is a concept of device profile and the flogodevice cli. Is there any further docs on this please?
Reid Lai
@reidlai

Hi Guys, I know each activity will create Output struct whenever activity finish Eval method. I also understand we can return done indicator (bool) and error object when there is any error within Eval method of Activity. For Flogo App, I also undertand we can set conditional flow based on flow variable for error handling.

However, if we return done indicator (false) and error object between Eval method of Activity, I am expecting there is no output setting for flow evaluation. How can we build exceptional handling in code or thru Flogo UI?

Samip Kothari
@skothari-tibco
@reidlai you mean if you want to execute a certain activity certain amount of time till it returns no errors?
Reid Lai
@reidlai
No, i mean how to do error handling in flogo app
Tracy Li
@lixingwang
@reidlai hope the answers not too late for you. 1. We have error handle flow to catch the error from any error in flow.(return false with error).
  1. We do have error branch, you can branch out from the activity which you try to handle error and the error will pass to this error branch.
1 reply
Andy Hampshire
@ayh20
I see there's a new version of the WebUI up on Docker Hub .... any notes on what's changed ?
Matt Ellis
@mellistibco
@ayh20 bug fixes and the ability to move activities around the canvas
Andy Hampshire
@ayh20
Moving activities :clap: :+1:
Debug/testing by any chance ?
Matt Ellis
@mellistibco
The step back debugger is in there
rahulgit-ps
@rahulgit-ps
Hi Team, I am building flogo on travis-ci. I am getting the error with email tag and github_token : 1.39s$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl
Fetching: dpl-1.10.15.gem (100%)
Successfully installed dpl-1.10.15
1 gem installed
invalid option "--email="
failed to deploy
Leon Stigter
@retgits
Can you share a little bit more what you’re trying to do? Are you building a Flogo app or activities? Which command is executed before it fails, and is there any error in the logs?
rahulgit-ps
@rahulgit-ps
I have just forked the package and ran on travis-ci. Here are my logs : https://travis-ci.com/github/rahulgit-ps/flogo/builds/173794675. It is showing invalid email token error, and if I add email, then it shows github_token error.
Leon Stigter
@retgits
You’ve forked the repository containing the docs and a bunch of samples. The Travis CI job, is there to deploy updated docs when the job is successful. If that’s really what you want to do, you’ll need to provide both a GitHub token and a valid email address. Though I guess you’ll likely want to look at source code repositories like https://GitHub.com/project-Flogo
rahulgit-ps
@rahulgit-ps
ohh....okay. Actually I am more focused towards adding arm64 support to flogo's travis-ci jobs. But as you have mentioned that the project I have forked is only for docs deployment, I guess I am working on the wrong repo then. Probably I should work on other repos provided in your link. Am I making sense?