This bundle plugin will provide a workflow actionlet called "Purge Varnish Cache" that can be added to any workflow process. It is a proof of concept (can be improved or customized) that allows you to create content workflows in dotCMS that will send an HTTP PURGE request to an external Varnish cache. You configure your varnish endpoint using the plugin.properties file here:
/src/main/resources/plugin.properties
To install all you need to do is build the JAR. to do this run ./gradlew jar This will build a jar in the build/libs directory
- To install this bundle:
Copy the bundle jar file inside the Felix OSGI container (dotCMS/felix/load). OR Upload the bundle jar file using the dotCMS UI (CMS Admin->Dynamic Plugins->Upload Plugin).
- To uninstall this bundle:
Remove the bundle jar file from the Felix OSGI container (dotCMS/felix/load). OR Undeploy the bundle using the dotCMS UI (CMS Admin->Dynamic Plugins->Undeploy).