Statistics
| Branch: | Tag: | Revision:

root / src @ fbec9e56

# Date Author Comment
fbec9e56 02/17/2012 04:15 pm Georgios Gousios

Trivial fixes, toString implementation

9324a7a8 02/17/2012 01:26 pm Georgios Gousios

Method to align a list of timeslots to another timeslot's boundaries

f8c4d57c 02/16/2012 12:49 pm Georgios Gousios

Merge remote-tracking branch 'origin/master'

Conflicts:
src/main/scala/gr/grnet/aquarium/logic/accounting/Accounting.scala

3311d5fe 02/14/2012 10:54 pm Christos KK Loverdos

Checked-out from 18.. branch in order to change algorithm

491934d4 02/14/2012 11:42 am Christos KK Loverdos

Add bandwidth simulator

992da45f 02/14/2012 11:42 am Christos KK Loverdos

Enhance contextual logger and show sample output

a4e4e0a0 02/14/2012 11:42 am Christos KK Loverdos

Fix method name in date calculator

629b0224 02/14/2012 11:42 am Christos KK Loverdos

Start computing wallet entries

76198445 02/14/2012 11:42 am Christos KK Loverdos

Remove @inline annotations because of warnings

60b216e8 02/14/2012 11:42 am Christos KK Loverdos

Introduce cost policy vars

These are the variables needed by each cost policy in order to do the
credit charge calculations. Normally, they are used by the algorithms
that do the actual calculations.

1d82aef6 02/14/2012 11:42 am Christos KK Loverdos

WIP on wallet entries.

Constructing a proper value map depending on the cost policy.

e0832f4c 02/14/2012 11:42 am Georgios Gousios

Fix name for policy sotre

4ec4f022 02/09/2012 11:45 pm Christos KK Loverdos

Merge branch '1852_billing_period_calc'

4e661360 02/09/2012 07:00 pm Christos KK Loverdos

Inline a couple of utility methods

548304d3 02/09/2012 06:57 pm Christos KK Loverdos

Ignoring non-billable events

4619f063 02/09/2012 06:30 pm Christos KK Loverdos

Fix and augment logger

80a13169 02/09/2012 05:42 pm Christos KK Loverdos

Special data structure for implicit OFF events

e5531552 02/09/2012 05:41 pm Christos KK Loverdos

Cleanup resource event

30d8fe03 02/09/2012 05:40 pm Christos KK Loverdos

Add map-related utility methods

ac03b912 02/09/2012 04:11 pm Christos KK Loverdos

Adjust logging output

b7bc5c29 02/09/2012 04:00 pm Christos KK Loverdos

Oh, I like contextual loggers.

Really handy when debugging.

0e2398fc 02/09/2012 02:36 pm Christos KK Loverdos

Fix a bug in date fortmatting

83c2775f 02/09/2012 11:13 am Georgios Gousios

Merge branch '1852_billing_period_calc'

e9b44c33 02/08/2012 07:41 pm Christos KK Loverdos

Termination condition for billing month calculation

c5ca558f 02/08/2012 07:40 pm Christos KK Loverdos

Augment date calculator

41c8984b 02/08/2012 06:51 pm Christos KK Loverdos

Rework data snapshots. Add one more to user state

d98e3891 02/07/2012 05:25 pm Christos KK Loverdos

Start the real deal

d36b3104 02/07/2012 05:08 pm Georgios Gousios

Don't attempt to clean up when not using mongo for testing

aeae0e29 02/07/2012 05:07 pm Georgios Gousios

Better implementation of the no gaps test

4bdd0f62 02/07/2012 04:48 pm Georgios Gousios

Rewrite policy file to trigger reparse in test

0c899026 02/07/2012 04:48 pm Georgios Gousios

Method to check whether a (sorted) list of timeslots contains gaps

b064a70a 02/07/2012 04:47 pm Georgios Gousios

Just reload policies from the store, instead of attempting to reconstruct state

3e221f91 02/07/2012 04:47 pm Georgios Gousios

