aquarium
12 years agoModularize tests
Christos KK Loverdos [Mon, 26 Mar 2012 13:48:06 +0000 (16:48 +0300)]
Modularize tests

12 years agoNotes from George
Christos KK Loverdos [Mon, 26 Mar 2012 13:47:11 +0000 (16:47 +0300)]
Notes from George

12 years agoUpdate SBT project file
Christos KK Loverdos [Mon, 26 Mar 2012 13:46:14 +0000 (16:46 +0300)]
Update SBT project file

12 years agoDo not create a super fat jar
Christos KK Loverdos [Mon, 26 Mar 2012 12:30:15 +0000 (15:30 +0300)]
Do not create a super fat jar

12 years agoPass a few more helpful parameters to the compiler
Christos KK Loverdos [Mon, 26 Mar 2012 12:29:28 +0000 (15:29 +0300)]
Pass a few more helpful parameters to the compiler

12 years agoUpgrade scala-maven-plugin
Christos KK Loverdos [Mon, 26 Mar 2012 12:07:01 +0000 (15:07 +0300)]
Upgrade scala-maven-plugin

Notice that both the artifactId and the groupId have changed.
Announcement: http://implicit.ly/scala-maven-plugin-301
Source: https://github.com/davidB/scala-maven-plugin/blob/master/pom.xml

12 years agoUpgrade scopt
Christos KK Loverdos [Mon, 26 Mar 2012 12:01:04 +0000 (15:01 +0300)]
Upgrade scopt

12 years agoHow to run the test.sh script
Georgios Gousios [Thu, 22 Mar 2012 14:29:43 +0000 (16:29 +0200)]
How to run the test.sh script

12 years agoScript to help test a new Aquarium installation
Georgios Gousios [Thu, 22 Mar 2012 13:58:21 +0000 (15:58 +0200)]
Script to help test a new Aquarium installation

12 years agoA few notes on how to test MongoDB replication
Georgios Gousios [Thu, 22 Mar 2012 13:47:11 +0000 (15:47 +0200)]
A few notes on how to test MongoDB replication

12 years agoDeprecate the descriminator field for complex resources
Georgios Gousios [Thu, 22 Mar 2012 13:15:00 +0000 (15:15 +0200)]
Deprecate the descriminator field for complex resources

12 years agoMake a bit clearer that queues must be configured
Georgios Gousios [Thu, 22 Mar 2012 10:47:11 +0000 (12:47 +0200)]
Make a bit clearer that queues must be configured

12 years agoAllow more than 1 threads to access the cache concurrently
Georgios Gousios [Thu, 22 Mar 2012 09:42:27 +0000 (11:42 +0200)]
Allow more than 1 threads to access the cache concurrently

12 years agoSet queue prefetch size to 1.
Georgios Gousios [Thu, 22 Mar 2012 09:36:49 +0000 (11:36 +0200)]
Set queue prefetch size to 1.

This might decrease queue reading performance but it also
increases the chances of no messages get lost if Aquarium
crashes

12 years agoSupport for sending messages from user actors
Georgios Gousios [Thu, 22 Mar 2012 09:35:24 +0000 (11:35 +0200)]
Support for sending messages from user actors

12 years agoAdd a test for an orphan vmtime OFF
Christos KK Loverdos [Wed, 21 Mar 2012 14:31:45 +0000 (16:31 +0200)]
Add a test for an orphan vmtime OFF

12 years agoUpdate the latest resource event in user state when processing one resource event
Christos KK Loverdos [Wed, 21 Mar 2012 14:30:53 +0000 (16:30 +0200)]
Update the latest resource event in user state when processing one resource event

12 years agoShow size even when printing in one line (for Seq)
Christos KK Loverdos [Wed, 21 Mar 2012 14:28:49 +0000 (16:28 +0200)]
Show size even when printing in one line (for Seq)

12 years agoIgnore a couple of things
Christos KK Loverdos [Wed, 21 Mar 2012 12:48:39 +0000 (14:48 +0200)]
Ignore a couple of things

