Hi Anuruddha,
Please find the attached diff.
On Tue, Nov 18, 2014 at 10:59 PM, Mahesh Chinthaka <[email protected]> wrote:
> Hi Dimuthu,
> Thanks. I will collaborate with Anuruddha and will make it happen for
> Alpha.
>
> On Tue, Nov 18, 2014 at 10:46 PM, Dimuthu Leelarathne <[email protected]>
> wrote:
>
>> Hi Mahesh,
>>
>> We should do it for alpha, but please do the change both in Puppet
>> manifests and bash scripts. The latter is less important.
>>
>> thanks,
>> dimuthu
>>
>>
>> On Tue, Nov 18, 2014 at 10:14 PM, Mahesh Chinthaka <[email protected]>
>> wrote:
>>
>>> Hi Dimuthu,
>>>
>>> While doing JGit plugin integration I came across a requirement to load
>>> the undeployer class name for a given apptype and stage.
>>> At the moment we have a method to get deployer class name.
>>>
>>> Utils.getDeployerClassName(stage, appType);
>>> What it does is get the appropriate value from the appfactory.xml file.
>>>
>>> I need the same implementation for undeployment like following,
>>>
>>> Utils.getUndeployerClassName(stage, appType);
>>>
>>> In order to do that I need to add and new xml tag entry to
>>> appfactory.xml file.
>>> As I got to know , modifying appfactory.xml will effect AF puppetising
>>> process.
>>> Anuruddha will explain the overhead.
>>>
>>> Since AF puppetising work is going on and our alpha release is near by ;
>>> should we do this change or shall I keep it in hard coded for the time
>>> being ?
>>> Advise me on this please.
>>>
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: [email protected] | Web: www.wso2.com
>>>
>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: [email protected]
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: [email protected] | Web: www.wso2.com
>
--
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
IIndex: appfactory.xml
===================================================================
--- appfactory.xml (revision 209229)
+++ appfactory.xml (working copy)
@@ -463,6 +463,12 @@
</ApplicationType>
</Deployer>
+ <Undeployer>
+ <ApplicationType name="*">
+
<ClassName>org.wso2.carbon.appfactory.jenkins.undeploy.JenkinsStratosUndeployer</ClassName>
+
+ </ApplicationType>
+</Undeployer>
<AllowDirectDeploy>true</AllowDirectDeploy>
<!--if autodeployment is enabled, the selected versions to
autodeploy will be built and deployed after every commit-->
<AutomaticDeployment enabled="true">
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev