#api-server #cloud #compute #lrz #applications #partial #budgeting

bin+lib lrzcc-api

Rust API server for the LRZ-specific features of the Openstack-based LRZ Compute Cloud

8 releases (breaking)

0.7.0 Feb 5, 2025
0.6.1 Dec 29, 2024
0.5.0 Dec 11, 2024
0.4.0 Nov 22, 2024
0.1.0 Sep 15, 2024

#1510 in Web programming

Download history 134/week @ 2024-11-20 8/week @ 2024-11-27 2/week @ 2024-12-04 144/week @ 2024-12-11 2/week @ 2024-12-18 184/week @ 2024-12-25 12/week @ 2025-01-01 144/week @ 2025-02-05

144 downloads per month

MIT license

320KB
9K SLoC

lrzcc-api

Partial Rust-rewrite of the API server application for the Openstack-based LRZ Compute Cloud, https://cc.lrz.de, first and foremost the budgeting system.

Development

Running the API server locally

scripts/init.sh
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 lrzcc-api | bunyan

Calling the local API server

source admin-openrc.sh
cargo run --bin lrzcc -- -u http://localhost:8000/api -r http://localhost:8000/api user me

Dependencies

~72MB
~1.5M SLoC