12 years agoAdd two billing month tests
Christos KK Loverdos [Wed, 21 Mar 2012 09:31:47 +0000 (11:31 +0200)]
Add two billing month tests

12 years agoChange _id to id
Christos KK Loverdos [Wed, 21 Mar 2012 09:30:56 +0000 (11:30 +0200)]
Change _id to id

It was interfering with MongoDB _id generation.

12 years agoCost policy name is already known
Christos KK Loverdos [Wed, 21 Mar 2012 09:28:49 +0000 (11:28 +0200)]
Cost policy name is already known

12 years agoSimple test case with one ON-OFF sequence.
Christos KK Loverdos [Tue, 20 Mar 2012 14:25:48 +0000 (16:25 +0200)]
Simple test case with one ON-OFF sequence.

Seems OK but not checking if produces the exact value.

12 years agoRefactor test class to prepare for more test cases
Christos KK Loverdos [Tue, 20 Mar 2012 13:48:24 +0000 (15:48 +0200)]
Refactor test class to prepare for more test cases

12 years agoCalculations for synthetic stuff
Christos KK Loverdos [Tue, 20 Mar 2012 13:28:34 +0000 (15:28 +0200)]
Calculations for synthetic stuff

12 years agoSynthetic resource events and wallet entries
Christos KK Loverdos [Tue, 20 Mar 2012 11:30:08 +0000 (13:30 +0200)]
Synthetic resource events and wallet entries

12 years agoStart hooking implicitly issued events
Christos KK Loverdos [Tue, 20 Mar 2012 11:16:53 +0000 (13:16 +0200)]
Start hooking implicitly issued events

12 years agoFiner-grained handling of implictly issued events
Christos KK Loverdos [Tue, 20 Mar 2012 10:50:00 +0000 (12:50 +0200)]
Finer-grained handling of implictly issued events

First cut. More to follow

12 years agoUser actor supervisor, actor cache based on Guava
Georgios Gousios [Tue, 20 Mar 2012 11:40:54 +0000 (13:40 +0200)]
User actor supervisor, actor cache based on Guava

12 years agoThe map is already immutable now
Christos KK Loverdos [Mon, 19 Mar 2012 16:33:23 +0000 (18:33 +0200)]
The map is already immutable now

12 years agoUse an immutable map for the variables
Christos KK Loverdos [Mon, 19 Mar 2012 15:31:10 +0000 (17:31 +0200)]
Use an immutable map for the variables

12 years agoRename a couple of methods
Christos KK Loverdos [Mon, 19 Mar 2012 15:15:04 +0000 (17:15 +0200)]
Rename a couple of methods

12 years agoUser state change computation modularization Part III
Christos KK Loverdos [Mon, 19 Mar 2012 15:03:22 +0000 (17:03 +0200)]
User state change computation modularization Part III

12 years agoFurther modularization of user state change computation
Christos KK Loverdos [Mon, 19 Mar 2012 14:33:49 +0000 (16:33 +0200)]
Further modularization of user state change computation

12 years agoIntroduce user state worker in order to modularize user state computations
Christos KK Loverdos [Mon, 19 Mar 2012 14:02:57 +0000 (16:02 +0200)]
Introduce user state worker in order to modularize user state computations

12 years agoBuffer new wallet entries and update user state
Christos KK Loverdos [Mon, 19 Mar 2012 13:45:35 +0000 (15:45 +0200)]
Buffer new wallet entries and update user state

12 years agoLower the logging noise
Christos KK Loverdos [Mon, 19 Mar 2012 13:44:11 +0000 (15:44 +0200)]
Lower the logging noise

12 years agoEnhance user state. Refactor state change reason
Christos KK Loverdos [Mon, 19 Mar 2012 13:40:52 +0000 (15:40 +0200)]
Enhance user state. Refactor state change reason

12 years agoStart a better documentation for the user state attributes
Christos KK Loverdos [Mon, 19 Mar 2012 13:39:31 +0000 (15:39 +0200)]
Start a better documentation for the user state attributes

