#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)

new 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

#1518 in Web programming

Download history 2/week @ 2024-10-20 112/week @ 2024-11-17 28/week @ 2024-11-24 2/week @ 2024-12-01 139/week @ 2024-12-08 9/week @ 2024-12-15 190/week @ 2024-12-29 6/week @ 2025-01-05 132/week @ 2025-02-02

132 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

~73MB
~1.5M SLoC