Way to get list of replication agents configured using JS | Adobe Higher Education
Skip to main content
edubey
Level 10
October 16, 2015
Répondu

Way to get list of replication agents configured using JS

Hi ,

Is there any way to get the list of replication agents configure on a instance,

While working on author, I need list of publish instance configured using JS.

Thanks

Ce sujet a été fermé aux réponses.
Meilleure réponse par joerghoh

Hi,

if you just need the names, you can use http://host/etc/replication/agents.author.1.json and parse the JSON.

Jörg

5 commentaires

Lokesh_Shivalingaiah
Level 10
October 16, 2015

I dont see any OOTB servlet which list the agents.

edubey
edubeyAuteur
Level 10
October 16, 2015

Thanks Lokesh,

Yup that could be the possible way, Just looking is there any OOTB servlet implemented by AEM to get the agents data.

joerghoh
Adobe Employee
joerghohAdobe EmployeeRéponse
Adobe Employee
October 16, 2015

Hi,

if you just need the names, you can use http://host/etc/replication/agents.author.1.json and parse the JSON.

Jörg

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Write a service to get all the list of replication agent and call that service in JS

you can use replication agent API get the same

Kunal_Gaba_
October 16, 2015