Hi Rukshan, Can you try to update APIM to use carbon-commons 4.5.0 and see if any issue raise due to this dependency. We can keep usage.agent bundle if needed without updating to carbon-commons 4.5.0 changes. According to the pom configurations, the only export package is org.wso2.carbon.usage.agent.api.*, while the changes (if carbon-multitenancy updated to use carbon-commons 4.5.0) goes to org.wso2.carbon.usage.agent.util.
Please refer mail thread[1] on migrating to carbon-commons 4.5.0. [1] [Dev] Migrate to data publisher agent on carbon-analytics-common Thanks, Nipuni On Thu, Nov 19, 2015 at 3:26 PM, Rukshan Premathunga <ruks...@wso2.com> wrote: > Hi Nipuni, > > APIM Still use the carbon-multitenancy like below. > > <dependency> > <groupId>org.wso2.carbon.multitenancy</groupId> > <artifactId>org.wso2.carbon.tenant.usage.agent</artifactId> > </dependency> > > can you lokking to this? > > > Thanks and Regards. > > On Thu, Nov 19, 2015 at 2:39 PM, Nipuni Perera <nip...@wso2.com> wrote: > >> Hi Amila, >> >> Thanks for the clarification. We are testing if products can use >> carbon-commons 4.5.0, without rewriting data publishers in >> carbon-deployment and carbon-multitenancy (as we don't have a requirement >> atm). Hence we will not updating usage.agent bundle in carbon-multitenancy >> as mentioned. >> We will consider removing the usage.agent bundle in future releases if >> it is not used anymore. >> >> Thanks, >> Nipuni >> >> On Wed, Nov 18, 2015 at 7:25 PM, Amila Maha Arachchi <ami...@wso2.com> >> wrote: >> >>> Hi Nipuni, >>> >>> Those methods in usage.agent are not used now (not even the usage.agent >>> bundle). Ideally, we should get rid of the usage.agent bundle. These were >>> used in the days of StratosLive. >>> >>> Regards, >>> Amila. >>> >>> On Tue, Nov 17, 2015 at 7:36 PM, Nipuni Perera <nip...@wso2.com> wrote: >>> >>>> Hi, >>>> >>>> I am trying to update carbon-deployment with new data publishers >>>> introduced with carbon-commons 4.5.0 and carbon-analytics-common >>>> 5.0.6. I have rewritten the data publishers in carbon-deployment and need >>>> to test the changes with a AS pack, publishing webapp statistics. >>>> While building product-as I could see that carbon-multitenancy need to >>>> be updated with the new data publishers as well. I am working on updating >>>> carbon-multitenancy to use carbon-commons 4.5.0 and carbon-analytics-common >>>> 5.0.6. I am updating methods in : org.wso2.carbon.usage.agent.util. >>>> PublisherUtils. >>>> >>>> Will updating carbon-multitenancy a productive effort? Are we still >>>> using this utility methods to publish usage statistics? >>>> >>>> Thanks, >>>> Nipuni >>>> >>>> -- >>>> Nipuni Perera >>>> Software Engineer; WSO2 Inc.; http://wso2.com >>>> Email: nip...@wso2.com >>>> Git hub profile: https://github.com/nipuni >>>> Blog : http://nipunipererablog.blogspot.com/ >>>> Mobile: +94 (71) 5626680 >>>> <http://wso2.com> >>>> >>>> >>> >>> >>> -- >>> *Amila Maharachchi* >>> Senior Technical Lead >>> WSO2, Inc.; http://wso2.com >>> >>> Blog: http://maharachchi.blogspot.com >>> Mobile: +94719371446 >>> >>> >> >> >> -- >> Nipuni Perera >> Software Engineer; WSO2 Inc.; http://wso2.com >> Email: nip...@wso2.com >> Git hub profile: https://github.com/nipuni >> Blog : http://nipunipererablog.blogspot.com/ >> Mobile: +94 (71) 5626680 >> <http://wso2.com> >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Rukshan Chathuranga. > Software Engineer. > WSO2, Inc. > -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni Blog : http://nipunipererablog.blogspot.com/ Mobile: +94 (71) 5626680 <http://wso2.com>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev