You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Gayan Gunarathne <ga...@wso2.com> on 2015/11/03 14:24:23 UTC

Artifact update via GIT hook

Hi All,


Why did we remove the feature of Artifact update via GIT hook from Stratos
4.1.x. Couldn't find the "reponotification" rest API method in Stratos
4.1.x rest API. That rest API method was in the Stratos 4.0.0[1]

Seems it has used in multi-tenant applications , where ArtifactUpdatedEvent
event triggered based on the GIT hook.

[1]
https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV40.java#L954

Thanks,
Gayan



-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>

Re: Artifact update via GIT hook

Posted by Udara Liyanage <ud...@wso2.com>.
+1,

Git hook based artifact deployment should be implemented.

On Tue, Nov 3, 2015 at 10:32 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Hi Gayan,
>
> I think we missed this API in Stratos 4.1.x. This API is much needed when
> there are very high number of subscriptions. Having a thread created per
> subscription to pull/push artifacts is not scalable. Shall we include this
> API and implement the Git hook based artifact update for Python cartridge
> agent in the next release?
>
> Thanks.
>
> On Tue, Nov 3, 2015 at 6:54 PM, Gayan Gunarathne <ga...@wso2.com> wrote:
>
>> Hi All,
>>
>>
>> Why did we remove the feature of Artifact update via GIT hook from
>> Stratos 4.1.x. Couldn't find the "reponotification" rest API method in
>> Stratos 4.1.x rest API. That rest API method was in the Stratos 4.0.0[1]
>>
>> Seems it has used in multi-tenant applications , where
>> ArtifactUpdatedEvent event triggered based on the GIT hook.
>>
>> [1]
>> https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV40.java#L954
>>
>> Thanks,
>> Gayan
>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>
>>
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Artifact update via GIT hook

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi Gayan,

I think we missed this API in Stratos 4.1.x. This API is much needed when
there are very high number of subscriptions. Having a thread created per
subscription to pull/push artifacts is not scalable. Shall we include this
API and implement the Git hook based artifact update for Python cartridge
agent in the next release?

Thanks.

On Tue, Nov 3, 2015 at 6:54 PM, Gayan Gunarathne <ga...@wso2.com> wrote:

> Hi All,
>
>
> Why did we remove the feature of Artifact update via GIT hook from Stratos
> 4.1.x. Couldn't find the "reponotification" rest API method in Stratos
> 4.1.x rest API. That rest API method was in the Stratos 4.0.0[1]
>
> Seems it has used in multi-tenant applications , where
> ArtifactUpdatedEvent event triggered based on the GIT hook.
>
> [1]
> https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV40.java#L954
>
> Thanks,
> Gayan
>
>
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>
>
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com