This is a demo app for use in development or testing scenarios.
Do not use this in production environments!
The application itself provides a set of HTTP endpoints documented in the endpoints.md.
The following scenarios are documented and demonstrated:
- A set of basic shell scripts to dockerize the fake-rabbit application.
- An example of the external configuration that is shown under
/config.html. - Application performance management with glowroot.
- A minimal static HTML frontend that uses
/hello.txtendpoint of the application to show CORS. - A helm kubernetes deployment for the app.
- A plain kubernetes deployment for the app.
- How to serve different endpoints on different ports of the application to allow internal and external application access.
In FakeRabbitWebConfig one can see how to configure CORS in Spring Boot globally.
./gradlew build./gradlew bootRunBuild the application with:
./gradlew bootJarThe distributable fake-rabbit-*.jar will be created under build/libs.
Start the application by running the distributable with java e.g.:
java -jar build/libs/fake-rabbit-0.0.1-SNAPSHOT.jar- Spring Boot
- Spring Web serving content
- Created with Spring Initializr
- Generate a gradle project
- with Java
- and Spring Boot 2.0.4
- Group: de.db8.os.sample
- dependencies: Web
- Artifact: fake-rabbit
