Code Monkey home page Code Monkey logo

Comments (6)

torresashjian avatar torresashjian commented on May 18, 2024 2

Hi @mgdevstack it seems like your activity.json in https://github.com/mgdevstack/flogo-contrib/tree/master/activity/simpletest is missing the "ref" property. Try with this:
{
"name": "simpletest",
"version": "0.0.1",
"type": "flogo:activity",
"ref": "github.com/mgdevstack/flogo-contrib/activity/simpletest",
"description": "Simple Activity to test",
"author": "Mayank Gaikwad [email protected]",
"inputs":[
{
"name": "input",
"type": "string"
}
],
"outputs": [
{
"name": "output",
"type": "string"
}
]
}

from flogo-contrib.

mgdevstack avatar mgdevstack commented on May 18, 2024

@torresashjian, Can you please have look on this as a priority issue. None of my applications are running due to this error where custom activities are involved in the flow.

I tried using docker UI to install my custom activities but it shows "install successful" but activities are not visible in UI to add.

Reference: https://github.com/mgdevstack/flogo-contrib/tree/master/activity/pahoMQTT

from flogo-contrib.

mgdevstack avatar mgdevstack commented on May 18, 2024

@torresashjian, I tried with above fix, but it's not working.
mgdevstack@c007178

As in application's flogo.json, activityref is already provided. I don't think, ref in activity.json should hold any importance. (As we first create activity with flogogen and then push to github / central repo)
i.e. https://github.com/mgdevstack/flogo/blob/098bb642733ce8f7d38939e72fe92653b21ef355/apps/simpleapp/flogo.json#L45

Any other points to debug?

from flogo-contrib.

mgdevstack avatar mgdevstack commented on May 18, 2024

Thanks @torresashjian, I hope, the problem is resolved with your suggestion. If ref attribute in activity.json is the reason behind this issue, we need to fix codebase to pick up activity reference from application's flogo.json (activityRef attribute) not from activity.json (ref attribute) because as earlier mentioned, we create activity first, push this to git and then reference this activity in the application.

Is it worth doing?

from flogo-contrib.

mellistibco avatar mellistibco commented on May 18, 2024

@mgdevstack was your issue resolved? will look into the feasibility around your suggestion. perhaps @fm-tibco has some thoughts?

from flogo-contrib.

mellistibco avatar mellistibco commented on May 18, 2024

Closing with the assumption that the issue is solved... opened a new issue TIBCOSoftware/flogo#183 to track @mgdevstack's suggestion around ref

from flogo-contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.