Chapter 6
The demo repo includes apps and adapter assets.
Generate a Runtime Conditions Profile from the Go request logger source, then use the demo apps and adapter assets to exercise validation and fulfillment workflows.
Request logger app
Standalone Go app module
demos README
cd apps/request-logger-http
go test ./...
Run path
From the rc-demos repository root
kratix/scripts/00-check-prereqs.sh
kratix/scripts/01-install-kratix.sh
kratix/scripts/02-install-promises.sh
kratix/scripts/03-deploy-catalog-and-provider.sh
kratix/scripts/04-deploy-application-release.sh
kratix/scripts/05-smoke-test.sh
What should happen
- 1Generator emits profileAPI and Redis Conditions are discovered from explicit source declarations.
- 2Adapter validates APIThe declared `GET /todos/{id}` operation is checked against the catalog OpenAPI document.
- 3Promises fulfill dependenciesPlatform resources satisfy the environment mappings declared in the profile.
- 4Workload receives envDeployment env entries and Kubernetes Deployment/Service resources are rendered from resolved platform context.
Breaking contract check
The adapter should fail before writing the Deployment
kratix/scripts/06-demo-breaking-change.sh