Cool ... very nice! Where do we store the creds? Do we keep them using the secure vault stuff so its not in clear? Is there an OAuth 2.0 alternative they support? That means *we'd* have to provide an OAuth secured endpoint and give Github authorization to call it.
Even for this endpoint, what's the convention you've used to make it per user (what's the URL structure basically)? I believe so far we don't have anything on a per USER basis .. tenants are there primarily for isolation but we haven't had a need to have a per-user cred at all - but with this we have to. Hence all the questions to understand exactly how this will work and fit into usage scenarios :-). Thanks, Sanjiva. On Thu, Mar 13, 2014 at 12:19 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi, > > In Webhook the basic authentication as follows. [1] > > https://yourUser:yoursec...@yoursite.net/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 < > manu...@wso2.com> 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 : manu...@wso2.com / man...@apache.org >> phone : +94 772492511 >> blog : http://manulachathurika.blogspot.com/ >> >> >> >> > > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : manu...@wso2.com / man...@apache.org > phone : +94 772492511 > blog : http://manulachathurika.blogspot.com/ > > > > -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; office: (+1 650 745 4499 | +94 11 214 5345) x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311 blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva Lean . Enterprise . Middleware