https://github.com/osbi/saiku-python
Infrastructure of Python microservices for Saiku 4
https://github.com/osbi/saiku-python
Last synced: 11 months ago
JSON representation
Infrastructure of Python microservices for Saiku 4
- Host: GitHub
- URL: https://github.com/osbi/saiku-python
- Owner: OSBI
- Created: 2018-06-01T13:14:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T12:12:20.000Z (over 7 years ago)
- Last Synced: 2025-01-18T03:12:00.280Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.rabbitmq.com/). 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'
```
4. 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
```
3. Run the Python client
```
cd saiku-pytyon
pipenv shell
cd src
python -m saiku.main
```
4. Open the following URL on a browser: http://127.0.0.1:5002/