Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Calculation preconditions #444

Open
mkurek opened this issue May 22, 2015 · 0 comments
Open

Calculation preconditions #444

mkurek opened this issue May 22, 2015 · 0 comments

Comments

@mkurek
Copy link
Contributor

mkurek commented May 22, 2015

There should be extra step before calculating costs: checking plugins and overall preconditions. If plugin raise precondition error, calculation for single day should be interrupted.

Possible plugins preconditions:

  • cost is defined for every warehouse/data center
  • team cost is defined
  • dynamic extra cost is defined
  • price is defined for every usage type in pricing service with fixed prices

Posible overall preconditions:

  • check if there is any cycle between pricing services
  • check if costs for single day (and type - forecast and real) was already accepted

Notice that preconditions could be checked for single day or for interval.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant