Auto Uploading and Installing Packages in AEM | Community
Skip to main content
New Participant
October 16, 2015
Solved

Auto Uploading and Installing Packages in AEM

  • October 16, 2015
  • 11 replies
  • 4777 views

Hi,

In our deployment scenario, the authoring and publishing server would be on different servers. The authoring team will create the content and publish it.
This published content will be ftped securely to a share.
We need to create a job, which will retrieve this published content zip and upload it in package manager and post uploading, install it.
Does AEM provides some commands to do this?
We are thinking to create a batch file or a dot net application (.exe) to acheive this, but need info on some AEM APIs which will help us do this.
 

Regards,
Aditya Nayak

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 JustinEd3

Hi,

The Package Manager has an HTTP API for doing those types of tasks: http://dev.day.com/docs/en/crx/current/how_to/package_manager.html#Package%20Manager%20HTTP%20Service%20API

Regards,

Justin

11 replies

New Participant
October 16, 2015

Hi,

I was able to access the publisher and upload the zip.

I am doing a form post to my publisher instance -
http://localhost:4503/crx/packmgr/service/.json/?cmd=upload
But get following message - 
This node already exists: /etc/packages

I am not using CuRL, but using C#.NET classes like HttpWebRequest and HttpWebResponse.

Any help for me troubleshoot this further is greatly appreciated?

Thanks,
Aditya