aquarium
12 years agoUpgrade akka to 1.3-RC5
Christos KK Loverdos [Thu, 29 Dec 2011 07:36:04 +0000 (09:36 +0200)]
Upgrade akka to 1.3-RC5

12 years agoAdd typesafe repo to pom.xml
Christos KK Loverdos [Thu, 29 Dec 2011 07:35:26 +0000 (09:35 +0200)]
Add typesafe repo to pom.xml

12 years agoAPI change should have been committed earlier (II)
Christos KK Loverdos [Tue, 27 Dec 2011 13:23:37 +0000 (15:23 +0200)]
API change should have been committed earlier (II)

12 years agoAPI change should have been committed earlier
Christos KK Loverdos [Tue, 27 Dec 2011 13:22:49 +0000 (15:22 +0200)]
API change should have been committed earlier

12 years agoDelegate json-related functionality to JsonHelpers (UserState)
Christos KK Loverdos [Tue, 27 Dec 2011 13:21:53 +0000 (15:21 +0200)]
Delegate json-related functionality to JsonHelpers (UserState)

12 years agoUse vals and not raw strings for JSON names
Christos KK Loverdos [Tue, 27 Dec 2011 13:16:17 +0000 (15:16 +0200)]
Use vals and not raw strings for JSON names

12 years agoMake better use of DBObjects
Christos KK Loverdos [Tue, 27 Dec 2011 13:07:13 +0000 (15:07 +0200)]
Make better use of DBObjects

12 years agoClearer code for UserActorManager
Christos KK Loverdos [Tue, 27 Dec 2011 12:42:37 +0000 (14:42 +0200)]
Clearer code for UserActorManager

12 years agoDelegate json-related functionality to JsonHelpers
Christos KK Loverdos [Tue, 27 Dec 2011 12:33:46 +0000 (14:33 +0200)]
Delegate json-related functionality to JsonHelpers

12 years agoFactor out long names by using a value and by importing an object
Christos KK Loverdos [Tue, 27 Dec 2011 12:27:57 +0000 (14:27 +0200)]
Factor out long names by using a value and by importing an object

12 years agoUse existing properties API and make MasterConf API a bit more flexible with a defaul...
Christos KK Loverdos [Tue, 27 Dec 2011 12:24:09 +0000 (14:24 +0200)]
Use existing properties API and make MasterConf API a bit more flexible with a default value

12 years agoUse existing API for list-valued properties
Christos KK Loverdos [Tue, 27 Dec 2011 12:20:40 +0000 (14:20 +0200)]
Use existing API for list-valued properties

12 years agoAdd documentation
Christos KK Loverdos [Tue, 27 Dec 2011 12:16:56 +0000 (14:16 +0200)]
Add documentation

12 years agoAdd one more query to event store.
Christos KK Loverdos [Fri, 23 Dec 2011 10:32:01 +0000 (12:32 +0200)]
Add one more query to event store.

12 years agoClose mongodb query cursors.
Christos KK Loverdos [Fri, 23 Dec 2011 10:30:47 +0000 (12:30 +0200)]
Close mongodb query cursors.

12 years agoSome more CryptoUtils love.
Christos KK Loverdos [Fri, 23 Dec 2011 10:23:52 +0000 (12:23 +0200)]
Some more CryptoUtils love.

It must be Christmas that is affecting me, since I have already used the word love twice in commit messages today.

12 years agoMake CryptoUtils thread-safe
Christos KK Loverdos [Fri, 23 Dec 2011 10:16:19 +0000 (12:16 +0200)]
Make CryptoUtils thread-safe

12 years agoSome more JsonHelpers love
Christos KK Loverdos [Fri, 23 Dec 2011 10:07:40 +0000 (12:07 +0200)]
Some more JsonHelpers love

12 years agoAugment JsonHelpers so that all clients call this in the future.
Christos KK Loverdos [Fri, 23 Dec 2011 10:01:17 +0000 (12:01 +0200)]
Augment JsonHelpers so that all clients call this in the future.

12 years agoAdding the owned resources snapshot
Christos KK Loverdos [Fri, 23 Dec 2011 09:14:00 +0000 (11:14 +0200)]
Adding the owned resources snapshot

