Documentation
¶
Overview ¶
Package main is the Azure Container Apps runtime smoke binary for the protosource framework: it wires the example domain handlers (test/order/sample) against the Cosmos DB store and serves them via plain net/http using adapters/httpstandard. This is the Cosmos counterpart of cmd/testdynamo, which serves the same handlers via AWS Lambda.
The handler layer is provider-agnostic — only main() and the wire bindings differ between clouds. That is the cross-cloud parity guarantee the framework promises.
Run against the emulator:
export COSMOS_ENDPOINT=https://localhost:8081 export COSMOS_KEY='C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==' export COSMOS_INSECURE=1 testcosmos-setup create testcosmos # listens on :8080
Click to show internal directories.
Click to hide internal directories.