Statistics
| Branch: | Tag: | Revision:

root / src / main / scala / gr / grnet @ 87b46be1

# Date Author Comment
87b46be1 01/11/2012 02:46 pm Georgios Gousios

Method to delete user state from store

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

af2ff726 01/11/2012 01:45 am Christos KK Loverdos

Give the option of pretty or non-pretty json printing

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

11d59f68 01/10/2012 04:45 pm Christos KK Loverdos

Add a few helper methods to resource event

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.

2655e5cd 01/10/2012 04:27 pm Georgios Gousios

Case objects instead of objects for cost policy definitions

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

The log string has 2 args, not 3

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

Use the list of resources defined in the policy

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

Store the newly created user actor in the LRU cache

00df2d57 01/10/2012 12:00 pm Christos KK Loverdos

Do not use default global value parameter and take advantage of pattern case class matching

7e87f81b 01/10/2012 11:59 am Christos KK Loverdos

Augment DSLCostPolicy with utility methods

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

Refactor getInstanceId to not rely on global variables

28b43673 01/10/2012 11:10 am Christos KK Loverdos

Equality is always a possibility

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.

02062fc6 01/09/2012 05:50 pm Christos KK Loverdos

Consistent `Id` naming

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

Style: do not use return

d241bfc8 01/09/2012 05:43 pm Christos KK Loverdos

Fix a couple of compilation warnings.

We still get the `head` though (via next), so the semantics are similar.

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

8a726d5f 01/09/2012 05:16 pm Georgios Gousios

Names for fields in the Json representation of the msg

0ff4bd89 01/09/2012 04:53 pm Georgios Gousios

Spice up WalletEntries with resource and instance info

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.

44caafd9 01/09/2012 04:03 pm Christos KK Loverdos

Add documentation for store-related collections, give better names and fix a couple of bugs

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

653c0ced 01/09/2012 03:28 pm Christos KK Loverdos

Small doc addition for UserEvent

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

Remove unused subclasses of UserDataSnapshot

2a099406 01/09/2012 03:10 pm Christos KK Loverdos

Collection renaming a bug fix in UserState query

84337e40 01/09/2012 02:59 pm Christos KK Loverdos

Make UserState roles immutable

560951e7 01/09/2012 02:57 pm Christos KK Loverdos

Add a few queries to UserEvent

ea8511c3 01/09/2012 02:47 pm Christos KK Loverdos

Forward UserState events to dispatcher

11b49c26 01/09/2012 02:44 pm Georgios Gousios

Calculate hours, not minutes

1638f2dd 01/09/2012 02:44 pm Georgios Gousios

More precise error message

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

More tests => several errors fixed

bbc7a37c 01/09/2012 02:41 pm Christos KK Loverdos

Generify EventProcessorService to avoid too many casts

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

85dacfc7 01/05/2012 02:58 pm Georgios Gousios

Remove wrong test

ffc5f043 01/05/2012 02:40 pm Georgios Gousios

Convert a timeslot to its duration in hours

226d2470 01/05/2012 02:40 pm Georgios Gousios

States for discrete cost policy events

e5a4dd4f 01/05/2012 10:53 am Georgios Gousios

Stricted definitions and explantations for cost policies

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

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

2e4322cc 01/04/2012 02:04 pm Georgios Gousios

Purify the accounting code

-All required resource state passed as params
-Charge chunks exposed as top level entity

ad8d8db2 01/04/2012 11:21 am Georgios Gousios

Support for user configurable accounting policy locations

0dcd8f42 01/04/2012 09:16 am Georgios Gousios

Make the number of MongoDB connections a configurable property

7b37f843 01/03/2012 05:56 pm Georgios Gousios

Various performance related changes

-Start lots of actors by default, to compensate for slow I/O
-Start a fair amount of threads by default
-More detailed logging
-Don't create a new dispatcher per request

2a5c0859 01/03/2012 05:53 pm Georgios Gousios

Create a new connection per store request

This is to take advantage of the Mongo driver connection pool

2c306c81 01/03/2012 03:36 pm Georgios Gousios

Implement the remaining bits of the user event processor service

ee343d66 01/03/2012 03:36 pm Georgios Gousios

Implement the user event store

5ac383f2 01/03/2012 02:09 pm Georgios Gousios

