Coder Social home page Coder Social logo

aws-contrib's People

Contributors

mellistibco avatar retgits avatar skothari-tibco avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-contrib's Issues

Lambda Trigger - Log Activity not wokring

I have added logger activities in the my flow.
When I run it after creating Lambda function, I am not seeing any entries in logs related to these log activities.

Below is one of the log activity definition in code:

{
            "id": "log_2",
            "name": "Log_Request",
            "description": "Logs a message",
            "activity": {
              "ref": "#log",
              "input": {
                "addDetails": true,
                "message": "=string.concat('{\"zipC\": \"', $flow.CityCode_Input.zipcode, '\"}')"
              }
            }
          }

Below are the logs from AWS:

2019/11/28 03:43:35 Starting AWS Lambda Trigger..
START RequestId: 2a3efb5c-7f7c-4b99-8a73-175ab2185568 Version: $LATEST
2019/11/28 03:43:35 Received request: 2a3efb5c-7f7c-4b99-8a73-175ab2185568
2019/11/28 03:43:35 Payload Type: unknown
2019/11/28 03:43:35 Payload: 'map[zipcode:07604]'
END RequestId: 2a3efb5c-7f7c-4b99-8a73-175ab2185568
REPORT RequestId: 2a3efb5c-7f7c-4b99-8a73-175ab2185568	Duration: 202.13 ms	Billed Duration: 300 ms	Memory Size: 512 MB	Max Memory Used: 32 MB	Init Duration: 6.79 ms	

"download" action fails with "open /tmp: is a directory"

Even though localLocation is expected to be a directory for download, and it works fine in "Run Flow", it fails when compiled to an application on Mac with this error (regardless of directory), or if file is specified it tries to append the download filename to the directory+filepath.

2020-05-28T20:45:49.319-0700 ERROR [flogo.flow] - Error evaluating activity 's3_9'[github.com/project-flogo/aws-contrib/activity/s3] - open tmp: is a directory

or it tries to open /tmp/filename/filename and fails

Install of S3 activity is failing

Hi I am using Flogo webui, and install is failing with below error, I can install other activities, like this one https://github.com/retgits/flogo-components/activity/amazons3, so I dont think its a problem with my docker container or flogo or proxy.

error: [17:03:44.095] [error] Encountered error while installing the 'https://github.comproject-flogo/aws-contrib/activity/s3' to the engine:
error: [17:03:44.097] Error in installing 'github.comproject-flogo/aws-contrib/activity/s3'
Error installing contribution/dependency: go get github.comproject-flogo/aws-contrib/activity/s3@latest: unrecognized import path "github.comproject-flogo/aws-contrib/activity/s3" (https fetch: Get https://github.comproject-flogo/aws-contrib/activity/s3?go-get=1: Bad Gateway)

debug: [17:03:44.099] Installation of 'https://github.comproject-flogo/aws-contrib/activity/s3' failed in 'installing-to' step.
debug: [17:03:44.099] Starting engine recovery.
debug: [17:03:44.100] [Log] Recovering engine to previous working state..
debug: [17:03:44.109] Resource cleaning: removing the backup folder.
warn: [17:04:23.507] Engine does not exist. Creating...
info: [17:04:23.511] Exec command: flogo create -f /flogo-web/local/engines/exported-app-build.json app-build in /flogo-web/local/engines
info: [17:04:23.530] run command: flogo create -f /flogo-web/local/engines/exported-app-build.json app-build
engine:create: 7889.257ms
info: [17:04:31.401] undefined {"durationMs":7894}
info: [17:04:31.410] [log] Build flogo: "flogo build -o,-e" compileOpts:
info: [17:04:31.425] run command: flogo build -o -e
[log] build output:
[build] Found binary file: /flogo-web/local/engines/app-build/bin/app-build.exe
info: [17:04:47.590] undefined {"durationMs":24093}
info: [17:05:09.688] [log] Install : 'https://github.comproject-flogo/aws-contrib/activity/s3'
debug: [17:05:09.689] Backing up 'src' to 'backupsrc'.
debug: [17:05:09.697] Started installing 'https://github.comproject-flogo/aws-contrib/activity/s3' to the engine.
info: [17:05:09.699] Exec command: flogo install github.comproject-flogo/aws-contrib/activity/s3 in /flogo-web/local/engines/flogo-web
info: [17:05:09.715] run command: flogo install github.comproject-flogo/aws-contrib/activity/s3
warn: [17:05:11.423] command exited with code 1: flogo install github.comproject-flogo/aws-contrib/activity/s3
error: [17:05:11.434] [error] Encountered error while installing the 'https://github.comproject-flogo/aws-contrib/activity/s3' to the engine:
error: [17:05:11.434] Error in installing 'github.comproject-flogo/aws-contrib/activity/s3'
Error installing contribution/dependency: go get github.comproject-flogo/aws-contrib/activity/s3@latest: unrecognized import path "github.comproject-flogo/aws-contrib/activity/s3" (https fetch: Get https://github.comproject-flogo/aws-contrib/activity/s3?go-get=1: Bad Gateway)

debug: [17:05:11.435] Installation of 'https://github.comproject-flogo/aws-contrib/activity/s3' failed in 'installing-to' step.
debug: [17:05:11.435] Starting engine recovery.
debug: [17:05:11.442] [Log] Recovering engine to previous working state..
debug: [17:05:11.459] Resource cleaning: removing the backup folder.
info: [17:06:33.779] [log] Install : 'https://github.com/retgits/flogo-components/activity/amazons3'
debug: [17:06:33.779] Backing up 'src' to 'backupsrc'.
debug: [17:06:33.781] Started installing 'https://github.com/retgits/flogo-components/activity/amazons3' to the engine.
info: [17:06:33.782] Exec command: flogo install github.com/retgits/flogo-components/activity/amazons3 in /flogo-web/local/engines/flogo-web
info: [17:06:33.808] run command: flogo install github.com/retgits/flogo-components/activity/amazons3

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.