- Java 11
- Maven 3.x
- Internet accesses to download needed artifacts
- Configuration is defined in application.properties
mvn quarkus:dev
# Expose the mongo deployed on open shift cluster so that you can access it locally. Exposing mongo on port 34000.
oc port-forward mongodb-benchmark-replica-set-0 34000:27017
# add/update the configuration in Application.properties
quarkus.mongodb.connection-string=mongodb://localhost:34000
# Connect to mongo using mongo CLI tool.
mongo mongodb://developer:password@localhost:34000
The client application exposes an API that can be used to start the test:
curl --location --request POST 'http://localhost:9090/fruits' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "apple",
"description": "apple desc"
}'