stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manula Chathurika Thantriwatte <manu...@wso2.com>
Subject Re: Deployment Synchronization with Github
Date Mon, 24 Mar 2014 14:05:39 GMT
Hi Isuru,

Sure I'll update the docs.


On Mon, Mar 24, 2014 at 2:41 AM, Isuru Perera <isurup@wso2.com> wrote:

> Hi Manula,
>
> Will you be able to contribute to wiki docs by explaining these steps.
>
> I had to go through the code again to figure out the URL.
>
> https://admin:admin@
> <Stratos-Manager-HostName>:<Stratos-Manager-HttpsPort>/stratos/admin/reponotification
>
>
> On Mon, Mar 17, 2014 at 2:01 PM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Sanjiva,
>>
>> At the moment I'm using post receive hook and used basic authentication
>> with github post-recieve/service/web hook that notifies me of a commit to a
>> repository. Creds are in plane txt in the payload url in web hook [1].
>> Currently I'm looking at Is there an OAuth 2.0 alternative support.
>>
>>
>> [1] https://yourUser:yourSecret@yoursite.net/path
>>
>>
>> On Sun, Mar 16, 2014 at 6:22 AM, Sanjiva Weerawarana <sanjiva@wso2.com>wrote:
>>
>>> 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 <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> In Webhook the basic authentication as follows. [1]
>>>>
>>>> https://yourUser:yourSecret@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 <
>>>> manulac@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 : manulac@wso2.com / manula@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 : manulac@wso2.com / manula@apache.org
>>>> phone : +94 772492511
>>>> blog : http://manulachathurika.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sanjiva Weerawarana, Ph.D.
>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>> email: sanjiva@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
>>>
>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Mime
View raw message