-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the implementation to a a RPC client
- Loading branch information
1 parent
dae8f28
commit d587293
Showing
4 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ name = "pypi" | |
|
||
[packages] | ||
flask = "*" | ||
pika = "*" | ||
|
||
[dev-packages] | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 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 | ||
``` | ||
4. Download the Saiku Python RPC Client | ||
``` | ||
git clone https://github.com/OSBI/python_saiku_report_viewer_server | ||
``` | ||
|
||
## Running | ||
1. Run the RabbitMQ service | ||
2. Run the Saiku service (org.saiku.reportviewer.server.Main) | ||
3. Run the Python client (python -m saiku.main) | ||
4. Open the following URL on a browser: http://127.0.0.1:5002/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters