Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 13 19:16
    mellistibco assigned #515
  • Nov 13 19:16
    mellistibco assigned #515
  • Nov 13 19:11
    neethuabacker edited #515
  • Nov 13 19:10
    neethuabacker opened #515
  • Nov 13 16:56
    akpuvvada opened #514
  • Nov 11 18:55
    mellistibco assigned #513
  • Nov 11 18:54
    neethuabacker opened #513
  • Nov 11 17:03
    neethuabacker opened #512
  • Oct 30 21:15
    mohangr86 opened #511
  • Oct 25 14:51

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Oct 25 14:49
    mellistibco closed #470
  • Oct 25 14:47

    mellistibco on master

    Change id from simple_agg to si… Merge pull request #471 from wk… (compare)

  • Oct 25 14:47
    mellistibco closed #471
  • Oct 25 14:46

    mellistibco on master

    Update items.toml Added EMS Tr… Merge pull request #482 from mm… (compare)

  • Oct 25 14:46
    mellistibco closed #482
  • Oct 25 05:19
    ramgrandhi opened #510
  • Oct 25 04:40
    ramgrandhi opened #509
  • Oct 15 18:32
    abramvandergeest labeled #508
  • Oct 15 18:32
    abramvandergeest labeled #508
  • Oct 15 18:32
    abramvandergeest assigned #508
