Skip to content

Add credit check when starting simulations

Marcos Huck requested to merge feature/check_minimum_credits into feature/billing

Context

Now that credits are available, users should have enough credits in order to start a simulation.

Change

This MR adds a mechanism to check a user has enough credits when the billing system is enabled.

Other information

Environment variable added: SIMSVC_SIM_MIN_CREDITS defaults to 100.

Additional documentation

Edited by Marcos Huck

Merge request reports