Make the load balancing managers regular objects. Docs++

8520e0e5 01/03/2012 01:26 pm Georgios Gousios

First attempt to make the resource processor service abstract

19310f69 01/03/2012 01:24 pm Georgios Gousios

Helper method to immutably set the receive timestamp

4dfd9ec3 01/03/2012 12:05 pm Georgios Gousios

Forward messages to the dispatcher after ACK

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

Change update style to use copy on immutable data

87caa095 01/02/2012 07:59 pm Christos KK Loverdos

Correct documentation

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

af7eae3e 01/02/2012 02:15 pm Georgios Gousios

Validate presence of descriminator field in complex resource events

2cb992f5 01/02/2012 02:07 pm Georgios Gousios

Resource names should only be specified in the DSL

f6a143f2 01/02/2012 02:06 pm Georgios Gousios

Add DSL field to describe different instances for complex resources

65fc0973 01/02/2012 10:49 am Christos KK Loverdos

More consistent naming for resource(type)s

6180aa45 01/02/2012 10:05 am Christos KK Loverdos

Codify resource event types.

These must be constant across the whole platform.

ee52a866 01/02/2012 10:04 am Christos KK Loverdos

Fix compilation error

5418f833 12/29/2011 04:42 pm Christos KK Loverdos

Document xml support

da11ae1a 12/29/2011 04:39 pm Christos KK Loverdos

Document json support

7958f348 12/29/2011 04:34 pm Christos KK Loverdos

Consolidating timestamps.

I believe aqTimestamp was semantically the same as receivedMillis.
This value will be properly provided and it should not be a var anyway.

5fa3308c 12/29/2011 04:22 pm Christos KK Loverdos

Add one more timestamp to resource event that denotes the reception time.

56aba6e9 12/29/2011 03:17 pm Christos KK Loverdos

Refactor to accomodate MasterConf rename

eaf0c2d0 12/29/2011 03:15 pm Christos KK Loverdos

Rename the store to better reflect the domain objects

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

Rename master conf

1950a3d6 12/29/2011 03:15 pm Christos KK Loverdos

Refactor MongoDB quering to reusable methods

d39547f2 12/29/2011 03:15 pm Christos KK Loverdos

Rename wallet store methods

963593b5 12/29/2011 03:15 pm Christos KK Loverdos

More MongoDB query refactoring

c38f063f 12/29/2011 03:15 pm Christos KK Loverdos

Rename MongoDB collection to comply with the RabbitMQ key name

517f5b14 12/29/2011 03:14 pm Christos KK Loverdos

Rename event store to catch semantics better

1a1c3eba 12/29/2011 03:13 pm Christos KK Loverdos

Fix fromJson and delegate to JsonHelpers

6fa9d781 12/29/2011 03:13 pm Christos KK Loverdos

Make vmId a symbolic name to avoid lurking strings

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

Add min,max time calculations for user state

564bd9c9 12/29/2011 03:13 pm Christos KK Loverdos

Capture timestamp semantics with a better name.

c930eea3 12/29/2011 03:13 pm Christos KK Loverdos

Use an immutable collection for source event IDs

e6ac41e4 12/29/2011 03:11 pm Christos KK Loverdos

Fix small typo and do another round of akka version upgrade.

It is akka.conf in test/ this time.

d2b254da 12/29/2011 10:36 am Georgios Gousios

Initial implementation of accounting method

7abc22a9 12/29/2011 10:36 am Georgios Gousios

Don't serialize the logger

be4b415f 12/29/2011 10:36 am Georgios Gousios

Add custom timestamp, to fill in when msg is first stored

bcb0c055 12/29/2011 10:36 am Georgios Gousios

Fix problem with duplicate sha-1 ids being produced

3f42804b 12/29/2011 10:36 am Georgios Gousios

More verbose debug logging, save custom timestamp

a1f9fcff 12/27/2011 03:23 pm Christos KK Loverdos

API change should have been committed earlier (II)

ecdcd083 12/27/2011 03:22 pm Christos KK Loverdos

API change should have been committed earlier

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

Delegate json-related functionality to JsonHelpers (UserState)

1de083ee 12/27/2011 03:16 pm Christos KK Loverdos

Use vals and not raw strings for JSON names