Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 04 21:35
    akpuvvada closed #518
  • Nov 28 14:35
    akpuvvada edited #518
  • Nov 28 14:35
    akpuvvada edited #518
  • Nov 28 14:34
    akpuvvada opened #518
  • Nov 25 17:08
    mellistibco assigned #290
  • Nov 25 17:08
    mellistibco closed #395
  • Nov 25 17:07
    mellistibco edited #395
  • Nov 25 17:07
    mellistibco closed #238
  • Nov 25 16:56
    mellistibco edited #395
  • Nov 25 16:56
    mellistibco edited #395
  • Nov 25 16:54
    mellistibco closed #299
  • Nov 25 16:53
    mellistibco closed #327
  • Nov 25 16:52
    mellistibco closed #183
  • Nov 25 16:51
    mellistibco closed #203
  • Nov 25 16:51
    mellistibco closed #215
  • Nov 25 16:50
    mellistibco milestoned #215
  • Nov 25 16:50
    mellistibco demilestoned #215
  • Nov 25 16:49
    mellistibco closed #481
  • Nov 25 16:48
    mellistibco closed #221
  • Nov 25 16:41
    mellistibco assigned #513
tibmatt
@tibmatt
maybe in the descriptor add something like “parse”:true|false. If its not present it should be true
Leon Stigter
@retgits
Hi team, does the Flogo engine have hooks for OpenTracing?
Alexandre Vazquez
@alexandrev
There is a listener from square-it
Leon Stigter
@retgits
so the engine itself doesn’t emit metrics? :cry:
Alexandre Vazquez
@alexandrev
Metrics? Yep.. you have a metrics API...
Leon Stigter
@retgits
oh nice! are there any docs or examples for it?
I didn’t seem to be able to find them on the docs site :(
Alexandre Vazquez
@alexandrev
Mmmm mmmm
Now thinking if this is only for Enteprise mmmm
Let me check :)
Leon Stigter
@retgits
Here I am all excited about using this and now you tell me this?! :joy:
Vijay Nalawade
@vijaynalawade
@retgits You can build your own metrics collector :-)
https://github.com/TIBCOSoftware/flogo/wiki/Publish-and-Subscribe-Audit-Events
Leon Stigter
@retgits
Okay!! Totally need to check that out
Thanks for pointing me to that page @vijaynalawade
Yueming Xu
@yxuco
Inside a subflow, can you get a property in the parent flow's scope? In my activity, I use myValue, ok := ctx.ActivityHost().Scope().GetValue(myPropName) to get the value of a flow property (which is not explicitly mapped in the UI). It worked fine in the main flow, but it does not work in subflow because myProp is not in the subflow's scope.
Leon Stigter
@retgits
Hi friends :) is the new activity model completely final, and if so where can I find a good example? I really want to move my Flogo contributions to support the new activity model (and build a few new ones :wink: )
Matt Ellis
@mellistibco
👋 it is. Check out all the activities in GitHub.com/project-flogo
Leon Stigter
@retgits
any particular ones you think are exceptionally well? ;-)
Matt Ellis
@mellistibco
Aren’t they are all well written 😂 check out the rest activity
Leon Stigter
@retgits
I totally assumed you would say yours are really well :smirk:
Matt Ellis
@mellistibco
😃
Andy Hampshire
@ayh20

@retgits I updated some of mine to 0.9 ... for example.... Activity: https://github.com/ayh20/flogo-components/tree/master/activity/mqtt .... Trigger: https://github.com/ayh20/flogo-components/tree/master/trigger/udp

No guareentee that they are done well !

Yueming Xu
@yxuco
I am looking for an API to get the scope data of the parent flow inside a subflow activity, and found that it would work if the host in the project-flogo/flow/instance is exposed, e.g.,
func (ti *TaskInst) Host() *TaskInst {
    h := ti.flowInst.host
    ti.logger.Infof("got host: %+v", h)
    if inst, ok := h.(*TaskInst); ok {
        return inst
    }
    return nil
}
then, I would be able to access the scope of the parent flow by ti.Host().ActivityHost().Scope(). Does this make sense? Is there an API that can achieve this already?
Samip Kothari
@skothari-tibco
I don’t think if there’s an API to do that.
Yueming Xu
@yxuco
when using flogo create, what is the correct syntax to force it to use flogo core/flow 0.9.2? my models are broken when flogo core/flow 0.9.3 is used.
Matt Ellis
@mellistibco
What’s broken in 0.9.3?
-cv is the switch
Yueming Xu
@yxuco
tried the following, and failed, guess it does not work with github tag version.
flogo create --cv 0.9.2 -f audit.json audit_cc
Creating Flogo App: audit_cc
Installing: github.com/project-flogo/core@0.9.2
Error creating project: go: finding github.com/project-flogo/core 0.9.2
Matt Ellis
@mellistibco
@v0.9.2
Yueming Xu
@yxuco
flogo create --cv @v0.9.2 -f audit.json audit_cc
Creating Flogo App: audit_cc
Installing: github.com/project-flogo/core@@v0.9.2
Error creating project: go get github.com/project-flogo/core@@v0.9.2: invalid module version syntax
Matt Ellis
@mellistibco
two @ :)
Yueming Xu
@yxuco
flogo --version
flogo cli version v0.9.0
maybe cli version?
Matt Ellis
@mellistibco
flogo create --cv v0.9.2 -f audit.json audit_cc
Yueming Xu
@yxuco
Thanks. that works, although it changes only core@v0.9.2, flogo/flow is still using v0.9.3. by the way, the problem was that the model uses $.value to map array items, which does not work with v0.9.3. hope that the version of flogo/flow does not matter.
Matt Ellis
@mellistibco
you can add the import into flogo.json: imports[ "github.com/project-flogo/flow@v0.9.1”]
and then flogo imports sync (i think its sync)
Yueming Xu
@yxuco
will try that if it is an issue. thanks.
Wendell Nichols
@wcn00
Just working from the project-flogo getting started page:
wcn00@gandalf:~/go/src/github.com/wcn00$ go get -u github.com/project-flogo/...^C
wcn00@gandalf:~/go/src/github.com/wcn00$ flogo create -f flogo.json
Creating Flogo App: SampleApp
Installing: github.com/project-flogo/core@latest
Error creating project: open pkg/mod/github.com/project-flogo/core@v0.9.3/examples/engine/main.go: no such file or directory
Should I be using project-flogo or TIBCOSoftware/flogo?
Matt Ellis
@mellistibco
@skothari-tibco
you should use project-flogo
Wendell Nichols
@wcn00

Interesting. If I run flogo create and build in the vs-code debugger it works. So I suspect that the above error is related to my shell environment.
Even though the build worked I had a failure:

Error renaming executable: rename /tmp/flogo004258707/wcntest/bin/wcntest /local/home/wcn00/go/src/github.com/wcn00/wcntest/wcntest: invalid cross-device link
Because /tmp and my working dir are on physically separate filesystems (and devices).
I'm running linux.

Samip Kothari
@skothari-tibco
Are you still getting no such file or dir error in shell env ? I’ve seen this issue if the go version is not 1.11+
Samip Kothari
@skothari-tibco
I think the os library ,which we use, won’t allow that. I’m looking at the Docs https://golang.org/pkg/os/#Rename and this statement OS-specific restrictions may apply might encapsulate the issue.
Wendell Nichols
@wcn00
I still get the no such file error if I run from the shell, but not in a debugger. thats a little weird.