Matt Ellis
@mellistibco
Thanks
Frank Martinez
@fm-tibco
to use the json property override resolve, you can also add github.com/project-flogo/core/app/propertyresolver to the imports section of your flogo.json
when you do a flogo build, it should add that to your imports.go
@mellistibco do you remember why we don’t import that by default?
Matt Ellis
@mellistibco
🤔 I think we decided that there was no reason if it wasn’t going to be used but I suppose we need either provide some config to add it in the ui or some cli cmd perhaps? Maybe a build arg switch?
sivagtibco
@sivagtibco
i tried to add github.com/project-flogo/core/app/propertyresolver and try to get my property from json still it i am not getting from external prop
Vijay Nalawade
@vijaynalawade
@sivagtibco : how are you running your app? What env vars have you set?
You need set both FLOGO_APP_PROPS_JSON=</path/to/json> FLOGO_APP_PROPS_RESOLVERS=json
Mario Torre
@mtorre-iot
How can I programatically write a script to add my triggers/activities to the flogo Web docker? ?I want to find a way to install my developments on the running flogo docker after I start it.
Leon Stigter
@retgits
You could use the APIs that Flogo Web exposes to do that, though they aren't very well documented. I've built a simple Go app that helps me backup and restore my Flogo apps, which you could use as a starting point to build the same for adding activities. https://github.com/retgits/flogowebhelper
A second option is to build a docker image containing the imports you want to add already. In my dockerfiles repo, there is a folder for Flogo Web (https://github.com/retgits/dockerfiles/tree/master/flogoweb) that contains a Dockerfile and an imports.go that I use to build a new docker container. The imports.go contains all the activities that are important to me, and it saves me a bit of time when starting a new container from scratch
Mario Torre
@mtorre-iot
Thanks @retgits ! this was exactly was I looking for. However, I am getting an error because most of the activities listed in imports.go are not in the flogo original container. I am getting this error: " error: imports.go:15:2: cannot find package "github.com/TIBCOSoftware/flogo-contrib/activity/channel" in any of:
/tmp/flogo-web/build/server/local/engines/flogo-web/src/flogo-web/vendor/github.com/TIBCOSoftware/flogo-contrib/activity/channel (vendor tree)
/usr/local/go/src/github.com/TIBCOSoftware/flogo-contrib/activity/channel (from $GOROOT)
/tmp/flogo-web/build/server/local/engines/flogo-web/src/github.com/TIBCOSoftware/flogo-contrib/activity/channel (from $GOPATH)"
Leon Stigter
@retgits
Hmm 🤔 that’s intriguing as those activities are from Flogo itself... it’s been a while since I’ve used the Web UI so it might be some things have changed. @fcastill have the imports for Flogo Web changed? As in do they need to exist in a different location?
Mario Torre
@mtorre-iot
@retgits I pulled the lastest version of flogo docker and the errors are gone. But I am still struggling - how I make my new docker to contain my contributions?
Leon Stigter
@retgits
If you add your import paths to the “imports.go” file and build a new docker container that would automatically add them
Fabián Castillo
@fcastill
you could also install the activities/triggers through the CLI, which is what the webui does under the covers. Here’s a sample Dockerfile for it: https://gist.github.com/fcastill/25680aae4bac25e854c46fb3126b30a2
Mario Torre
@mtorre-iot
@retgits Great idea - thank you! I guest I am still learning about docker and containers. Cheers!
@fcastill Very useful. Now I get it - thank you!
Leon Stigter
@retgits
@mtorre-iot no problem 😁 we’re here to help!
Alessandro Chimera
@achimera
Hi all, I’ve developed a new activity that captures a picture using a Webcam. It relies on OpenCV and uses https://github.com/hybridgroup/gocv . The issue I have when I execute the binary is that I have the following error:
2019-06-27T09:44:14.044+0200 DEBUG [flogo.activity.actreturn] - Mappings: map[image:=$webcam_1.image status:=$webcam_1.status] Failed to create engine: error unmarshalling flow: unable to find a 'webcam_1’ resolver
I can’t figure out where the problem could be. My activity is available here: https://github.com/achimera/flogo/tree/master/activity/webcam
and the related Flogo flow is attached, named f1_webcam.json
Thanks for any help!
Samip Kothari
@skothari-tibco
The issue seems to be with the flow. I have edited the it.
Alessandro Chimera
@achimera
@skothari-tibco thanks, thanks, thanks!!! It works now :tada:
@skothari-tibco that’s why I like the Flogo WebUI… did I mismatch the setting section?
Samip Kothari
@skothari-tibco
@achimera that’s great. Yes, there was mismatch in settings and mappings.
Ibby Hadeed
@ihadeed
Hey!

Quick newbie question:

According to docs, settings are global for the trigger, and handler settings are per instance.

I tried the REST trigger using the Web UI and I was prompted for a port number in both flows. I tried entering both values, and it looks like the compiled app was starting 2 separate servers that wanted to bind to the same address.

Am I missing something?

Ok, I just figured it out.

I shouldn't be pressing on "New action" at the top. I need to hover over the existing flow and another "New action" button appears that re-uses the same instance of the REST trigger.

Matt Ellis
@mellistibco
🤔
👍
Alexandre Vazquez
@alexandrev
hey guys, quick question. Is there any option to define a property using Flogo OSS Web UI=
¿?
Matt Ellis
@mellistibco
not at this time
Alexandre Vazquez
@alexandrev
thanks @mellistibco , but the ones defined at JSON level should be recognized to be used in UI, right?
Matt Ellis
@mellistibco
Yes, can you make an issue on the flogo-web repo? and we can enhance the ui
Alexandre Vazquez
@alexandrev
sure! :)
Matt Ellis
@mellistibco
thanks
Alexandre Vazquez
@alexandrev
what is the equivalent from FE array.create in OSS?
is there one?
Alexandre Vazquez
@alexandrev
you saved my life :)
Tracy Li
@lixingwang
WE just added them last week :)
Alexandre Vazquez
@alexandrev
:)
LakshmiMekala
@LakshmiMekala
Hi @mellistibco, graphql schema parsing error observed for graphql trigger - opened an issue project-flogo/graphql#10.
Mrinal Virnave
@mrinalvirnave
Just wanted to confirm. flogo-web is now Open sourced (BSD3) correct? I found the LICENSE file committed April 1st by @mellistibco, but just wanted to make sure. My company had earlier passed on flogo as a UI enabled code publishing solution. I believe the exact words from one of my fellow developers was "It's Awesome but not Open Source Awesome"
Leon Stigter
@retgits
Yup :smile: source code is here https://github.com/project-flogo/flogo-web
Pretty awesome to hear you’re looking to use Flogo! Let us know if there is anything we can do to help