New method for retrieving a policy by its id

618a4bb1 02/07/2012 01:46 pm Georgios Gousios

Support for setting a custom configurator for unit testing

ae395ef0 02/07/2012 01:45 pm Georgios Gousios

Absolute before/after methods

49054030 02/07/2012 11:30 am Georgios Gousios

Read configuration values from the cmd-line

389c2773 02/07/2012 11:30 am Georgios Gousios

Switch to using Long.MaxValue to denote open timeframes

Don't use -1 in the to field to denote open timeframes
as it requires special treatment in various places and
is semantically ambiguous.

791f1d37 02/07/2012 11:30 am Georgios Gousios

Use in memory store by default for tests

5e23b3bd 02/06/2012 06:23 pm Christos KK Loverdos

Merge branch '1852_billing_period_calc'

28bb45ec 02/06/2012 06:16 pm Christos KK Loverdos

Pruning stuff from user state

41b0101e 02/06/2012 03:56 pm Christos KK Loverdos

Factoring out common code

cfd522f4 02/06/2012 03:54 pm Georgios Gousios

Various test enhancements

-Support for selecting the store implementation at test runtime
-Get raw values for test configuration items
-Test for policy load/store

097b6e0a 02/06/2012 03:53 pm Georgios Gousios

Construct and return a policy entry

54be219c 02/06/2012 03:52 pm Georgios Gousios

Conform to the specification, return results sorted

36c516ec 02/06/2012 03:51 pm Christos KK Loverdos

Add some debugging beautification

167cc453 02/06/2012 03:28 pm Christos KK Loverdos

Make UID generators for simulations more flexible

7d2b35d7 02/06/2012 01:37 pm Christos KK Loverdos

Better implement one query on resource event store

f5db1c38 02/06/2012 01:36 pm Christos KK Loverdos

Add minute calculations to date calculator

b18bb886 02/06/2012 01:35 pm Christos KK Loverdos

Add time calculation helper to resource event

63ba9841 02/06/2012 12:54 pm Christos KK Loverdos

Minor api addition to date calc (+scaladocs)

a7f3366a 02/06/2012 12:49 pm Christos KK Loverdos

Use copy() for mutable date calcs

ed87e235 02/06/2012 12:48 pm Christos KK Loverdos

Better names for mutable date calc methods

af85da93 02/06/2012 12:36 pm Christos KK Loverdos

Fix a bug with mutable state.

Although DateCalculator is mutable, I was using it as an immutable.

9f1b64e6 02/06/2012 12:04 pm Georgios Gousios

Shut up a few compiler warnings

ff717051 02/03/2012 05:26 pm Christos KK Loverdos

Enriching the test case

5783ae44 02/03/2012 02:11 pm Christos KK Loverdos

Add support for custom date formats in DateCalculator

7bf88790 02/03/2012 02:02 pm Christos KK Loverdos

Augment and use resources map functionality

2ae751ed 02/03/2012 01:39 pm Christos KK Loverdos

Introduce a handy map of resources

7a21c970 02/03/2012 01:25 pm Christos KK Loverdos

Use basic rc context for policy loading.

Also try to refactor a bit in order to handle a few bugs (wip).

db0967ef 02/03/2012 02:29 am Christos KK Loverdos

Factor out basic resource context

4731798b 02/02/2012 06:43 pm Christos KK Loverdos

Add more simulation methods and enrich the test case

Cannot load the policy file from the test env though...

e9213d28 02/02/2012 06:42 pm Christos KK Loverdos

Retrieve a beautiful resource event value representation

6e83ec73 02/02/2012 04:39 pm Christos KK Loverdos

Add a simulations package

This will be handy when creating test cases for the new billing code.

f9c6a8eb 02/02/2012 04:39 pm Christos KK Loverdos

MemStore is a provider of itself

For simplicity, obviously.

0420eea8 02/01/2012 05:21 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

2d62e2be 02/01/2012 05:20 pm Christos KK Loverdos

Rename the mem store

a051860c 01/31/2012 05:50 pm Christos KK Loverdos

