You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This service seems really promising and provides a lot of the functionality I've been looking for. However, I was trying a few things out and it doesn't look like the features that Chalice offers (specifically, API Gateway integration based on functions defined with the @app.route decorator) work when using Domovoi.
Is this intentional? It would be excellent if we could use Domovoi to extend Chalice's existing functionality.
Additionally, since both Domovoi and Chalice rely on an app.py file defining an app variable, it doesn't seem very feasible to use both the Domovoi and Chalice CLI tools within the same project. While I'd prefer to just be able to use Domovoi for everything, this would be an acceptable alternative.
Are there plans to provide support for API Gateway within Domovoi? Thanks for your help!
The text was updated successfully, but these errors were encountered:
The point of Domovoi is to provide an easy way to hook up Lambdas to various events in AWS. To that end it reuses a lot of the machinery that Chalice developed for packaging and deploying Lambdas, and turns off the parts that it doesn't need. The short term way to do what you want is to deploy one app with Chalice, another app with Domovoi, and throw code that's shared between the two into chalicelib/domovoilib.
What you describe is possible, but would require a bunch of changes to how Domovoi patches Chalice behavior. It also has the potential to unnecessarily couple both the deployment process and the entry point behavior of Domovoi to the semantics of API Gateway and the Chalice entry point that it overloads.
Chalice has limited support for mixing "pure Lambda functions" with API Gateway handlers. Chalice authors have also put a lot of thought into making Chalice do more event handling of the kind that Domovoi allows:
This service seems really promising and provides a lot of the functionality I've been looking for. However, I was trying a few things out and it doesn't look like the features that Chalice offers (specifically, API Gateway integration based on functions defined with the
@app.route
decorator) work when using Domovoi.Is this intentional? It would be excellent if we could use Domovoi to extend Chalice's existing functionality.
Additionally, since both Domovoi and Chalice rely on an
app.py
file defining anapp
variable, it doesn't seem very feasible to use both the Domovoi and Chalice CLI tools within the same project. While I'd prefer to just be able to use Domovoi for everything, this would be an acceptable alternative.Are there plans to provide support for API Gateway within Domovoi? Thanks for your help!
The text was updated successfully, but these errors were encountered: