Start computing wallet entries
Introduce cost policy vars
These are the variables needed by each cost policy in order to do thecredit charge calculations. Normally, they are used by the algorithmsthat do the actual calculations.
Merge branch '1852_billing_period_calc'
Ignoring non-billable events
Support for setting a custom configurator for unit testing
Absolute before/after methods
Switch to using Long.MaxValue to denote open timeframes
Don't use -1 in the to field to denote open timeframesas it requires special treatment in various places andis semantically ambiguous.
Pruning stuff from user state
Construct and return a policy entry
Enriching the test case
Augment and use resources map functionality
Introduce a handy map of resources
Calculating resource instance amounts
[Does not compile] Clearing up some misunderstanding with amounts
Merge branch 'master' into 1852_billing_period_calc
Implement custom Policy entry and policy storage ops
COntinue with billing code and start cleaning up user actor
Conflicts: src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSL.scala src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLAgreement.scala src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLCostPolicy.scala...
Fix all serialization to YAML issues
Work in progress... Still in flux
toMap() method for remaining DSL classes.
Also, immutable map generation for all classes
Method to parse YAML from a String
One fact in one place commit
Basic support for serializing policies to YAML
Some new billing stuff.
Also using doubles everywhere instead of floats
Json support
Case objects instead of objects for cost policy definitions
Augment DSLCostPolicy with utility methods
Calculate hours, not minutes
More precise error message
Refactor user state change code
Convert a timeslot to its duration in hours
States for discrete cost policy events
Stricted definitions and explantations for cost policies
Support for user configurable accounting policy locations
Validate presence of descriminator field in complex resource events
Add DSL field to describe different instances for complex resources
Make Timeslots comparable by start date
resolve* methods return maps sorted by timeslot start time
Also, improved documentation
Stricter precondition to create a DSLTimeFrame object
Flat project hierarchy