Skip to content

Infrastructure of Python microservices for Saiku 4

Notifications You must be signed in to change notification settings

OSBI/saiku-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Infrastructure of Python microservices for Saiku 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published