Integration of Spago BI in Axelor FrameWork

Post on 16-Apr-2017

166 views 14 download

Transcript of Integration of Spago BI in Axelor FrameWork

INTEGRATION OF SPAGO BI IN AXELOR FRAMEWORK

Group no Roll no Name 25 45 Rohan Rajput

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

POINTS TO BE COVEREDOrganization

Profile Overview of

System Features of new

system System Work

Flow

Use case Diagrams

Activity Diagrams

Sequence Diagrams Web Methods

Screen layouts Proposed Enhancement Conclusion Acknowledgeme

nt

ORGANIZATION PROFILE

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)AXELOR

PRIVATE LTD. Axelor is a company that is a provider of unique and innovative Open Source Business solutions. Axelor has established an ambitious research and development program to offer the best in Open Source for its clients. Our solutions are suitable for businesses of all sizes, from small businesses to large enterprises operating in various sectors.

Axelor’s partners will help you in the management of your information system and with controlling your processes: from consultancy to skills transfer, including configuration and integration with other third-party applications. Our partners’ main goal is to provide each of our clients with a customized and high-quality service, with a solution perfectly fitted to your needs.

OVERVIEW OF SYSTEM

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

EXISTING SYSTEM BIRT is Eclipse-based open source reporting system for web applications, especially those based on Java and Java EE. BIRT has two main components: a report designer based on Eclipse, and a runtime component that you can add to your app server. BIRT also offers a charting engine that lets you add charts to your own application.

With BIRT, you can add a rich variety of reports to your application List Charts Crosstabs Letters and Documents Compound Reports Dashboards Parametric report

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

THEN WHY NOT BIRT????Reasons

All the reports are done by BIRT. But BIRT only supports reporting and analysis with limited no. of options.

Even though BIRT provides so many functionalities but it does not fulfils all the requirements of BI.

Moreover different organizations have different reporting tools and for every new tool our framework need to have that reporting tool functionality integrated in our system and that is the biggest drawback.

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)WHAT SHOULD BE THE

SOLUTION???SpagoBI

SpagoBI is an Open Source Business Intelligence suite, belonging to the free/open source “SpagoWorld” initiative, founded and supported by Engineering Group. It offers a large range of analytical functions, a highly functional semantic layer often absent in other open source platforms and projects, and a respectable set of advanced data visualization features including geospatial analytics.

SpagoBI is released under the Mozilla Public License, allowing its commercial use. SpagoBI is hosted on OW2(ObjectWeb Consortium and Orientware) Forge managed by OW2 Consortium, an independent open-source software community.

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

SPAGO BI MODULES

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

HOW MODULES INTERACT?

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)WHY SPAGO BI?

MULTIDIMENSIONAL ANALYSIS (OLAP)

KPI(Key Performance Indicators) AD-HOC REPORTING LOCATION INTELLIGENCE FREE INQUIRY (Driven Data Selection) DATA MINING REAL TIME DASHBOARDS REAL TIME CONSOLE

COLLABORATION OFFICE AUTOMATIONETL(Extract Transform Load) MOBILE MASTER DATA MANAGEMENT NETWORK ANALYSIS INTERACTIVE COCKPITQBE(Query by Example)

FEATURES OF SPAGO BI

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

FEATURES OF SPAGO BI 100% open source, forever

The most complete business intelligence suite in the open source domain

User-oriented approach

Professional services provided by SpagoBI Competency Center at affordable prices

SYSTEM WORK FLOW

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ABOUT AXELOR

FRAMEWORK Axelor the platform is a rapid development framework for building business applications based on Java technology.

 It is easy to learn, customizable and saves critical time for complex applications. 

The application code is object-oriented, allowing you to use the standard Java APIs. 

Axelor The platform uses an approach to model-driven development, where the heart of your application are Java classes that model your business code. This means that you can stay productive while maintaining a high level of encapsulation.

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

SYSTEM REQUIREMENTOperating system

Ubuntu 12.4.0 lts

Tools – Programming

