This documentation targets the API shipped with Pentaho 8.2. Click here for the updated version shipped with Pentaho 8.3.
OSGi Artifacts Deployment
The Pentaho platform is built on top of an OSGi container (Apache Karaf). It allows for a simple modular approach at both development time and runtime, reducing complexity and facilitating deployment.
The Pentaho platform supports deployment via dropping files into the deploy folder. Hot deployment is generally supported. Artifacts are automatically installed and activated (and remain so, even after restarts of the product). Replacing an artifact in the deploy folder will reinstall it. Deleting it, will uninstall it.
When a new file is detected in the deploy folder, the platform “delegates” the file handling to the Pentaho Web Package deployer.
The deployer is able to handle zip and tgz files that include web resources described by a package.json
file.
Multiple web packages can be contained in a single archive, e.g. for provisioning visualization’s dependencies.
Depending on the Pentaho product, the Karaf deploy folder is located at:
- PDI:
system/karaf/deploy
; - Pentaho Server:
pentaho-solutions/system/karaf/deploy
.