12 years agoAdd a debugging method
Christos KK Loverdos [Mon, 19 Mar 2012 13:38:05 +0000 (15:38 +0200)]
Add a debugging method

12 years agoRefactor the saved resource events to a list
Christos KK Loverdos [Mon, 19 Mar 2012 13:37:47 +0000 (15:37 +0200)]
Refactor the saved resource events to a list

12 years agoAdd the reference timeslot to new wallet entry
Christos KK Loverdos [Mon, 19 Mar 2012 13:36:45 +0000 (15:36 +0200)]
Add the reference timeslot to new wallet entry

12 years agoMinor changes
Georgios Gousios [Fri, 16 Mar 2012 16:11:57 +0000 (18:11 +0200)]
Minor changes

12 years agoCreate user on new user event arrival
Georgios Gousios [Fri, 16 Mar 2012 16:11:45 +0000 (18:11 +0200)]
Create user on new user event arrival

12 years agoSearch for user specified config file first
Georgios Gousios [Fri, 16 Mar 2012 16:11:17 +0000 (18:11 +0200)]
Search for user specified config file first

12 years agoForward all events to the dispatcher
Georgios Gousios [Fri, 16 Mar 2012 16:10:37 +0000 (18:10 +0200)]
Forward all events to the dispatcher

12 years agoMake event type comparisons ignore case
Georgios Gousios [Fri, 16 Mar 2012 16:10:14 +0000 (18:10 +0200)]
Make event type comparisons ignore case

12 years agoMethod to look for a configuration file
Georgios Gousios [Fri, 16 Mar 2012 16:02:04 +0000 (18:02 +0200)]
Method to look for a configuration file

12 years agoCorrectly store and send user events
Georgios Gousios [Fri, 16 Mar 2012 12:59:31 +0000 (14:59 +0200)]
Correctly store and send user events

12 years agoRefils resource for handling credit refils
Georgios Gousios [Thu, 15 Mar 2012 14:14:29 +0000 (16:14 +0200)]
Refils resource for handling credit refils

12 years agoMake better use of calculation reason and the stored _id
Christos KK Loverdos [Fri, 16 Mar 2012 16:05:10 +0000 (18:05 +0200)]
Make better use of calculation reason and the stored _id

12 years agoProperly update user state with db _id
Christos KK Loverdos [Fri, 16 Mar 2012 16:04:06 +0000 (18:04 +0200)]
Properly update user state with db _id

12 years agoAdd one more calculation reason
Christos KK Loverdos [Fri, 16 Mar 2012 16:03:22 +0000 (18:03 +0200)]
Add one more calculation reason

12 years agoAdd support for DB _id
Christos KK Loverdos [Fri, 16 Mar 2012 16:02:38 +0000 (18:02 +0200)]
Add support for DB _id

12 years agoAdd one convenient method to user state store
Christos KK Loverdos [Fri, 16 Mar 2012 16:00:43 +0000 (18:00 +0200)]
Add one convenient method to user state store

But this will have to be consolidated at some point.

12 years agoSlight doc modification
Christos KK Loverdos [Fri, 16 Mar 2012 15:59:58 +0000 (17:59 +0200)]
Slight doc modification

12 years agoMake the concurrent uid generator more flexible
Christos KK Loverdos [Fri, 16 Mar 2012 15:59:02 +0000 (17:59 +0200)]
Make the concurrent uid generator more flexible

12 years agoReuse user creation time from user state
Christos KK Loverdos [Fri, 16 Mar 2012 13:04:07 +0000 (15:04 +0200)]
Reuse user creation time from user state

12 years agoAdd calculatin reason and simplify the API
Christos KK Loverdos [Fri, 16 Mar 2012 13:01:37 +0000 (15:01 +0200)]
Add calculatin reason and simplify the API

12 years agoMore updates to the working user state
Christos KK Loverdos [Thu, 15 Mar 2012 16:19:03 +0000 (18:19 +0200)]
More updates to the working user state

