Way to get list of replication agents configured using JS | Community
Skip to main content
edubey
Level 10
October 16, 2015
Solved

Way to get list of replication agents configured using JS

  • October 16, 2015
  • 5 replies
  • 1804 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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 replies

Kunal_Gaba_
October 16, 2015
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

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
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

edubey
edubeyAuthor
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.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

I dont see any OOTB servlet which list the agents.