Git Product home page Git Product logo

fuseless-template's People

Contributors

kukielp avatar pfreitag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fuseless-template's Issues

Invalid API Gateway Response Keys: {'base64Encoded'}

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; }

Integration with Serverless Framework possible

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

onStartup loaded slowly.

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

using Gradle 7+

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.

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.