Eclipse(kepler) , Axelor framework, Spago BI 4.1, Spago Studio 4.1, Spago Meta 4.1

Tools – Designing Lucid Chart

Technologies Programming language: J2EE, Groovy, XML

Database Postgresql 9.1

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

SYSTEM WORK FLOW DIAGRAM

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

SYSTEM MODULE DIAGRAM

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

FUNCTIONALITY WORK FLOW

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)STEP 1: CONVERSION OF

META<<META>> in HSQL

Conversion

<<META>> in

Postgresql

The conversion of meta requires changes and configurations in 28 files which includes server configurations, engine configurations, Quartz configurations, Hibernate file Configurations and many more….

The default meta of SpagoBI is defined in HSQL.”Meta contains all the views, actions & object of the framework.

Now the Meta is converted into Postgresql

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

STEP 2 : MERGING THE META

objects

viewaction

s

Merge Meta in Axelor Frame Work Meta

SpagoBI Meta in Postgresql

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)STEP 3 : INTEGRATION OF

SPAGO BI

Fetching the Meta from the

Axelor Database

Resolving the view

Displaying view of

spagoBI in ABS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)STEP 4 : CONFIGURATION OF

SPAGO BI SERVERFunctionality

ConfigurationsUser & roles

configurations

Analytical Drivers and

Report Engine Configurations

Data provider Configurations

LOV’s ,Meta & Threshold

Configurations

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)STEP 5 :USING API’S & SERVICES TO

RETRIEVE REPORTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

STEP 6: DYNAMIC URL FOR PARAMETRIC REPORTGet: Class context, language, username , password , Connection URL from Framework

Get : Report label, user roles , Parameters and Server URL from SDK(API)

Generate Dynamic URL to Get Report

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)STEP 7 :VIEW CONVERSION & DISPLAY

RESULT

• Get view & action from SpagoBI Server Module

GET

• Resolve View to Framework Compatible view

Resolve • Set view and

response type & display result

Display

USE CASE DIAGRAM

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)USE CASE DIAGRAM FOR

USER

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

USE CASE DIAGRAM FOR DEVELOPER

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)USE CASE DIAGRAM FOR

ADMIN

ACTIVITY DIAGRAM

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ACTIVITY DIAGRAM FOR DECISION

SUPPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ACTIVITY DIAGRAM FOR CREATING

REPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ACTIVITY DIAGRAM FOR USER ROLE

MANAGEMENT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ACTIVITY DIAGRAM FOR FUNCTIONALITY

TREE MANAGEMENT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ACTIVITY DIAGRAM FOR EXPORTING

REPORTS, MARTS & MODELS

SEQUENCE DIAGRAMS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)SEQUENCE DIAGRAM FOR VIEWING

REPORTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

SEQUENCE DIAGRAM FOR CREATING PROJECT REPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)SEQUENCE DIAGRAM FOR MANAGING

ANALYTICAL DRIVER

WEB METHODS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: getDocumentAsList

Purpose:- To fetch the document reports from SpagoBI Server

Request

Field Name Datatype

Type String

State String

Folder path String

Response

List of document reports

GET DOCUMENT LIST

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: DocumentServerProxy

Purpose:- to establish authenticated connection with SpagoBIserver

Request

Field Name Datatype

Username String

Password String

Response

establish authenticated connection with spagoBIserver

DOCUMENT SERVER PROXY

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: getDocumentParameters

Purpose:- to establish authenticated connection with spagoBIserver

Request

Field Name Datatype

DocumentId Integer

RoleName String

Response

Parameters like label, name, language as per defined in report

GET DOCUMENT PARAMETERS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: executeDocumentPurpose:- to execute and display the document report any desired formatRequestField Name DatatypeSDKDocument ObjectSDKDocumentParameter[] ObjectroleName StringoutputType StringResponse:- Execute and Display Report

EXECUTE DOCUMENT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: downloadDatamartFile

Purpose:-Allows to download a file located at path_resources\qbe\datamarts. In the following, all the used data structures are described, before a detailed description of each method of the service.

Request

Field Name Datatype