12 years agoAdd owned resources to user state (provisionally)
Christos KK Loverdos [Fri, 23 Dec 2011 09:07:01 +0000 (11:07 +0200)]
Add owned resources to user state (provisionally)

No snapshot for the moment, need to model it.

12 years agoImplement and test method that aligns charge timeslots among algorithms and pricelists
Georgios Gousios [Thu, 22 Dec 2011 15:59:01 +0000 (17:59 +0200)]
Implement and test method that aligns charge timeslots among algorithms and pricelists

12 years agoresolve* methods return maps sorted by timeslot start time
Georgios Gousios [Thu, 22 Dec 2011 15:57:43 +0000 (17:57 +0200)]
resolve* methods return maps sorted by timeslot start time

Also, improved documentation

12 years agoMake Timeslots comparable by start date
Georgios Gousios [Thu, 22 Dec 2011 15:56:42 +0000 (17:56 +0200)]
Make Timeslots comparable by start date

12 years agoDefault baseline policy
Georgios Gousios [Thu, 22 Dec 2011 13:50:34 +0000 (15:50 +0200)]
Default baseline policy

12 years agoFix resource event validation
Georgios Gousios [Thu, 22 Dec 2011 13:50:17 +0000 (15:50 +0200)]
Fix resource event validation

12 years agoRename method WalletStore -> walletStore
Christos KK Loverdos [Thu, 22 Dec 2011 15:23:26 +0000 (17:23 +0200)]
Rename method WalletStore -> walletStore

12 years agoUse the time threshold for user state.
Christos KK Loverdos [Thu, 22 Dec 2011 15:02:00 +0000 (17:02 +0200)]
Use the time threshold for user state.

12 years agoChange Dispatcher response model.
Christos KK Loverdos [Thu, 22 Dec 2011 14:58:23 +0000 (16:58 +0200)]
Change Dispatcher response model.

12 years agoIntroduce a time threshold for user state recomputations.
Christos KK Loverdos [Thu, 22 Dec 2011 12:52:32 +0000 (14:52 +0200)]
Introduce a time threshold for user state recomputations.

12 years agoMain properties file, accidentaly removed
Georgios Gousios [Thu, 22 Dec 2011 11:56:46 +0000 (13:56 +0200)]
Main properties file, accidentaly removed

12 years agoWe don't need no users, let the mf burn. Burn, mf, burn
Georgios Gousios [Thu, 22 Dec 2011 11:55:05 +0000 (13:55 +0200)]
We don't need no users, let the mf burn. Burn, mf, burn

12 years agoDo not ingore the template aquarium.properties
Christos KK Loverdos [Thu, 22 Dec 2011 11:54:14 +0000 (13:54 +0200)]
Do not ingore the template aquarium.properties

12 years agoAdd a dependency in sbt which was not pulled transitively.
Christos KK Loverdos [Thu, 22 Dec 2011 11:26:39 +0000 (13:26 +0200)]
Add a dependency in sbt which was not pulled transitively.

12 years agoAdd 'active' flag
Christos KK Loverdos [Thu, 22 Dec 2011 11:17:49 +0000 (13:17 +0200)]
Add 'active' flag

12 years agoTrying to fix sbt build...
Christos KK Loverdos [Thu, 22 Dec 2011 09:10:42 +0000 (11:10 +0200)]
Trying to fix sbt build...

12 years agoKeep messaging names organized in one place
Georgios Gousios [Wed, 21 Dec 2011 15:32:44 +0000 (17:32 +0200)]
Keep messaging names organized in one place

12 years agoCmd-line parsing for resource generation events
Georgios Gousios [Wed, 21 Dec 2011 15:19:25 +0000 (17:19 +0200)]
Cmd-line parsing for resource generation events

12 years agoRemove more dead code
Georgios Gousios [Wed, 21 Dec 2011 14:03:42 +0000 (16:03 +0200)]
Remove more dead code

12 years agoFix event generation and instertion test in imevens collection
Georgios Gousios [Wed, 21 Dec 2011 14:00:54 +0000 (16:00 +0200)]
Fix event generation and instertion test in imevens collection

