Statistics
| Branch: | Tag: | Revision:

root / src / main / scala / gr / grnet / aquarium / user @ af85da93

# Date Author Comment
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).

79a8cc88 01/02/2012 05:29 pm Georgios Gousios

Messages and API for accessing resource state per actor

9edd8ae6 12/29/2011 03:15 pm Christos KK Loverdos

Rename master conf

347e2dc5 12/29/2011 03:13 pm Christos KK Loverdos

Add min,max time calculations for user state

48894391 12/27/2011 03:21 pm Christos KK Loverdos

Delegate json-related functionality to JsonHelpers (UserState)

f4ece57c 12/27/2011 02:42 pm Christos KK Loverdos

Clearer code for UserActorManager

5473142c 12/23/2011 11:14 am Christos KK Loverdos

Adding the owned resources snapshot

62f66cf1 12/23/2011 11:07 am Christos KK Loverdos

Add owned resources to user state (provisionally)

No snapshot for the moment, need to model it.

295a9d5c 12/22/2011 05:02 pm Christos KK Loverdos

Use the time threshold for user state.

d2248e61 12/22/2011 04:58 pm Christos KK Loverdos

Change Dispatcher response model.

9ae4382b 12/22/2011 01:17 pm Christos KK Loverdos

Add 'active' flag

93c8c0c1 12/21/2011 12:46 pm Georgios Gousios

Flat project hierarchy