Yes Danushka, if we are going to avoid user deploying the same artifact it
will be fine.
And +1 for implementing that ( avoid deployment and notify user )


On Tue, Jul 1, 2014 at 6:20 PM, Danushka Fernando <[email protected]>
wrote:

> There are two sides to that. But IMO There is no point in deploying same
> artifact which is already deployed. May be that's something we should stop
> user and say artifact is already deployed. WDYT?
>  On Jul 1, 2014 6:14 PM, "Ashansa Perera" <[email protected]> wrote:
>
>> Hi all,
>>
>> If we are going to compare md5sum of the deployed artifact what will
>> happen if someone clicks on deploy button without building ( say the app is
>> already built before )
>> So the latest build will be deployed ( which has the same md5sum as the
>> already deployed artifact ), user will be waiting for the notification, but
>> he will not get any notification since the md5sum is the same. This will
>> lead to think that the function is broken which is not good.
>>
>>
>>
>> On Tue, Jul 1, 2014 at 6:07 PM, Dimuthu Leelarathne <[email protected]>
>> wrote:
>>
>>> Hi Anuraddha,
>>>
>>> Need to test with Jaggery apps as well.
>>>
>>> thanks,
>>> dimuthu
>>>
>>>
>>>
>>> On Tue, Jul 1, 2014 at 6:03 PM, Danushka Fernando <[email protected]>
>>> wrote:
>>>
>>>> I think this will apply to everything deployed in WSO2 servers.
>>>> Currently we only have app server based app types only. So Anuruddha
>>>> remember to change data service path as well (service deployment listener)
>>>> and you will need to test for all app types.
>>>> And Dimuthu what's happening to jaggery apps?
>>>> On Jul 1, 2014 5:48 PM, "Anuruddha Premalal" <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Following is the problem-solution description regards to jira
>>>>> APPFAC-2252 <https://wso2.org/jira/browse/APPFAC-2252>
>>>>>
>>>>> *Problem :*
>>>>>
>>>>> AppServer tenant get unloaded when there is no activity for 30mins.
>>>>> When a user deploy an app to this unloaded tenant, it will load and deploy
>>>>> all previously deployed apps; current implementation use catalina
>>>>> LifecycleListner and it captures these redeployment events and triggers 
>>>>> the
>>>>> notifications.
>>>>>
>>>>> *Solution :*
>>>>>
>>>>> Send the artifact md5sum with the notification to the Appfactory.
>>>>> Appfactory will validate the md5 and push the wall message accordingly.
>>>>>
>>>>>
>>>>> Regards,
>>>>> --
>>>>> *Anuruddha Premalal*
>>>>> Software Eng. | WSO2 Inc.
>>>>> Mobile : +94710461070
>>>>> Web site : www.regilandvalley.com
>>>>>
>>>>> "Advances of technology should not leave behind the developing world"
>>>>>
>>>>
>>>
>>>
>>> --
>>> Dimuthu Leelarathne
>>> Architect & Product Lead of App Factory
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> Mobile : 0773661935
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> Ashansa Perera
>> Senior Software Engineer
>> WSO2, Inc
>>
>


-- 
Thanks & Regards,

Ashansa Perera
Senior Software Engineer
WSO2, Inc
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to