12 years agoUnuse a method in logger
Christos KK Loverdos [Thu, 15 Mar 2012 15:55:55 +0000 (17:55 +0200)]
Unuse a method in logger

12 years agoCode reorganization for better readability
Christos KK Loverdos [Thu, 15 Mar 2012 15:42:11 +0000 (17:42 +0200)]
Code reorganization for better readability

12 years agoAdd utility methdos for Maybe
Christos KK Loverdos [Thu, 15 Mar 2012 15:36:08 +0000 (17:36 +0200)]
Add utility methdos for Maybe

12 years agoBetter method parameter naming
Christos KK Loverdos [Thu, 15 Mar 2012 15:31:09 +0000 (17:31 +0200)]
Better method parameter naming

12 years agoAdd one attribute to track total events processed
Christos KK Loverdos [Thu, 15 Mar 2012 13:27:43 +0000 (15:27 +0200)]
Add one attribute to track total events processed

12 years agoSmall API change
Christos KK Loverdos [Thu, 15 Mar 2012 13:11:37 +0000 (15:11 +0200)]
Small API change

12 years agoDocumentation of the user event
Georgios Gousios [Thu, 15 Mar 2012 12:02:45 +0000 (14:02 +0200)]
Documentation of the user event

12 years agoChanged user event format
Georgios Gousios [Thu, 15 Mar 2012 11:05:28 +0000 (13:05 +0200)]
Changed user event format

12 years agoFix a test to comply with the new semantics for complex/simple resources
Christos KK Loverdos [Wed, 14 Mar 2012 16:47:50 +0000 (18:47 +0200)]
Fix a test to comply with the new semantics for complex/simple resources

12 years agoSubtract consumed credits.
Christos KK Loverdos [Wed, 14 Mar 2012 16:37:04 +0000 (18:37 +0200)]
Subtract consumed credits.

The other way was to have all algorithms return negative values but it
is better to have them return the (positive) consumed credits and then
subtract those credits from the total.

12 years agoFinish adminguide work
Georgios Gousios [Wed, 14 Mar 2012 15:27:11 +0000 (17:27 +0200)]
Finish adminguide work

12 years agoMongoDB config done
Georgios Gousios [Wed, 14 Mar 2012 11:39:35 +0000 (13:39 +0200)]
MongoDB config done

12 years agoExternal system requirements and config, part 1
Georgios Gousios [Wed, 14 Mar 2012 11:09:07 +0000 (13:09 +0200)]
External system requirements and config, part 1

12 years agoMake map printing aligned by keys
Christos KK Loverdos [Tue, 13 Mar 2012 16:13:02 +0000 (18:13 +0200)]
Make map printing aligned by keys

12 years agoAdd some string manipulation goodies
Christos KK Loverdos [Tue, 13 Mar 2012 16:10:18 +0000 (18:10 +0200)]
Add some string manipulation goodies

12 years agoAdmin guide, configuration and running
Georgios Gousios [Tue, 13 Mar 2012 15:50:34 +0000 (17:50 +0200)]
Admin guide, configuration and running

12 years agoBuild instructions for Aquarium
Georgios Gousios [Tue, 13 Mar 2012 13:53:39 +0000 (15:53 +0200)]
Build instructions for Aquarium

12 years agoFix two bugs by virtue of the previously committed generalization
Christos KK Loverdos [Tue, 13 Mar 2012 15:01:15 +0000 (17:01 +0200)]
Fix two bugs by virtue of the previously committed generalization

12 years agoSimplify and generalize cost policy var calculation
Christos KK Loverdos [Tue, 13 Mar 2012 14:54:18 +0000 (16:54 +0200)]
Simplify and generalize cost policy var calculation

12 years agoTest commit for the new credentials
Christos KK Loverdos [Tue, 13 Mar 2012 14:48:29 +0000 (16:48 +0200)]
Test commit for the new credentials