12 years agoFix failing Eventstore test
Georgios Gousios [Wed, 21 Dec 2011 14:00:28 +0000 (16:00 +0200)]
Fix failing Eventstore test

Calling assumeTrue in after method after assumeTrue in main test
method led Junit to believe that the after method was failing.

12 years agoUtility functions for working with Java's crypto libraries
Georgios Gousios [Wed, 21 Dec 2011 13:56:53 +0000 (15:56 +0200)]
Utility functions for working with Java's crypto libraries

12 years agouser id is a String
Georgios Gousios [Wed, 21 Dec 2011 13:55:23 +0000 (15:55 +0200)]
user id is a String

12 years agotest idiocity--
Georgios Gousios [Wed, 21 Dec 2011 12:10:06 +0000 (14:10 +0200)]
test idiocity--

12 years agoSupport for enabling all excluded tests at once
Georgios Gousios [Wed, 21 Dec 2011 12:09:33 +0000 (14:09 +0200)]
Support for enabling all excluded tests at once

12 years agoStricter precondition to create a DSLTimeFrame object
Georgios Gousios [Wed, 21 Dec 2011 12:08:55 +0000 (14:08 +0200)]
Stricter precondition to create a DSLTimeFrame object

12 years agoReorganize sbt-related build files but not there yet
Christos KK Loverdos [Wed, 21 Dec 2011 11:22:19 +0000 (13:22 +0200)]
Reorganize sbt-related build files but not there yet

12 years agoAdd a couple of missing repos
Christos KK Loverdos [Wed, 21 Dec 2011 10:59:49 +0000 (12:59 +0200)]
Add a couple of missing repos

12 years agoFlat project hierarchy
Georgios Gousios [Wed, 21 Dec 2011 10:46:50 +0000 (12:46 +0200)]
Flat project hierarchy

12 years agoRemove dead code before migrating to single project setup
Georgios Gousios [Wed, 21 Dec 2011 10:22:13 +0000 (12:22 +0200)]
Remove dead code before migrating to single project setup

12 years agoRemove some dead code
Georgios Gousios [Wed, 21 Dec 2011 10:20:22 +0000 (12:20 +0200)]
Remove some dead code

12 years agoMinor changes, to compile.
Georgios Gousios [Wed, 21 Dec 2011 09:00:05 +0000 (11:00 +0200)]
Minor changes, to compile.

12 years agoVarious changes:
Georgios Gousios [Wed, 21 Dec 2011 08:59:37 +0000 (10:59 +0200)]
Various changes:

-Factor out generic methods to retrieve by key, insert and
run generic queries in the MongoDB driver
-Implement the wallet store

12 years agoInterface to the users' Wallet
Georgios Gousios [Wed, 21 Dec 2011 08:56:48 +0000 (10:56 +0200)]
Interface to the users' Wallet

12 years agoThe result from running an accounting process
Georgios Gousios [Wed, 21 Dec 2011 08:56:20 +0000 (10:56 +0200)]
The result from running an accounting process

12 years agoAdd some code for better end-to-end testing.
Christos KK Loverdos [Tue, 20 Dec 2011 12:50:23 +0000 (14:50 +0200)]
Add some code for better end-to-end testing.

12 years agoAdd missing akka related dependency
Christos KK Loverdos [Tue, 20 Dec 2011 10:25:43 +0000 (12:25 +0200)]
Add missing akka related dependency

12 years agoSimplify UserActor death logic
Christos KK Loverdos [Tue, 20 Dec 2011 09:51:01 +0000 (11:51 +0200)]
Simplify UserActor death logic

12 years agoEvicting LRU UserActors leads to their death ultimately.
Christos KK Loverdos [Tue, 20 Dec 2011 09:20:14 +0000 (11:20 +0200)]
Evicting LRU UserActors leads to their death ultimately.

12 years agoWork in progres towards handling UserRequestGetBalance end-to-end.
Christos KK Loverdos [Mon, 19 Dec 2011 16:26:32 +0000 (18:26 +0200)]
Work in progres towards handling UserRequestGetBalance end-to-end.

