Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 11 20:51
    abramvandergeest labeled #524
  • Dec 11 20:51
    abramvandergeest labeled #524
  • Dec 11 20:51
    abramvandergeest assigned #524
  • Dec 11 20:51
    abramvandergeest labeled #524
  • Dec 11 20:51
    abramvandergeest assigned #524
  • Dec 11 20:51
    abramvandergeest assigned #524
  • Dec 11 20:51
    abramvandergeest opened #524
  • Dec 11 20:46
    abramvandergeest labeled #523
  • Dec 11 20:46
    abramvandergeest labeled #523
  • Dec 11 20:46
    abramvandergeest assigned #523
  • Dec 11 20:46
    abramvandergeest assigned #523
  • Dec 11 20:46
    abramvandergeest assigned #523
  • Dec 11 20:46
    abramvandergeest opened #523
  • Dec 11 20:21
    abramvandergeest labeled #522
  • Dec 11 20:21
    abramvandergeest labeled #522
  • Dec 11 20:21
    abramvandergeest assigned #522
  • Dec 11 20:21
    abramvandergeest assigned #522
  • Dec 11 20:21
    abramvandergeest assigned #522
  • Dec 11 20:21
    abramvandergeest opened #522
  • Dec 11 20:16
    abramvandergeest labeled #520
Fabián Castillo
@fcastill
No, there’s no way to disable the parsing currently. I don’t think escaping the characters would do the trick either.
Right now the UI tries to infer when you’re defining a number vs string vs an expression (which is also a string but that it should be parsed) . I think we need some way to allow to define a string explicitly 🤔
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+