12 years agoCleaning up cost policies API
Christos KK Loverdos [Tue, 13 Mar 2012 13:52:58 +0000 (15:52 +0200)]
Cleaning up cost policies API

12 years agoAlso take into account the cost policy for the resource simulators
Christos KK Loverdos [Tue, 13 Mar 2012 13:22:52 +0000 (15:22 +0200)]
Also take into account the cost policy for the resource simulators

12 years agoImpl simplifications and a better toString for the algo compiler
Christos KK Loverdos [Tue, 13 Mar 2012 13:22:06 +0000 (15:22 +0200)]
Impl simplifications and a better toString for the algo compiler

12 years agoA better toString for charge slots
Christos KK Loverdos [Tue, 13 Mar 2012 13:20:57 +0000 (15:20 +0200)]
A better toString for charge slots

12 years agoCheck that default policies are applied
Georgios Gousios [Tue, 13 Mar 2012 13:03:52 +0000 (15:03 +0200)]
Check that default policies are applied

12 years agoCheck for existence of default role mapping
Georgios Gousios [Tue, 13 Mar 2012 11:33:38 +0000 (13:33 +0200)]
Check for existence of default role mapping

12 years agoMake algorithms more easily visible when debugging
Christos KK Loverdos [Tue, 13 Mar 2012 11:08:53 +0000 (13:08 +0200)]
Make algorithms more easily visible when debugging

12 years agoChange the DSL for the billing test
Christos KK Loverdos [Tue, 13 Mar 2012 11:07:13 +0000 (13:07 +0200)]
Change the DSL for the billing test

12 years agoFix a bug with the resource simulators
Christos KK Loverdos [Tue, 13 Mar 2012 11:06:07 +0000 (13:06 +0200)]
Fix a bug with the resource simulators

12 years agoPretty printing resource simulator
Christos KK Loverdos [Tue, 13 Mar 2012 11:01:24 +0000 (13:01 +0200)]
Pretty printing resource simulator

12 years agoFurther adjustment of simulation classes
Christos KK Loverdos [Tue, 13 Mar 2012 10:43:02 +0000 (12:43 +0200)]
Further adjustment of simulation classes

12 years agoUnifying simple & complex resources (Part II)
Christos KK Loverdos [Tue, 13 Mar 2012 10:21:28 +0000 (12:21 +0200)]
Unifying simple & complex resources (Part II)

Adjusting simulation classes.

12 years agoUnifying simple & complex resources.
Christos KK Loverdos [Tue, 13 Mar 2012 09:43:15 +0000 (11:43 +0200)]
Unifying simple & complex resources.

Part One.

12 years agoFix version of akka in test config, tests are run again
Georgios Gousios [Tue, 13 Mar 2012 11:01:06 +0000 (13:01 +0200)]
Fix version of akka in test config, tests are run again

12 years agoTest and concequent fix for the roles-agreement mappings parser
Georgios Gousios [Tue, 13 Mar 2012 11:00:47 +0000 (13:00 +0200)]
Test and concequent fix for the roles-agreement mappings parser

12 years agoDon't override existing names when de-serializing policies
Georgios Gousios [Tue, 13 Mar 2012 09:51:47 +0000 (11:51 +0200)]
Don't override existing names when de-serializing policies

12 years agoSmall changes in contextual logger
Christos KK Loverdos [Mon, 12 Mar 2012 17:30:29 +0000 (19:30 +0200)]
Small changes in contextual logger

12 years ago(untested) support for role -> agreement mappings
Georgios Gousios [Mon, 12 Mar 2012 16:18:13 +0000 (18:18 +0200)]
(untested) support for role -> agreement mappings

12 years agoFix(?) align timeslots
Georgios Gousios [Mon, 12 Mar 2012 10:39:42 +0000 (12:39 +0200)]
Fix(?) align timeslots

12 years agoAdd the "once" cost policy
Christos KK Loverdos [Fri, 9 Mar 2012 16:02:01 +0000 (18:02 +0200)]
Add the "once" cost policy