Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 09 22:30

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Sep 09 22:29

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Sep 09 22:25

    mellistibco on master

    Update README.md (#547) https:… (compare)

  • Sep 09 22:25
    mellistibco closed #547
  • Sep 09 22:24
    anborg opened #547
  • Sep 09 22:22
    mellistibco closed #546
  • Sep 09 22:09
    anborg edited #546
  • Sep 09 22:07
    anborg opened #546
  • Sep 08 17:46
    fcastill labeled #545
  • Sep 08 17:45
    fcastill labeled #545
  • Sep 04 22:53
    acoard-aot opened #545
  • Aug 27 17:41

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Aug 27 17:40

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Aug 27 17:36

    mellistibco on master

    Add ARM64 in travis (#544) Sig… (compare)

  • Aug 27 17:36
    mellistibco closed #544
  • Aug 27 10:26
    odidev opened #544
  • Aug 14 14:23

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Aug 14 14:19

    mellistibco on master

    correct cli example command (#5… (compare)

  • Aug 14 14:19
    mellistibco closed #543
  • Aug 13 23:45
    lancedouglas1 opened #543
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?
lancedouglas1
@lancedouglas1

Hello All, I'm using OSS the webui to design some tests, and then running create & build binaries on the CLI from the exported json. In my test i'm using mysql (which I manually include the repo for in the json). I'm pushing my binary to Pivotal Web Services.

My challenge is that the mysql server on AWS uses tls and I'd like to inject the cert.pem as per (https://godoc.org/github.com/go-sql-driver/mysql#RegisterServerPubKey) in the go code before I cli:build->binary it.

Is there a way to modify the actual go code before I build the binary?

Am I approaching this correctly?

Samip Kothari
@skothari-tibco
So you built the mysql-activity and you're using that
lancedouglas1
@lancedouglas1
correct
Samip Kothari
@skothari-tibco
Cool. So you can add fields in the metadata.go file to accept the cert files and use that within your activity.go to connect to MySQL server. You can add those fields to descriptor.json manually or use a cli plugin (should be under cli-plugin/devtool) to automatically sync contents between metadata.go and descriptor.json file.
lancedouglas1
@lancedouglas1
@skothari-tibco awesome, thanks. I'll try that.
Samip Kothari
@skothari-tibco
👍
Milos Veljkovic
@milosveljkovic
Hey guys, sorry for interrupt but I am blocked right now because I do not know in which direction to go. This is all about:
I get from POST request (trigger) json object, and now i am wondering what is the best way to 'process' every of object properties because every of them should go through the mathematical calculation. So what is the best way to do calculation for object's properties, each. Thanks in advance!
Matt Ellis
@mellistibco
hi @milosveljkovic what kind of math operations do you want to perform? do you need a custom activity or just basic operations available as mapping functions? you can add a return activity and reply with the desired json object and use the mapper functions
Milos Veljkovic
@milosveljkovic
I need custom math operations which will transform data from arduino to understandable value (from volt to humidity for example)7
Is there any example of how to use mapper for web ui ?
Matt Ellis
@mellistibco
you may need to implement mapper functions if you need to do something specific. yeah let me find a sample
mapping details, mostly tied to the raw json format, but worth a read: https://tibcosoftware.github.io/flogo/development/flows/mapping/
anborg
@anborg
Is there windows binary for core & ui somewhere > I want to check the system. without installing docker/ golang.
Matt Ellis
@mellistibco
No. You would need Go to build the apps if you didn’t want to use the Docker image. The apps you model are saved as .json files but the engine is compiled based on your json which allows only the required app dependencies to be included
anborg
@anborg
so one Go compilation flogo-core & and another flogo-web - those two is enough to have UI and a basic system?
Matt Ellis
@mellistibco
Yup. You can just use Flogo web and build apps via the web ui and then your target machines that will run your apps don’t need go or any additional dependencies
anborg
@anborg
I tried with master branch, didn't work. Later tried one of the tags, it worked. git checkout -b 632ab63025368b82fccab1497423538e93493c1
Matt Ellis
@mellistibco
What repo? Flogo-web?
anborg
@anborg
yes.
Matt Ellis
@mellistibco
hmm @fcastill
anborg
@anborg
::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [C:\data\projects_go\flogo-web\node_modules\bufferutil\build\bufferutil.vcxproj]
with
[
T=v8::Object
] (compiling source file ..\src\bufferutil.cc)
c:\data\projects_go\flogo-web\node_modules\bufferutil\node_modules\nan\nan.h(1859): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
] (compiling source file ..\src\bufferutil.cc)
c:\data\projects_go\flogo-web\node_modules\bufferutil\src\bufferutil.cc(12): error C2660: 'v8::Value::Int32Value': function does not take 0 arguments [C:\data\projects_go\flogo-web\node_modules\bufferutil\build\bufferutil.vcxproj]
c:\users\pnataraj\appdata\local\node-gyp\cache\14.8.0\include\node\v8.h(2869): note: see declaration of 'v8::Value::Int32Value' (compiling source file ..\src\bufferutil.cc)
c:\data\projects_go\flogo-web\node_modules\bufferutil\src\bufferutil.cc(13): error C2660: 'v8::Value::Int32Value': function does not take 0 arguments [C:\data\projects_go\flogo-web\node_modules\bufferutil\build\bufferutil.vcxproj]
c:\users\pnataraj\appdata\local\node-gyp\cache\14.8.0\include\node\v8.h(2869): note: see declaration of 'v8::Value::Int32Value' (compiling source file ..\src\bufferutil.cc)
gyp ERR! build error
gyp ERR! stack Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\\Bin\\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\apps\scoop\core\apps\nodejs\14.8.0\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command \"C:\\apps\\scoop\\core\\apps\\nodejs\\current\\node.exe\" \"C:\\apps\\scoop\\core\\apps\\nodejs\\current\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" \"rebuild\"
gyp ERR! cwd C:\data\projects_go\flogo-web\node_modules\bufferutil
Fabián Castillo
@fcastill
@anborg Does this happen when running yarn install? Or is it from another command? I’m seeing something similar (in Mac) during yarn install when I use NodeJS v12 and NodeJS v14. However, it’s only a warning about an optional dependency and I can run the app. I can see in your logs that you’re using NodeJS v14.8.0, is there a chance you can downgrade to Node v10 and try?
anborg
@anborg
@fcastill , Right. error was during "yarn install" with master branch on windows.
anborg
@anborg
Is there a component for "Watch folder" if a new file is added, trigger a flow, with that file content as input?
Fabián Castillo
@fcastill
I think we don’t have an official trigger for that but I found some implementations for file watcher triggers from the Flogo comunity in Github https://github.com/search?q=flogo+watcher&type=code
Milos Veljkovic
@milosveljkovic
Any suggestion for solving this error: Post http://localhost:5000/api/arduino/sendData: dial tcp 127.0.0.1:5000: connect: connection refused
I try to do REST(Post) from FLOGO to Asp.Net core ... any ideas?
Samip Kothari
@skothari-tibco
I think it should be like any other connection refused issue. You can start by calling the service not from flogo but from postman itself. Check if the port is open. Check if it has been configured to aceept connections and so forth.