12 years agoRemove unused dependency.
Christos KK Loverdos [Mon, 19 Dec 2011 15:48:30 +0000 (17:48 +0200)]
Remove unused dependency.

12 years agoFix version in akka component.
Christos KK Loverdos [Mon, 19 Dec 2011 15:44:49 +0000 (17:44 +0200)]
Fix version in akka component.

12 years agoGenerate random users and user events
Georgios Gousios [Mon, 19 Dec 2011 15:51:59 +0000 (17:51 +0200)]
Generate random users and user events

12 years agoUser state event, coming from IM (astakos)
Georgios Gousios [Mon, 19 Dec 2011 15:51:27 +0000 (17:51 +0200)]
User state event, coming from IM (astakos)

12 years agoFormatting fixes
Georgios Gousios [Mon, 19 Dec 2011 15:49:53 +0000 (17:49 +0200)]
Formatting fixes

12 years agoEmpty implementation of the IM event store
Georgios Gousios [Mon, 19 Dec 2011 15:48:56 +0000 (17:48 +0200)]
Empty implementation of the IM event store

12 years agoHandle unlimited redeliveries of failed messages
Georgios Gousios [Fri, 16 Dec 2011 14:17:09 +0000 (16:17 +0200)]
Handle unlimited redeliveries of failed messages

12 years agoBetter logging, better stopping of actors
Georgios Gousios [Fri, 16 Dec 2011 12:06:10 +0000 (14:06 +0200)]
Better logging, better stopping of actors

12 years agoDon't share the same connection for all consumers + producers
Georgios Gousios [Fri, 16 Dec 2011 12:03:43 +0000 (14:03 +0200)]
Don't share the same connection for all consumers + producers

12 years agoRemove unused MongoDB configuration.
Christos KK Loverdos [Fri, 16 Dec 2011 11:38:15 +0000 (13:38 +0200)]
Remove unused MongoDB configuration.

Do I get the master-shaver prize, yet?

12 years agoImplement MondoDB-based UserStore with basic queries.
Christos KK Loverdos [Fri, 16 Dec 2011 11:36:06 +0000 (13:36 +0200)]
Implement MondoDB-based UserStore with basic queries.

12 years agoPools and loadbalancing for resource event actors
Georgios Gousios [Fri, 16 Dec 2011 10:36:46 +0000 (12:36 +0200)]
Pools and loadbalancing for resource event actors

12 years agoDitch RESTService since it only had Lifecycle.
Christos KK Loverdos [Fri, 16 Dec 2011 10:21:28 +0000 (12:21 +0200)]
Ditch RESTService since it only had Lifecycle.

12 years agoAnother shaving round.
Christos KK Loverdos [Fri, 16 Dec 2011 09:50:26 +0000 (11:50 +0200)]
Another shaving round.

12 years agoBig shaving. No foam.
Christos KK Loverdos [Fri, 16 Dec 2011 09:21:33 +0000 (11:21 +0200)]
Big shaving. No foam.

12 years agoFix various bugs
Georgios Gousios [Thu, 15 Dec 2011 16:30:38 +0000 (18:30 +0200)]
Fix various bugs

-use var instead of val in rnd loop to avoid posting the same message
-Return the failure in case mongo cannot store a result

12 years agoUse the stored actor ref, don't create a new one
Georgios Gousios [Thu, 15 Dec 2011 15:58:10 +0000 (17:58 +0200)]
Use the stored actor ref, don't create a new one

12 years agoA bit of logging never hurts
Georgios Gousios [Thu, 15 Dec 2011 15:20:44 +0000 (17:20 +0200)]
A bit of logging never hurts

12 years agoDon't run spray tests by default
Georgios Gousios [Thu, 15 Dec 2011 15:20:28 +0000 (17:20 +0200)]
Don't run spray tests by default

12 years agoInitialize the system lazily
Georgios Gousios [Thu, 15 Dec 2011 15:20:15 +0000 (17:20 +0200)]
Initialize the system lazily

12 years agoMethod to run the random event generator
Georgios Gousios [Thu, 15 Dec 2011 15:19:39 +0000 (17:19 +0200)]
Method to run the random event generator

