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/>*

Reply via email to