Pospai is a sample application built on top of Apache Sling. Pospai is also a Romanian word that means thin layer of flour, with the added meaning of being superficial or apparent. This struck me as a good name for an application that tried to touch on many aspects of Apache Sling, but does not go in depth into any of them.
The code for the application is spread between
- core, containing custom Java implementations such as Sling Models, Sling Servlets
- ui.apps, containing HTL rendering scripts and the default application content
Packaging and deployment are handled in the following modules
- launcher, containing a set of OSGi Feature Model files
- ui.users, containing a set of sample users and groups
- container, which produces a container image using the docker-maven-plugin
- rpm, which produces an RPM package using the rpm-maven-plugin
Additionally, a sample Kubernets deploment is using Kustomize is present under deploy/kubernetes.