foundeo / fuseless-template Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
When I fire this demo up and use the sam local start-api and go to the dump page I see the output in the console but it seems to error and the output doesn't make it to the screen. The error is at the start of the content below. Any idea what is going on?
I confirmed it was the correct cfdump code by putting in a test.html file and reviewing the content in the browser.
Invalid API Gateway Response Keys: {'base64Encoded'} in {'statusCode': 200, 'headers': {'Content-Length': '8489', 'Content-Type': 'text/html; charset=UTF-8'}, 'body': '\n<!-- ==start== dump {ts \'2020-04-15 18:17:57\'} fo
rmat: html -->\n<div id="x1" class="-lucee-dump"><style>\n.-lucee-dump .disp-none { display: none; }
Pete:
I like the fuseless project. I was proposing something like this in 2014/15 right when lambda hit the market. So I am glad to see you are making a go of it.
Have you looked into how to integrate this with the serverless framework. I wanted to ask before I dig deeper.
Best,
Bilal
Hi Pete,
I created a lambda function to test our framework code, but onStart even slowly. It always took more than 3000ms. Our lambda function memory is 2048MB.
Is there any way to improve cold start time?
Here is our logs:
"2018-12-06 04:48:16 <> INFO com.foundeo.fuseless.StreamLambdaHandler:43 - StreamLambdaHandler
initializing
2018-12-06 04:48:16 <> INFO com.amazonaws.serverless.proxy.internal.LambdaContainerHandler:97 - Starting Lambda Container Handler
2018-12-06 04:48:17 <> INFO com.foundeo.fuseless.StreamLambdaHandler:49 - StreamLambdaHandler onStartup
2018-12-06 04:48:20 <> INFO com.foundeo.fuseless.StreamLambdaHandler:104 - StreamLambdaHandler onStartup complete: 3216
START RequestId: 24ed50b5-f912-11e8-ba38-edde4f1a2657 Version: $LATEST
2018-12-06 04:48:20 <24ed50b5-f912-11e8-ba38-edde4f1a2657> DEBUG com.foundeo.fuseless.CFMLLambdaContainerHandler:99 - CFMLLambdaContainerHandler handleRequest: /
Framework serverless:
Application vars loaded!!!!!
Request id: 24ed50b5-f912-11e8-ba38-edde4f1a2657
Inclued dump file
Error call encodeForHTML .."
Thanks
Hello Pete,
Can you please guide me the way to get Post json content, like this method in Lucee: https://docs.lucee.org/reference/functions/gethttprequestdata.html?
Thanks
If using gradle 7+ you will errors when building due to the fact that compile and runtime were depreciated and removed.
I was able to get it to successfully build by changing compile() to implementation() and from configurations.runtime to
from configurations.runtimeClasspath.
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.