Where communities thrive


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

    JGrotex on gh-pages

    Update index.html remove logo (compare)

  • Jun 30 09:39

    JGrotex on gh-pages

    Update index.html (compare)

  • Jun 30 09:34

    JGrotex on gh-pages

    Update index.html (compare)

  • Jun 30 09:26

    JGrotex on gh-pages

    Update index.html (compare)

  • Jun 30 09:23

    JGrotex on gh-pages

    Update index.html (compare)

  • Jun 30 07:21

    JGrotex on master

    Update _index.md (compare)

  • Jun 28 09:19
    mend-for-github-com[bot] edited #506
  • Jun 28 09:19
    mend-for-github-com[bot] closed #506
  • Jun 28 09:19
    mend-for-github-com[bot] edited #503
  • Jun 28 09:18

    JGrotex on master

    Update menu-footer.html (compare)

  • Jun 28 09:12

    JGrotex on master

    Update _index.md fix link (compare)

  • Jun 28 09:10

    JGrotex on master

    Update getting-started-webui.md (compare)

  • Jun 27 20:31

    JGrotex on master

    Update README.md (compare)

  • Jun 27 20:01

    JGrotex on master

    Create readme.md (compare)

  • Jun 27 19:55
    JGrotex closed #509
  • Jun 27 19:54

    JGrotex on master

    Update timers.md Changed the n… Merge pull request #561 from dh… (compare)

  • Jun 27 19:54
    JGrotex closed #561
  • Jun 27 19:53
    JGrotex edited #510
  • Jun 27 19:53

    JGrotex on master

    Fix broken link to tibco labs Merge pull request #510 from ra… (compare)

  • Jun 27 19:53
    JGrotex closed #510
Tracy Li
@lixingwang
@caynan No issue in GITHUB yet. Could you please create one? thanks.
Matt Ellis
@mellistibco
@caynan we’d love for you to help implement it :smile: we do have a state service that could potentially be enhanced. Will create an issue to track it and we can use that to collaborate
Tracy Li
@lixingwang
Yes, we do have a state server that can do this kind of work but we need to enhance it to have a persistence layer. Once we have persistence then we can load failed flow instances and restart/rerun it.
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?
1 reply
ShaliniGovindaNayak
@shaliniGovindaNayak

Hai I am exporting a windows build from the flogo web , when I am trying to do that i keep getting the following error on cmd pmt could any one help me solve this issue
'''
info: [16:54:43.609] run command: flogo build -o -e
warn: [16:54:48.006] command exited with code 1: flogo build -o -e
error: [16:54:48.007] Error building project: go: finding github.com/StackExchange/wmi latest
go: finding github.com/go-ole/go-ole/oleutil latest

github.com/shirou/gopsutil/process

/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:184:13: undefined: "golang.org/x/sys/windows".EnumProcesses
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:222:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:271:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:374:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:443:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:489:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:692:32: undefined: "golang.org/x/sys/windows".PROCESS_SUSPEND_RESUME
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:712:32: undefined: "golang.org/x/sys/windows".PROCESS_SUSPEND_RESUME
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:800:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:815:32: undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
/go/pkg/mod/github.com/shirou/gopsutil@v2.20.9+incompatible/process/process_windows.go:815:32: too many errors
'''

