| Crates.io | avina-api |
| lib.rs | avina-api |
| version | 0.8.0 |
| created_at | 2025-06-05 10:48:30.716316+00 |
| updated_at | 2025-06-05 13:59:53.307968+00 |
| description | Rust API server for the LRZ-specific features of the Openstack-based LRZ Compute Cloud. |
| homepage | https://github.com/LRZ-BADW/avina |
| repository | https://github.com/LRZ-BADW/avina |
| max_upload_size | |
| id | 1701352 |
| size | 459,451 |
API server application for the Openstack-based LRZ Compute Cloud, https://cc.lrz.de, first and foremost the budgeting system.
To work with the API locally you need Docker as well as the MariaDB client.
The init.sh script is then used to setup and migrate a database for you.
scripts/init.sh
This is required prior to both cargo test and running the API locally.
source admin-openrc.sh
source scripts/config_env.sh
# optional: insert database dump
scripts/enter_db.sh
source lrz_budgeting.sql
quit
RUST_LOG=info cargo run --bin avina-api | bunyan
source admin-openrc.sh
cargo run --bin avina -- -u http://localhost:8000/api -r http://localhost:8000/api user me