The Akamai Purge Replication Event Handler is an OSGi bundle for the Adobe Experience Manager (AEM) platform that uses the Akamai Fast Purge API to purge content from Akamai when content is replicated.
The included event handler listens to replication events for a configurable set of content paths. When content is activated, deactivated, or deleted, the event handler creates a Sling job that sends a request using the Akamai Fast Purge API to invalidate or delete the externalized page/asset URL.
Bundle Version | AEM Version(s) |
---|---|
0.x.x | 6.3, 6.4, 6.5 |
<dependency>
<groupId>com.icfolson.aem.akamai</groupId>
<artifactId>akamai-purge-replication-event-handler</artifactId>
<version>0.0.1</version>
<scope>provided</scope>
</dependency>
Add a service user mapping for the akamai-purge-replication-event-handler
bundle.
Configure the Akamai services as outlined below.
Enable/disable the Akamai replication event handler and configure which resource paths should be purged.
Configure the Akamai network, hostname, and credentials (access token, client token, client secret).
If the Akamai purge request fails, the underlying Sling job will be cancelled and an event will be generated containing the job topic and affected page/asset path.
Applications using this bundle may register services implementing the com.icfolson.aem.akamai.purge.job.delegate.AkamaiPurgeJobCancelledEventHandlerDelegate
interface to provide additional error/failure handling behavior (e.g. email notification). These services will be automatically bound to the default
Akamai purge job cancellation event handler by the framework.
Follows Semantic Versioning guidelines.