Fabián Castillo
@fcastill
The code in that repo where the error is thrown ( https://github.com/shirou/gopsutil/blob/d9f9a85e75b41b9555783b2eee705daf7f3a9b43/process/process_windows.go ) is trying to run APIs that are specific to windows during build/compilation process and it fails because the Flogo Web docker image is running inside a linux environment
In the wmi library's GH issues someone had a similar issue StackExchange/wmi#31 although it's from 2017, it might help. The Flogo Web server is setting the GOOS=windows GOARCH=amd64 env variables when you select the windows/amd64 option in the Web UI.
You can also share a flogo.json that reproduces the error and I can play with it and see if I can make it work on my side
ShaliniGovindaNayak
@shaliniGovindaNayak
sure attaching the flogo.json
ShaliniGovindaNayak
@shaliniGovindaNayak
Fabián Castillo
@fcastill
I was able to build that json without errors in my machine (mac OS) using GOOS=windows GOARCH=amd64 flogo build (golang v1.15) but I was not able to make it work inside the docker container. I created a Dockerfile that only installs flogo CLI directly on top of go's official docker image (golang) and I get the same errors. So there's some incompatibility in the github.com/shirou/gopsutil lib with golang's image (which is built on top of debian) or perhaps there's an additional library that has to be installed in the docker image in order to enable the cross compilation to windows/amd64
Akash Mahapatra
@Ganitagya
Is there a way to use external go code in Flogo apps? Something similar to JAVA, where we provide the path to a jar. Let's say, I have a functional go-code ready. Can I use it in a Flogo app without creating a custom activity? @mellistibco
Andy Hampshire
@ayh20
@Ganitagya You have to wrapper the code to use is as a function or an activity, I've had to do the same myself, it's only a few lines but the wrapper tells flogo the interface and the usage.
3 replies
Tracy Li
@lixingwang
@Ganitagya BTW, this feature supported by flogo enterprise :)
Frank Cohen
@frankcohen
Hi Flogoistas, I'm working on an IoT project - it's a wrist watch. I'm using an ESP32. I need to send short messages from the device to a Web server. Users will have an IoS or Android device with Internet connectivity. I am thinking of using BLE to keep power requirements low. Flogo would be a great transport. Is there a project to develop Flogo for ESP32?
Ihab
@ihabbishara
Hi All,
I've create d custom function in GO, and followed all steps, tested with (_test) file, all seems good.
Zipped it, and added to the Extensions and seems loaded nicely.
image.png
Then in Flogo flow, i've create simple LOG with the New Function which appears in the function list.
All good up to here, when i run the TEST in flogo i get the following:
error --> "Gathering contribution data failed"
Tracy Li
@lixingwang
@ihabbishara The go.mod name must be the function category name. I had shared one with you please have a look
Ray Hindman
@rayhindman_gitlab
Can anyone provide guidance on best practices, security and quality scanning tooling such as SonarQube ?
5 replies
Davor Sauer
@d-sauer
Hi all.. could someone give me bit a hint as I’m aiming to create flogo cli plugin, and first I started with example provided in flogo cli.
Anyhow when I want to install plugin (not published to public GitHub), I’m getting following:
image.png
6 replies
Samip Kothari
@skothari-tibco
This message was deleted
ShaliniGovindaNayak
@shaliniGovindaNayak
1 reply
ShaliniGovindaNayak
@shaliniGovindaNayak
image.png
2 replies
AndreasHeissenberger
@AHeissenberger_twitter
Hi 😁 what kind of data structure is expected by the "Run Stream" CSV Upload for e.g. the simple filter streams example? Thanks
Matt Ellis
@mellistibco
A csv file :smile: the header row maps to the field names when mapping
AndreasHeissenberger
@AHeissenberger_twitter
The stream interface has on field. Name: "input" Type: "integer" my CSV has one column with header "input" and one number per line (UTF-8, NL) and I get this error msg in the log:
May 6, 2021 16:28:12.209
2021-05-06T14:28:12.174Z INFO [flogo.engine] - Application Started
May 6, 2021 16:28:12.209
2021-05-06T14:28:12.174Z INFO [flogo.engine] - Engine Started
May 6, 2021 16:28:12.209
2021-05-06T14:28:12.177Z INFO [flogo.flow-state] - Listening on http://0.0.0.0:9190
May 6, 2021 16:28:12.209
2021-05-06T14:28:12.177Z INFO [flogo.trigger.streamtester] - Listening on http://:9998
May 6, 2021 16:28:13.682
2021-05-06T14:28:13.680Z DEBUG [flogo.trigger.streamtester] - Trigger Output: &streamtester.Output{Data:map[string]interface {}{"2":3}, ColumnNames:[]interface {}(nil)}
May 6, 2021 16:28:13.683
2021-05-06T14:28:13.680Z ERROR [flogo.trigger.streamtester] - Error while executing handler: &errors.errorString{s:"unable to coerce map[string]interface {}{\"2\":3} to int"}
May 6, 2021 16:28:13.683
github.com/project-flogo/core/support/log.(*zapLoggerImpl).Errorf
May 6, 2021 16:28:13.683
/go/pkg/mod/github.com/project-flogo/core@v1.0.0/support/log/zap.go:65
May 6, 2021 16:28:13.683
github.com/project-flogo/stream/trigger/streamtester.(*Emitter).Run.func1
May 6, 2021 16:28:13.683
/go/pkg/mod/github.com/project-flogo/stream/trigger/streamtester@v0.0.0-20200124014152-d2d7c82a602d/emitter.go:115
Matt Ellis
@mellistibco
@fcastill do you happen to know off the top of your head? I’m not at a computer atm otherwise would check
AndreasHeissenberger
@AHeissenberger_twitter
@mellistibco thanks for your quick reply - I got it working - the solution is to switch the stream interface into type object - this is what the Web UI "Run Stream" creates from a CSV
input
1
2
=>
{"input",1}
{"input",2}
Asadullah Farooqi
@afarooqi8
hi i have a question, to implement a flogo trigger I can use the flogogen tool(which is mentioned in the docs) which is the old 0.5.6 version. where currently the Flogo on project-flogo github is using 0.9 version! which one should I use? and the new version 0.9 doesn't support the triggers creation
i compared the triggers from project-flogo github and TIBCO flogo github they are different their code structure is very different, the TIBCO uses flogo-lib where the project-flogo uses core, I am just curious which one should I use and if I should use the 0.9 one then how can I use that for the triggers
Matt Ellis
@mellistibco
@afarooqi8 you should be using everything inside the project-flogo org
skothari12
@skothari12
https://github.com/project-flogo/cli-plugins/tree/master/devtool . This gen tool should create trigger compatible with 0.9 + .
Asadullah Farooqi
@afarooqi8
thanks guys
:)
Asadullah Farooqi
@afarooqi8
can you guys give me a hint how will this process take place?
I can't think of extration of vars from json events
Tracy Li
@lixingwang
Yes @afarooqi8 You can pass as data type any to handler and to flow input.
then it's your/user logic to handle any type data in flow.
Asadullah Farooqi
@afarooqi8
okay thanks :) i'll try to do that by looking at other triggers
Asadullah Farooqi
@afarooqi8
hey @skothari12 the plugin is throwing an error while installation
~/work/repos/flogo/projects:$ flogo plugin install github.com/project-flogo/cli-plugins/devtool
Installing plugin: github.com/project-flogo/cli-plugins/devtool
Error adding plugin: open /home/asd/go/bin/flogo: text file busy
Asadullah Farooqi
@afarooqi8
here i passed the verbose flag and it shows some details
~/go/pkg:$ flogo plugin install github.com/project-flogo/cli-plugins/devtool --verbose
Installing plugin: github.com/project-flogo/cli-plugins/devtool
go: downloading github.com/project-flogo/cli-plugins v0.0.0-20190725132608-2f3a6e16bf7c
go: downloading github.com/project-flogo/cli-plugins/devtool v0.0.0-20190725132608-2f3a6e16bf7c
go get: added github.com/project-flogo/cli-plugins/devtool v0.0.0-20190725132608-2f3a6e16bf7c
Error adding plugin: open /home/asd/go/bin/flogo: text file busy
~/go/pkg:$
Asadullah Farooqi
@afarooqi8
?
Matt Ellis
@mellistibco
Failed to rewrite the flogo bin. Will need to test and perhaps see if a bug was introduced at somepoint. Will check tomorrow and update here @afarooqi8
Asadullah Farooqi
@afarooqi8
okay thanks Matt @mellistibco
skothari12
@skothari12
╭─samip@samip-mac-0 ~/tdv-vol
╰─$ flogo plugin install github.com/project-flogo/cli-plugins/devtool
Installing plugin: github.com/project-flogo/cli-plugins/devtool
Installed plugin: github.com/project-flogo/cli-plugins/devtool
I would make sure if the GOPATH and GOROOT are properly set.
Asadullah Farooqi
@afarooqi8
@skothari12 my go is installed at /usr/local/go/ when I run which go i get /usr/local/go/bin/go. and my GOPATH is /home/asd/go/