Comments (2)
Hello @adriencaccia @fargito,
Great job with Swarmion so far I am a huge (a bit biased) fan !
I think it is important to add some context on the core service that holds the httpApi.
Indeed, almost all services will implicitly depend on this services output. I think it is quite important to provide a bit of guidelines on what you should put (or not) in this service as it breaks the independence of the deployments.
In my opinion in a classical AWS serverless stack it should only contain:
- shared DynamoDB database
- shared eventbridge
- shared api gateway
- if you use Cognito JWT authorizer, it's easier to put it in core also
And that's it (no lambda). It should only contain resources that won't change much while the project lives.
Would love to know what you think should go in this core service !
from swarmion.
We also need to explain the nx-cloud setup in Swarmion. See nrwl/nx#10402 (comment)
from swarmion.
Related Issues (20)
- JSONSchema formats are not handled by AJV in serverless-contracts HOT 1
- Improve the error message when the returned value does not satisfy the return type of the handler
- Update the documentation related to CDK
- @swarmion/nx-plugin:cdk-service creates broken cdk bootstraps HOT 1
- Cannot deploy example in us-east-2 but successful in us-east-1 HOT 4
- Add option to return validation error instead of "Invalid input" when the body doesn't match the bodySchema of the ApiGatewayContract HOT 1
- Typescript lint errors on sample code HOT 7
- Improve @swarmion/integration-tests HOT 1
- Add frontend deployment with CDK HOT 1
- Rename existing serverless examples to serverless-framework-*
- `getMockHandlerInput` and contracts strange behaviour with the `anyOf` option HOT 11
- Omit certain fields from autogeneration in `getMockHandlerInput` HOT 4
- Remove aws-cdk-lib as a peer dependency of serverless-helpers HOT 2
- Improvement to failure error message HOT 1
- Improve documentation on output schemas usage HOT 1
- `getOpenApiDocumentation()` not correctly create the documentation
- Cannot build or deploy `orchestrator` service
- Cannot create swarmion app with same name as template
- Reduce check-example CI time
- New project create, got esliont failure HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarmion.