Can you do full-stack development with Java? You can! And what about full-stack platform engineering? You can do it too! In this demo, we build a full-Java implementation for all key aspects of an application:
This demo is created for the Mocks as Code workshop by Oleg Nenashev. The same demo setup can be implemented purely in Kotlin, Golang, Python or any other language supported by Pulumi and Testcontainers.
The presentation for this workshop can be found here
For Java tools, consider using sdkman for the demo to make it easier:
sdk env install
sdk env
The code implementation is based on the aws-java-webserver example from pulumi/examples.
Some bits of the demo are inspired by Pulumi CLI fo LocalStack wrapper, which is adapted inside the integration test. The bits of the demo will be converted to a Java implementation for it, contributions are welcome!
To force kill the Pulumi stack:
pulumi stack rm --force oleg-nenashev/mocks-as-code/mocks-as-code-demo
Most of the code is licensed under the Apache License v2, unless specified differently.
The application code is based on the Testing AWS Service Integrations using LocalStack demo, and, hence, it uses the MIT License.