You can use the published applications provided in this repository to simulate some random execution and failure. The container images are tagged after the Camel version that they support.
The application controls two environment variables which you can use to throttle the number of messages and change the error percentage of simulated errors:
MESSAGE_RATE_PER_MINUTE # default, 60
ERROR_PERCENTAGE # default, 10
NOTE: just replace the version with any existing released version.
The applications under /obs-svc directory are equipped with camel-observability-services in order to make it easy to work with Camel Dashboard. They are best suited as they conform to the port convention used by the Camel Monitor Operator.
- docker run -it quay.io/camel-tooling/sample-db-app-main:4.22.0
- docker run -it quay.io/camel-tooling/sample-db-app-quarkus:4.22.0
- docker run -it quay.io/camel-tooling/sample-db-app-sb:4.22.0
The applications under /regular directory are equipped with camel-health and camel-metrics in order to make it still compatible to work with Camel Dashboard. Camel Monitor operator is able to parse the default port and endpoints coming from regular applications.
- docker run -it quay.io/camel-tooling/sample-db-regular-app-main:4.22.0
- docker run -it quay.io/camel-tooling/sample-db-regular-app-quarkus:4.22.0
- docker run -it quay.io/camel-tooling/sample-db-regular-app-sb:4.22.0
This repository has a release process that can be triggered manually using Github actions. It produces applications that are stored in https://quay.io/organization/camel-tooling repository.
It is convenient to bump each new release when all Camel runtimes are available to support (at least every minor version).
The new versions can be deployed on quay.io but running the github action workflow "Build and publish images".
To release on any other container registry, for each application, run the following:
./mvnw clean package
docker build -f src/main/docker/Dockerfile -t squakez/db-app-main:4.22.0 .
# You can also test it:
# docker run -it squakez/db-app-main:4.22.0
docker push squakez/db-app-main:4.22.0
You may replace the repository name, container name and version accordingly.