project-flogo / aws-contrib Goto Github PK
View Code? Open in Web Editor NEWProject Flogo Activities and Triggers for AWS
License: BSD 3-Clause "New" or "Revised" License
Project Flogo Activities and Triggers for AWS
License: BSD 3-Clause "New" or "Revised" License
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.