Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.25 KB

Saiku Python Client

This is an implementation of a Python client for the Saiku core features. It exposes those features as a REST webservice.

Architecture

The architecture is based on a messaging queue service, RabbitMQ. Saiku core is implemented in Java, it exposes its functionalities as RPC functions. On the other side, there's a Python RPC client which connects to the message queue, sends messages to the Java RPC server.

Requirements

  1. Install Erlang (http://www.erlang.org/downloads)
  2. Install RabbitMQ (https://www.rabbitmq.com)
  3. Download the Saiku Report Viewer Server
git clone -b development https://github.com/OSBI/saiku-report-viewer-server
cd saiku-report-viewer-server
mvn install '-Dmaven.test.skip=true' '-Dmaven.javadoc.skip=true' '-Dcheckstyle.skip=true'
  1. Download the Saiku Python RPC Client
git clone https://github.com/OSBI/saiku-python
cd saiku-pytyon
pipenv install

Running

  1. Run the RabbitMQ service
  2. Run the Saiku service
cd saiku-report-viewer-server\reporting-viewer\target
java -jar saiku-report-viewer-server.jar
  1. Run the Python client
cd saiku-pytyon
pipenv shell
cd src
python -m saiku.main
  1. Open the following URL on a browser: http://127.0.0.1:5002/