Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 10 20:47

    flogo-oss on gh-pages

    Deploy TIBCOSoftware/flogo to g… (compare)

  • Dec 10 20:44

    mellistibco on master

    Added Apache Pulsar Activity Merge pull request #519 from mm… (compare)

  • Dec 10 20:44
    mellistibco closed #519
  • Dec 10 20:04
    mmussett opened #519
  • 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
tibmatt
@tibmatt
yeah did that. I dont think its completely up to speed with mod yet
oh well. Just….have….to…..write….slower
Leon Stigter
@retgits
Could be worse :wink:
tibmatt
@tibmatt
ok fixed!
‘saving’ the file with no actual changes did the trick
Leon Stigter
@retgits
gotta love VS code ;-)
tibmatt
@tibmatt
well its better than GoLand
Leon Stigter
@retgits
absolutely!!
tibmatt
@tibmatt
now I can add my three lines of code to my fork ;)
tibmatt
@tibmatt
Ok. Next random question from me! Is there a way to turn OFF the evaluation of strings as expressions in flogo-web (Ie a trigger field). OR is there an easy way to add scope to the parser in the web editor?
tibmatt
@tibmatt
More detail. It’s a custom trigger that has a custom expression language in the settings. But flogo-web is trying to evaluate it as an expression and when it sees errors won’t let it save
Matt Ellis
@mellistibco
Hmm good question. I don’t think there is an easy way disable validation. Other than of course just changing the code hehe. @fcastill
I suppose if it were just a string and you escaped any special chars it would work but that’s pretty ugly
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 @ :)