Hi Lahiru, Sure, I'll add them to the docs.
On Thu, Mar 13, 2014 at 9:01 PM, Lahiru Sandaruwan <[email protected]> wrote: > Hi Manula, > > Useful stuff. Shall we add these to Stratos docs? > > Thanks. > > > On Thu, Mar 13, 2014 at 3:26 AM, Isuru Haththotuwa <[email protected]>wrote: > >> Good work Manula. This will be really effective as this is based on >> eventing rather than polling continuously. IMO, basic authentication is ok >> to start with. >> >> >> On Thu, Mar 13, 2014 at 12:19 PM, Manula Chathurika Thantriwatte < >> [email protected]> wrote: >> >>> Hi, >>> >>> In Webhook the basic authentication as follows. [1] >>> >>> https://yourUser:[email protected]/path >>> >>> [1] >>> http://stackoverflow.com/questions/18326549/github-service-hook-and-basic-authentication >>> >>> >>> On Thu, Mar 13, 2014 at 11:58 AM, Manula Chathurika Thantriwatte < >>> [email protected]> wrote: >>> >>>> Hi All, >>>> >>>> I'm working on $subject. In the implementation I have introduced new >>>> rest endpoint. In Github, user have to configure the Webhook for that rest >>>> endpoint. Then each and every commit to the Git repository, Webhook will >>>> send the payload JSON to SM and SM will get the repository url and find the >>>> cartridge subscriptions for that corresponding url. After that SM will send >>>> sendArtifactUpdateEvent to cartridge agent. Then cartridge agent can get >>>> the git pull and update the repository. >>>> >>>> For the authentication I have used basic auth for authenticate Webhook >>>> request. >>>> >>>> -- >>>> Regards, >>>> Manula Chathurika Thantriwatte >>>> Software Engineer >>>> WSO2 Inc. : http://wso2.com >>>> lean . enterprise . middleware >>>> >>>> email : [email protected] / [email protected] >>>> phone : +94 772492511 >>>> blog : http://manulachathurika.blogspot.com/ >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Regards, >>> Manula Chathurika Thantriwatte >>> Software Engineer >>> WSO2 Inc. : http://wso2.com >>> lean . enterprise . middleware >>> >>> email : [email protected] / [email protected] >>> phone : +94 772492511 >>> blog : http://manulachathurika.blogspot.com/ >>> >>> >>> >>> >> >> >> -- >> Thanks and Regards, >> >> Isuru H. >> +94 716 358 048* <http://wso2.com/>* >> >> >> > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : [email protected] / [email protected] phone : +94 772492511 blog : http://manulachathurika.blogspot.com/