Datamart Label String

Datamart Path String

Response:-

Returns the Data Mart xml file.

DOWNLOAD DATAMART FILE

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: getCorrectRoleForExecution

Purpose:-It allows you to obtain the list of valid roles for the execution of a document, given the id of the document.Request

Field Name Datatype

Document Id Integer

Response:-

Returns list of valid roles

GET CORRECT ROLES FOR EXECUTION

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: saveNewDocumentPurpose:- to save the Document with the defined TemplateRequestField Name DatatypeSDKDocument ObjectSDKTemplate ObjectType IntegerResponse:-Returns the true Boolean value to notify that the document has been saved

SAVE NEW DOCUMENT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Method Name: uploadDatamartTemplatePurpose:- It allows you to upload a file containing a QBE template, upload the xml file containing the definition of the calculated fields and create a QBE document.

Request:- Field Name DatatypeSDKDocument ObjectSDKTemplate ObjectDescription StringResponse:-Returns the true Boolean value to notify that the document has been uploaded

UPLOAD DATAMART TEMPLATE

SCREEN SHOTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

INTEGRATION OF SPAGOBI SERVER IN THE AXELOR FRAMEWORK

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

INTEGRATION OF SPAGOBI SDK IN THE AXELOR FRAMEWORK

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

DASH BOARDS FOR LEAD CHART REPORTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

DASH BOARDS FOR OPPORTUNITY CHART REPORTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

DASH BOARDS FOR OPPORTUNITY CHART REPORTS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

DEFINING MEASURES & DIMENSIONS IN OLAP REPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP CHART PROPERTY AND SELECTION OPTION

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP DYNAMIC BAR CHART (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP DYNAMIC PIE CHART (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP DYNAMIC LINE CHART (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP DYNAMIC STACKED BAR CHART (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP SWAP AXIS FUNCTIONALITY (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OLAP REPORT EXPORT FUNCTIONALITY (SLICING & DICING)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

QBE FIELD SELECTION FROM DATASET

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

DEFINING MEASURES IN QBE

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

OUTPUT OF QBE

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)ADHOC REPORT BAR CHART

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

ADHOC REPORT PIE CHART

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

ADHOC REPORT LINE CHART

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

PARAMETRIC REPORT AND PRINT SELECTION OPTION IN ABS

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

INVOICE PARAMETRIC BIRT REPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

BUSINESS SITUATION PARAMETRIC BIRT REPORT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

EXPORT FUNCTIONALITY OF REPORT

PROPOSED ENHANCEMENT

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

PROPOSED ENHANCEMENTTo create Geographical report and make it work in framework’s ERP System.

To enable Data mining in framework’s ERP system.To create “Mobile Reports” i.e. reports and analytical functionalities for our mobile application.

To create and implement KPI‘s in framework’s ERP system.

CONCLUSION

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

CONCLUSION“ Using SpagoBI not only fulfills the requirements of BIRT reports but also add cherry to the cake by providing extra features and functionalities in form of various reports and engines which enables the System user to make better analysis and decisions.”

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

ACKNOWLEDGEMENT

I take this opportunity to thank all those who have helped me to see through the end of this project. This project would not have been possible without the support, co-operation and encouragement of my parents, friends and well-wishers.I express my sincere thanks to Mr. Bipin V. Mehta (Director, School of Computer Studies, Ahmedabad University) for giving me a chance to show my capabilities in his esteemed organization.I am highly obliged and thankful to Mr. Pratik Thanawala (Lecturer –School of Computer Studies, Ahmedabad University) my Internal Project Guide for providing me continuous and invaluable guidance throughout the project in spite of his busy schedule.I would like to express my gratitude to Mr. Vishal Patel, Mr. Piyush Ghediya and Mrs. Kim Varia at Axelor Technologies Pvt. Ltd. For showing keen & personal interest in my work and were always ready to help me whenever required.

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)

Industry Internship 2013-2014

Integration of SpagoBI in Axelor Framework

Ahmedabad University

SCHOOL OF COMPUTER STUDIES (MCA Programme)