Sitecore.Ship icon indicating copy to clipboard operation
Sitecore.Ship copied to clipboard

New service endpoint in Sitecoreship

Open AnweshaGD opened this issue 8 years ago • 3 comments

How do we create a new endpoint in sitecoreship? My requirement:

I want to post a Sitecore .update package to that new endpoint located in the target instance and get back an anti .update package for the same. How do I proceed with this?

AnweshaGD avatar Feb 29 '16 11:02 AnweshaGD

Ship is an HTTP handler that maps to /services. URL (endpoint) resolution is done in code. Classic ASP.NET version checks strings. Nothing fancy. Nancy uses route mapping. To extend Ship you will need to clone the git repo and basically work with the source code. I can give you more recipes but I'm not familiar with the update anti packages. Ship doesn't really read the update package. It uses Sitecore APIs to install it - same APIs the updateinstallationwizard.aspx is. You may be better off writing your own endpoint with Web API / SSC - just less "ceremonies" to achieve what you need.

Sent from my iPhone

On Feb 29, 2016, at 6:19 AM, AnweshaGD [email protected] wrote:

How do we create a new endpoint in sitecoreship? My requirement:

I want to post a Sitecore .update package to that new endpoint located in the target instance and get back an anti .update package for the same. How do I proceed with this?

— Reply to this email directly or view it on GitHub.

pveller avatar Feb 29 '16 12:02 pveller

Thanks pveller!!! Will try the solution out...

AnweshaGD avatar Feb 29 '16 15:02 AnweshaGD

@AnweshaGD I am adding this to the features list being developed for the SSC Web API based release of Sitecore.Ship

kevinobee avatar Aug 09 '16 13:08 kevinobee