Override configurator's store provider

It is better to use this new method before asking for anything from the
configurator.

E.g.

val mc = Configurator.MasterConfigurator.withStoreProviderClass(classOf[MemStoreProvider])
b875d52e 01/31/2012 04:39 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

Conflicts:
src/main/scala/gr/grnet/aquarium/user/UserDataSnapshot.scala
src/main/scala/gr/grnet/aquarium/user/UserStateComputations.scala
src/main/scala/gr/grnet/aquarium/user/actor/UserActor.scala

7b7b9192 01/31/2012 04:27 pm Christos KK Loverdos

Implement mem-based resource event store

64d61d0c 01/31/2012 04:26 pm Christos KK Loverdos

A few changes so that everything compiles

c64f9998 01/31/2012 04:19 pm Georgios Gousios

In memory store for tests, change property files search to /etc/aquarium

a9d99e77 01/31/2012 04:07 pm Georgios Gousios

Implementation of the UserEventStore interface in the in memory store

1918e4cd 01/31/2012 03:56 pm Christos KK Loverdos

Implement mem-based wallet store

aa42253e 01/31/2012 03:38 pm Georgios Gousios

Implementation of the policy store interface

b67a317f 01/31/2012 03:13 pm Georgios Gousios

Empty implementations for all store interefaces

b733b2c5 01/31/2012 02:55 pm Georgios Gousios

Mostly atomic update of policies, Docs++

f1257c64 01/31/2012 02:55 pm Georgios Gousios

Fix code assuming that a list always has a tail

c6b35bd4 01/31/2012 02:55 pm Christos KK Loverdos

Calculating resource instance amounts

8084c45f 01/31/2012 01:59 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

28a85ac0 01/31/2012 01:13 pm Georgios Gousios

Update available policies when on configuration file update

8ffa7f17 01/31/2012 01:10 pm Georgios Gousios

Wrapper for stored DSLPolicy YAML dumps

9085a752 01/31/2012 01:09 pm Georgios Gousios

License headers

886367e9 01/30/2012 05:42 pm Georgios Gousios

Logic to load/store policies from Policy store

7cdd774d 01/30/2012 05:24 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

Conflicts:
src/main/scala/gr/grnet/aquarium/user/UserDataSnapshot.scala

f01e9ee7 01/30/2012 05:17 pm Christos KK Loverdos

[Does not compile] Clearing up some misunderstanding with amounts

74316e94 01/30/2012 04:56 pm Georgios Gousios

User agreement history in user store

049f5f62 01/30/2012 03:36 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

e109f518 01/30/2012 03:33 pm Georgios Gousios

API methods for policies

489d6802 01/30/2012 03:27 pm Georgios Gousios

Implement custom Policy entry and policy storage ops

4841e438 01/30/2012 03:25 pm Christos KK Loverdos

Merge branch 'master' into 1852_billing_period_calc

5eb1a5f0 01/30/2012 03:21 pm Christos KK Loverdos

COntinue with billing code and start cleaning up user actor

368e39a1 01/30/2012 02:21 pm Georgios Gousios

Fix failing tests after merge

7f541f21 01/30/2012 12:42 pm Georgios Gousios

Merge branch '1852_billing_period_calc'

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...

4d4f262c 01/30/2012 12:15 pm Georgios Gousios

Fix all serialization to YAML issues

4530b9c3 01/27/2012 06:35 pm Christos KK Loverdos

Work in progress... Still in flux

3b5d6545 01/27/2012 05:28 pm Georgios Gousios

toMap() method for remaining DSL classes.

Also, immutable map generation for all classes

10a198cd 01/27/2012 05:27 pm Georgios Gousios

Method to parse YAML from a String

2201f6f1 01/27/2012 03:00 pm Georgios Gousios

One fact in one place commit

221feff6 01/27/2012 12:55 pm Georgios Gousios

Basic support for serializing policies to YAML

edd32244 01/26/2012 04:56 pm Christos KK Loverdos

Prune unused functionality.