Statistics
| Branch: | Tag: | Revision:

root / src / main / scala / gr / grnet / aquarium / user @ 3ed102ee

# Date Author Comment
07e36583 03/05/2012 04:59 pm Christos KK Loverdos

Enhance default user state creation

d49ca08f 03/02/2012 06:08 pm Christos KK Loverdos

A day's worth of debugging enhancements. Back to square one.

0e09c9b6 03/02/2012 04:48 pm Christos KK Loverdos

Delete the secondary event store on the User simulator

2cf6ae44 03/01/2012 05:17 pm Christos KK Loverdos

wip

26278949 03/01/2012 02:47 pm Christos KK Loverdos

A data structure for ignored first-time events

d71e0cce 03/01/2012 12:49 pm Christos KK Loverdos

Enriching new wallet entries with some extra info

d88bf678 03/01/2012 12:38 pm Christos KK Loverdos

Documentation fixes. Just to catch semantics better

0e33eaff 02/28/2012 05:39 pm Christos KK Loverdos

Handle a corner case with "lonely" events

0afb5a28 02/28/2012 03:17 pm Christos KK Loverdos

Computing new wallet entries

59fcb525 02/28/2012 02:45 pm Christos KK Loverdos

Rename stuff to capture semantics better

eefa02d6 02/28/2012 02:37 pm Christos KK Loverdos

Finally, returning the fully computed charge slots

f38d1ea2 02/28/2012 01:18 pm Christos KK Loverdos

Throw away a few compilation warnings

8340d647 02/28/2012 12:59 pm Christos KK Loverdos

Use billing month info, according to the new API

2a9e22e5 02/28/2012 12:54 pm Christos KK Loverdos

Change the repr of latest events snapshot

7f67c291 02/24/2012 03:35 pm Christos KK Loverdos

Start putting charge chunk in context

f357d8a6 02/24/2012 03:32 pm Christos KK Loverdos

Use previous billing month

e9300cc3 02/24/2012 03:03 pm Christos KK Loverdos

Generalize implicit OFFs to implicitly issued events

23faceee 02/24/2012 02:17 pm Christos KK Loverdos

Using billing month info

58379b6a 02/23/2012 05:57 pm Christos KK Loverdos

Make all snapshot contribute to user state snapshot time

8621646b 02/23/2012 01:42 pm Christos KK Loverdos

Reorgaize user state computation for billing period

6731b9ff 02/23/2012 12:33 pm Christos KK Loverdos

Date calculator is mutable

ce20c36e 02/20/2012 02:21 pm Christos KK Loverdos

Merge branch 'master'

Conflicts:
src/main/scala/gr/grnet/aquarium/logic/accounting/Accounting.scala
src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLCostPolicy.scala
src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLCostPolicyVar.scala
src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/Timeslot.scala...

447637cb 02/20/2012 02:05 pm Christos KK Loverdos

wip

032bc44c 02/17/2012 04:16 pm Georgios Gousios

Store policies indexed per applicability timeslot

fbec9e56 02/17/2012 04:15 pm Georgios Gousios

Trivial fixes, toString implementation

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

Add bandwidth simulator

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

Start computing wallet entries

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

WIP on wallet entries.

Constructing a proper value map depending on the cost policy.

07d7694c 02/14/2012 10:14 am Christos KK Loverdos

Add two UID generator implementations

a836d59a 02/13/2012 06:30 pm Christos KK Loverdos

WIP on wallet entries.

Constructing a proper value map depending on the cost policy.

95fe951d 02/13/2012 04:18 pm Christos KK Loverdos

Start computing wallet entries

44930ebe 02/13/2012 01:42 pm Christos KK Loverdos

Add bandwidth simulator

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

Ignoring non-billable events

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

Special data structure for implicit OFF events

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

Oh, I like contextual loggers.

Really handy when debugging.

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

Termination condition for billing month calculation

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

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

Pruning stuff from user state

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

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.

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

Enriching the test case

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

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.

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

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

A few changes so that everything compiles

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

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

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

COntinue with billing code and start cleaning up user actor

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

Work in progress... Still in flux

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

Prune unused functionality.

4050a3c9 01/26/2012 04:52 pm Christos KK Loverdos

Some new billing stuff.

Also using doubles everywhere instead of floats

80dac2ca 01/17/2012 04:37 pm Christos KK Loverdos

Stylistic change

9ab448bf 01/17/2012 04:34 pm Christos KK Loverdos

Cleanup some code before the coming changes

16319b44 01/17/2012 03:45 pm Christos KK Loverdos

Doc cleanup in user actor

250dd1c1 01/17/2012 03:44 pm Christos KK Loverdos

Gather billing computations in one file

c9cacef4 01/16/2012 06:12 pm Christos KK Loverdos

WIP #1852 Periodic billing calculation

