Hi all, Please find the CApp [1].
This is my progress: 1. I added the connector zip in to the CApp as an artifact and specified the artifact type as "zip". 2. As the same way to deploy the artifact, I have implemented a method to deploy the synapse library in [2] (Still testing). 3. I have added some constants in [3]. I am following the way that Dushan noted. Initially I am doing this with a single connector. As the first step, Now I am doing the connector deployment (CAR -- > upload -- > deploy connector). [1] https://drive.google.com/a/wso2.com/file/d/0B3SvJgvWs9I_eWY5UEJhM3pzb0k/view?usp=sharing [2] <CARBON-MEDIATION-HOME>/components/application-deployers/org.wso2.carbon.application.deployer.synapse/src/main/java/org/wso2/carbon/application/deployer/synapse/SynapseAppDeployer.java [3] <CARBON-MEDIATION-HOME>/components/application-deployers/org.wso2.carbon.application.deployer.synapse/src/main/java/org/wso2/carbon/application/deployer/synapse/SynapseAppDeployerConstants.java Thank you. On Wed, Jul 8, 2015 at 6:02 AM, Dushan Abeyruwan <dus...@wso2.com> wrote: > > > On Tue, Jul 7, 2015 at 8:07 AM, Jasintha Dasanayake <jasin...@wso2.com> > wrote: > >> @viraj >> >> Shall we enable this in ESB project level , since there is a option >> already in ESB project , that we can improve to pack connector into capp >> when adding the ESB project into Capp ? >> > +1 this should be feasible with ESB Project level as its already there in > DevS > > Shashika, could please provide more detail (design and implementation > detail/changes you have done) how you planned to integrate this ? > > however, please note that we need manage depdenencies correctly > > CAR -- > upload -- > deploy connector/s --- >[[*critical:* monitor the > status of connector deployment]] -- if success ---> execute > connector-meta-import --> if success -- > then deploy other > synapse-artifacts > > *guess, the difficulty can be holding synapse artifact deployment till > connector's uploaded successfully and import connector meta data, have > found solution for this ?* > > >> >> Thanks and Regards >> /Jasintha >> >> On Tue, Jul 7, 2015 at 4:33 PM, Shakila Sivagnanarajah <shak...@wso2.com> >> wrote: >> >>> Hi Kasun, >>> >>> Since there is no feature in developer studio to import connector zip >>> into the CApp, I have manually added the zip in to car. Now I am >>> debugging and modifying the code [1]. I think I am going well with the task. >>> >>> [1] >>> https://github.com/wso2/carbon-mediation/blob/master/components/application-deployers/org.wso2.carbon.application.deployer.synapse/src/main/java/org/wso2/carbon/application/deployer/synapse/SynapseAppDeployer.java >>> >>> Thank you. >>> >>> On Tue, Jul 7, 2015 at 4:22 PM, Kasun Indrasiri <ka...@wso2.com> wrote: >>> >>>> Any progress on this task? >>>> >>>> On Thu, Jul 2, 2015 at 11:09 PM, Malaka Silva <mal...@wso2.com> wrote: >>>> >>>>> Hi All, >>>>> >>>>> Shakila will be starting to implement this functionality from ESB side. >>>>> >>>>> @Shakila - Any blockers user this mail thread to discuss. >>>>> >>>>> On Tue, Jun 30, 2015 at 5:57 PM, Jasintha Dasanayake < >>>>> jasin...@wso2.com> wrote: >>>>> >>>>>> From tooling perspective, this is similar to class mediator >>>>>> deployment using Capp , Since Capp class mediator deployment now working >>>>>> fine with Capp so this can be done , However this is also kind of sever >>>>>> extension so we have to educate the users to use this properly. >>>>>> >>>>>> Thanks and Regards >>>>>> /Jasintha >>>>>> >>>>>> On Tue, Jun 30, 2015 at 5:11 PM, Kasun Indrasiri <ka...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> AFAIR, this was discussed several times. But in the context of ESB >>>>>>> as a service, I think this will be quite useful. I don't think we have >>>>>>> any >>>>>>> technical difficulty in doing this. >>>>>>> >>>>>>> Use case : >>>>>>> - We want to invoke a twitter operation. >>>>>>> - Import the twitter connector from connector-store( into DevS) and >>>>>>> use the twitter connector operation in our mediation logic. >>>>>>> - Now we want to deploy the artifact into ESB but it is required to >>>>>>> deploy/enable the connector beforehand. (If the connector is not >>>>>>> deployed >>>>>>> in the ESB instance, this config deployment will fail.) >>>>>>> - If we can include the connector as part of the cApp, then the >>>>>>> connector deployment is completely transparent to the users. >>>>>>> >>>>>>> WDYT? >>>>>>> >>>>>>> -- >>>>>>> Kasun Indrasiri >>>>>>> Software Architect >>>>>>> WSO2, Inc.; http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>>> cell: +94 77 556 5206 >>>>>>> Blog : http://kasunpanorama.blogspot.com/ >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Jasintha Dasanayake* >>>>>> >>>>>> *Senior Software EngineerWSO2 Inc. | http://wso2.com >>>>>> <http://wso2.com/>lean . enterprise . middleware* >>>>>> >>>>>> >>>>>> *mobile :- 0711368118 <0711368118>* >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Best Regards, >>>>> >>>>> Malaka Silva >>>>> Senior Tech Lead >>>>> M: +94 777 219 791 >>>>> Tel : 94 11 214 5345 >>>>> Fax :94 11 2145300 >>>>> Skype : malaka.sampath.silva >>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>>>> Blog : http://mrmalakasilva.blogspot.com/ >>>>> >>>>> WSO2, Inc. >>>>> lean . enterprise . middleware >>>>> http://www.wso2.com/ >>>>> http://www.wso2.com/about/team/malaka-silva/ >>>>> <http://wso2.com/about/team/malaka-silva/> >>>>> >>>>> Save a tree -Conserve nature & Save the world for your future. Print >>>>> this email only if it is absolutely necessary. >>>>> >>>> >>>> >>>> >>>> -- >>>> Kasun Indrasiri >>>> Software Architect >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> cell: +94 77 556 5206 >>>> Blog : http://kasunpanorama.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> Shakila Sivagnanarajah >>> Associate Software Engineer >>> Mobile :+94 (0) 770 760240 >>> shak...@wso2.com >>> >> >> >> >> -- >> >> *Jasintha Dasanayake* >> >> *Senior Software EngineerWSO2 Inc. | http://wso2.com >> <http://wso2.com/>lean . enterprise . middleware* >> >> >> *mobile :- 0711368118* >> >> _______________________________________________ >> Architecture mailing list >> architect...@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > Dushan Abeyruwan | Technical Lead > Technical Support-Bloomington US > PMC Member Apache Synpase > WSO2 Inc. http://wso2.com/ > Blog:*http://www.dushantech.com/ <http://www.dushantech.com/>* > Mobile:(001)812-391-7441 > > -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev