Coder Social home page Coder Social logo

Issue with S3 bucket connectivity - Failed to create engine: error unmarshalling flow: unable to compile expression '*****': error parsing expression about flogo-components HOT 9 CLOSED

retgits avatar retgits commented on July 21, 2024
Issue with S3 bucket connectivity - Failed to create engine: error unmarshalling flow: unable to compile expression '*****': error parsing expression

from flogo-components.

Comments (9)

retgits avatar retgits commented on July 21, 2024 1

Just to add our conversation on Gitter here as well:
I just ran the test cases in the repo and they work perfectly, so it’s not an issue in the code of the S3 activity. It might be an issue in either the UI or the way the UI passes the variables to the engine. The Flogo UI team is looking at potential issues.

from flogo-components.

retgits avatar retgits commented on July 21, 2024 1

It looks like there is an issue with the https://github.com/project-flogo/legacybridge project in combination with this code. I know the team built it to solve a few issues when they broke backward compatibility in activities but I'm not sure what it exactly does. You might want to check with the Flogo core team why this error exists.

from flogo-components.

retgits avatar retgits commented on July 21, 2024 1

Not exactly, the issue is still that the legacy bridge passes the context with the values provided in the JSON to the legacy activity. If there's no value associated with it, it passes {}. Having said that, I have contributed a new activity to the main aws-contrib repo project-flogo/aws-contrib#7. As soon as the PR is accepted and merged, you'll be able to use it.

from flogo-components.

neethuabacker avatar neethuabacker commented on July 21, 2024

attaching the app json minus the key and secret values.

s_3_operations (1).zip

from flogo-components.

neethuabacker avatar neethuabacker commented on July 21, 2024

This issue was not related to the connector, I had to restart the flogo container for some reason it was not saving changes. However I am seeing another issue.

Error:
github.com/project-flogo/flow/model/simple.(*TaskBehavior).Eval
/go/pkg/mod/github.com/project-flogo/[email protected]/model/simple/taskbehavior.go:90
github.com/project-flogo/flow/instance.(*IndependentInstance).execTask
/go/pkg/mod/github.com/project-flogo/[email protected]/instance/instances.go:255
github.com/project-flogo/flow/instance.(*IndependentInstance).DoStep
/go/pkg/mod/github.com/project-flogo/[email protected]/instance/instances.go:199
github.com/project-flogo/flow.(*FlowAction).Run.func1
/go/pkg/mod/github.com/project-flogo/[email protected]/action.go:300
2019-11-13T13:32:01.030-0500 ERROR [flogo.flow] - Error evaluating activity 'amazons3_4'[github.com/project-flogo/legacybridge] - interface conversion: interface {} is nil, not string
github.com/project-flogo/core/support/log.(*zapLoggerImpl).Errorf
/go/pkg/mod/github.com/project-flogo/[email protected]/support/log/zap.go:65
github.com/project-flogo/flow/model/simple.(*TaskBehavior).Eval
/go/pkg/mod/github.com/project-flogo/[email protected]/model/simple/taskbehavior.go:93
github.com/project-flogo/flow/instance.(*IndependentInstance).execTask
/go/pkg/mod/github.com/project-flogo/[email protected]/instance/instances.go:255
Please check my project from before, I tried to put "" for fields I did not have values, like locallocation etc

from flogo-components.

neethuabacker avatar neethuabacker commented on July 21, 2024

okay, i will raise a case on flogo git and reference this issue

from flogo-components.

neethuabacker avatar neethuabacker commented on July 21, 2024

Hi, was there a new release to solve this? Mainly it is asking not to pass null on optional fields. Against TIBCOSoftware/flogo#515 I was told this has to be fixed in the connector itself.

from flogo-components.

neethuabacker avatar neethuabacker commented on July 21, 2024

okay, thanks!! i checked there already was not able to see the activity so I thought I should expect a new release here
. Thanks !

from flogo-components.

retgits avatar retgits commented on July 21, 2024

My new activity has been merged into the master branch at https://github.com/project-flogo/aws-contrib, so I suggest using that one πŸ˜„ I'll close the issue here, thanks for reporting it!

from flogo-components.

Related Issues (6)

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.