kevinobee / Sitecore.Ship

Ship provides a CI service layer for Sitecore
MIT License
71 stars 61 forks source link

New service endpoint in Sitecoreship #56

Open AnweshaGD opened 8 years ago

AnweshaGD commented 8 years ago

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?

pveller commented 8 years ago

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 notifications@github.com 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.

AnweshaGD commented 8 years ago

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

kevinobee commented 8 years ago

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