replication-api

Manage AEM 6.5 LTS replication via the Replicator API for activation and deactivation.

1|Updated Oct 7, 2024
One-click install
npx skills add https://github.com/valithedge/etisalatedge --skill replication-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: replication-api
Source: https://github.com/valithedge/etisalatedge/tree/main/.agents/skills/replication-api
Command: npx skills add https://github.com/valithedge/etisalatedge --skill replication-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a programmatic interface to manage AEM 6.5 LTS replication tasks, enabling automated content activation, deactivation, and status handling.

Core Features & Use Cases

  • Programmatic replication control: replicate content to activate or deactivate across publish instances.
  • Status and status checks: query replication status and last action for governance and auditing.
  • Workflow and automation: integrate with OSGi services, servlets, or workflows to drive custom distribution processes.

Quick Start

Activate a given path using the Replicator API with ACTIVATE.

Frequently Asked Questions about replication-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically activate content in AEM 6.5 LTS?

To programmatically activate content in AEM 6.5 LTS, use the Replicator API with ReplicationActionType.ACTIVATE to trigger replication on a specified path. This enables automated content activation across publish instances within an OSGi environment.

Can I check the replication status of a path using the AEM Replicator API?

Yes, you can check replication status using the ReplicationStatus interface exposed by the AEM Replicator API. Querying this interface allows you to retrieve the last replication action and current status for content auditing and governance purposes.

Does the AEM Replicator API support custom OSGi workflows for batch activation?

Yes, the AEM Replicator API supports custom OSGi workflows for batch activation. By integrating ReplicationOptions and the Replicator interface into OSGi services or servlets, you can build automated workflows to handle cross-agent content distribution.

What's the best way to deactivate content programmatically in AEM?

The best way to deactivate content programmatically in AEM is by invoking the Replicator API with ReplicationActionType.DEACTIVATE. This method programmatically removes content from publish instances while operating within a Sling environment.

Do I need Maven dependencies to use the AEM Replicator API in an OSGi environment?

Yes, you need Maven dependencies to properly compile and deploy code using the AEM Replicator API. The Skill assumes an established OSGi and Sling environment configured with the necessary Maven build dependencies to access ReplicationOptions and Replicator interfaces.

Why use the Replicator API instead of standard AEM workflow steps for content distribution?

Use the Replicator API instead of standard workflow steps when you need granular programmatic control over AEM replication. It exposes ReplicationActionType and ReplicationOptions directly, allowing you to build custom batch activations and cross-agent distribution beyond default workflow capabilities.