27f6947d 01/16/2012 05:45 pm Christos KK Loverdos

Change equals to ==

4953be97 01/16/2012 03:04 pm Christos KK Loverdos

Merge stuff from benchmark branch

f4f035ff 01/12/2012 01:38 pm Georgios Gousios

Alternative way to calculate state, with entry points commented out

6b4ecc99 01/11/2012 10:06 pm Georgios Gousios

Events are now replayed correctly

57bf6eeb 01/11/2012 07:05 pm Georgios Gousios

Compilation fixes

1420b0dc 01/11/2012 07:01 pm Georgios Gousios

Support for replaying event logs to construct the user runtime state

2f474111 01/11/2012 02:47 pm Georgios Gousios

Properly shutdown user actors on Aquarium shutdown

bc179ea5 01/11/2012 02:46 pm Georgios Gousios

Save user state on shutdown

67773c01 01/11/2012 11:44 am Georgios Gousios

Take care of first time state changes

1981de11 01/11/2012 01:45 am Christos KK Loverdos

Simplify resources snapshot to make our lives easier with the lift-json library.

After a few failed attempts with lift-json, I sacrifice the Map for a List.

749e46cc 01/11/2012 01:45 am Christos KK Loverdos

WIP on the algos documentation camp

3c8efc71 01/10/2012 06:17 pm Georgios Gousios

Store the last update timestamp per resource and instance id

This code has some errors with JSON serialization

6c32b693 01/10/2012 04:45 pm Christos KK Loverdos

Super documenter. Work in progress.

An attempt is being made to work the algorithms in plain prose.
Hopefully, this will help everyone get a better understanding of the
complexities involved and of the quite interesting problem domain.

As I said, this is Work in Progress...

0bb5efaf 01/10/2012 04:28 pm Georgios Gousios

Don't store the whole agreement to the user state

Store a reference by name instead.

49dd1d9a 01/10/2012 03:27 pm Georgios Gousios

The log string has 2 args, not 3

f8d75975 01/10/2012 03:27 pm Georgios Gousios

Store the newly created user actor in the LRU cache

bf1fba4c 01/10/2012 11:34 am Christos KK Loverdos

Refactor getInstanceId to not rely on global variables

538080af 01/10/2012 11:01 am Christos KK Loverdos

Catch a message that is sent anyway

3078e2ca 01/09/2012 06:09 pm Christos KK Loverdos

Consistent `Id` naming (II)

Forgot these cases when I refactored for the previosu commit.

2e04077c 01/09/2012 05:47 pm Christos KK Loverdos

Style: do not use return

d81b8413 01/09/2012 05:41 pm Christos KK Loverdos

WIP on user get balance request.

Puting everything in line with the rest of the system implementation.

68410272 01/09/2012 05:17 pm Georgios Gousios

Find previous wallet entries for this event

d45f9b86 01/09/2012 04:48 pm Christos KK Loverdos

Eliminate pattern matching since I am not doing anything with the specific cases

be004b37 01/09/2012 04:46 pm Christos KK Loverdos

Small refactoring to ensure user state

d8473d3c 01/09/2012 04:41 pm Christos KK Loverdos

Fill in and use UserState snapshots from DB.

67f327fc 01/09/2012 03:46 pm Christos KK Loverdos

Take into account active snapshot for timestamp computations

c874bd65 01/09/2012 03:43 pm Christos KK Loverdos

Use DEBUG shortcuts

56c879b5 01/09/2012 03:30 pm Christos KK Loverdos

Handle UserEvent in UserActor

4231d272 01/09/2012 03:17 pm Christos KK Loverdos

Remove unused subclasses of UserDataSnapshot

fc1626e4 01/09/2012 02:44 pm Georgios Gousios

More tests => several errors fixed

3e48d8b8 01/09/2012 02:29 pm Christos KK Loverdos

Use UserDataSnapshotException

fdc420c4 01/09/2012 01:38 pm Christos KK Loverdos

Refactor user state change code

23802af9 01/05/2012 04:15 pm Georgios Gousios

Accounting changes, too many to commit individually:

-Make the resource state store hold values in a uniform format for
complex and simple resources
-Make the resource state retrieval method simpler and also contain
all resource state storage conventions into it....

5cef59e0 01/04/2012 02:05 pm Georgios Gousios

Remove the resource state API, start using the new accounting code

236bf84a 01/02/2012 10:54 pm Christos KK Loverdos

Change update style to use copy on immutable data

5893f960 01/02/2012 06:32 pm Christos KK Loverdos

Merge with my changes for user state handling.

I have also recreated ResourceNames and ResourceType (why were they
deleted?), as they are crucial for the polymorphic user state calculation
and the resource event type and name specifications.

User state is updated immutably everywhere and every resource type...

3aa0499b 01/02/2012 06:10 pm Christos KK Loverdos

Calculate user state from resource events (wip).