12 years agoMove RandomEventGenerator to main source tree
Georgios Gousios [Thu, 15 Dec 2011 15:17:08 +0000 (17:17 +0200)]
Move RandomEventGenerator to main source tree

12 years agoSupport for starting the event reader as a service
Georgios Gousios [Thu, 15 Dec 2011 14:41:20 +0000 (16:41 +0200)]
Support for starting the event reader as a service

12 years agoSmall fix to properties files, just for the sake of a better reference point
Christos KK Loverdos [Thu, 15 Dec 2011 14:37:56 +0000 (16:37 +0200)]
Small fix to properties files, just for the sake of a better reference point

12 years agoMore user-friendly error handling when dynamically creating and configuring instances.
Christos KK Loverdos [Thu, 15 Dec 2011 14:15:17 +0000 (16:15 +0200)]
More user-friendly error handling when dynamically creating and configuring instances.

12 years agoBuild an aquarium jar with dependencies
Georgios Gousios [Thu, 15 Dec 2011 14:01:29 +0000 (16:01 +0200)]
Build an aquarium jar with dependencies

12 years agoTemp fix for a potential bug
Georgios Gousios [Thu, 15 Dec 2011 13:47:53 +0000 (15:47 +0200)]
Temp fix for a potential bug

12 years agoFix regression that caused an infinite loop in service initialization
Christos KK Loverdos [Thu, 15 Dec 2011 13:03:12 +0000 (15:03 +0200)]
Fix regression that caused an infinite loop in service initialization

12 years agoFixes to make it compile with the current version of the API
Georgios Gousios [Thu, 15 Dec 2011 13:02:29 +0000 (15:02 +0200)]
Fixes to make it compile with the current version of the API

12 years agoAttempt to create a main class
Georgios Gousios [Thu, 15 Dec 2011 12:31:17 +0000 (14:31 +0200)]
Attempt to create a main class

12 years agoConvert to getting the various stores from Masterconf
Georgios Gousios [Thu, 15 Dec 2011 12:31:01 +0000 (14:31 +0200)]
Convert to getting the various stores from Masterconf

12 years agoUnify store provisioning.
Christos KK Loverdos [Thu, 15 Dec 2011 12:34:04 +0000 (14:34 +0200)]
Unify store provisioning.

12 years agoAdd implementation class
Georgios Gousios [Thu, 15 Dec 2011 11:59:23 +0000 (13:59 +0200)]
Add implementation class

12 years agoAdd lifecycle abstraction for use by several services.
Christos KK Loverdos [Thu, 15 Dec 2011 11:51:51 +0000 (13:51 +0200)]
Add lifecycle abstraction for use by several services.

12 years agoSmall fix for uncommited code dependency.
Christos KK Loverdos [Thu, 15 Dec 2011 11:48:38 +0000 (13:48 +0200)]
Small fix for uncommited code dependency.

12 years agoWire-up the (mongodb-based for now) event store to the configurator.
Christos KK Loverdos [Thu, 15 Dec 2011 11:46:26 +0000 (13:46 +0200)]
Wire-up the (mongodb-based for now) event store to the configurator.

12 years agoRevert to Java MongoDB driver, impl remaining methods
Georgios Gousios [Wed, 14 Dec 2011 15:36:08 +0000 (17:36 +0200)]
Revert to Java MongoDB driver, impl remaining methods

Also clean up mongo after test

12 years agoCommit for posterity
Georgios Gousios [Wed, 14 Dec 2011 13:12:19 +0000 (15:12 +0200)]
Commit for posterity

Will revert to plain Java driver for now

12 years agoUpgrade akka to 1.3-RC4.
Christos KK Loverdos [Wed, 14 Dec 2011 10:50:13 +0000 (12:50 +0200)]
Upgrade akka to 1.3-RC4.

12 years agoImplement a memory-based UserStore and hook it in the properties.
Christos KK Loverdos [Tue, 13 Dec 2011 14:02:15 +0000 (16:02 +0200)]
Implement a memory-based UserStore and hook it in the properties.