This can be used as a carbon component as well as in a non-carbon environment.
As a carbon component, I have called it from a jaggery file [1] the tests are written in an non-carbon environment [2] [1] https://github.com/DanojaDias/analytics-is/blob/PDF-generator-osgi-component/features/org.wso2.analytics.is.feature/src/main/jaggeryapi/isanalytics.jag#L1090 [2] https://github.com/DanojaDias/analytics-is/blob/PDF-generator-osgi-component/components/org.wso2.analytics.is.common.pdf/src/main/test/java/org/wso2/analytics/is/common/pdf/PDFGeneratorTest.java#L75 On Tue, Feb 7, 2017 at 7:20 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > I believe it is a non-carbon component then it needs to go > shared-analytics. If it is a carbon component, then it needs to go > carbon-analytics-common. > > > Thanks, > Mohan > > On Tue, Feb 7, 2017 at 4:02 PM, Danoja Dias <dan...@wso2.com> wrote: > >> Hi All, >> >> We decided to write a reusable OSGI component to generate PDF with tables >> using PDFBOX library that is already used in IS pack for PDF generation >> in server side. >> >> We have implemented this in the following location [1] under PR [2] >> >> The usage of this component is described here [3] . >> >> Since this functionality seems common for all analytics, Would it be >> better to add this component in "shared-analytics" instead of within IS >> analytics ? >> >> >> >> [1] https://github.com/wso2/analytics-is/tree/master/components >> [2] https://github.com/wso2/analytics-is/pull/330/files >> [3] https://github.com/DanojaDias/ServersidePDFGenerator/blo >> b/master/README.md >> >> -- >> Best Regards, >> Danoja Dias >> Intern Software Engineering - WSO2 >> >> Email : dan...@wso2.com >> Mobile : +94771160393 <+94%2077%20116%200393> >> >> [image: http://wso2.com/signature] <http://wso2.com/signature> >> > > > > -- > *V. Mohanadarshan* > *Associate Tech Lead,* > *Data Technologies Team,* > *WSO2, Inc. http://wso2.com <http://wso2.com> * > *lean.enterprise.middleware.* > > email: mo...@wso2.com > phone:(+94) 771117673 <+94%2077%20111%207673> > -- Best Regards, Danoja Dias Intern Software Engineering - WSO2 Email : dan...@wso2.com Mobile : +94771160393 [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture