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

12 years agoFactor out some common Json (+ Xml) functionality.
Christos KK Loverdos [Tue, 13 Dec 2011 12:23:11 +0000 (14:23 +0200)]
Factor out some common Json (+ Xml) functionality.

12 years agoTests for the eventstore functionality
Georgios Gousios [Tue, 13 Dec 2011 11:47:51 +0000 (13:47 +0200)]
Tests for the eventstore functionality

12 years agoFix naming clashes with other traits
Georgios Gousios [Tue, 13 Dec 2011 11:47:21 +0000 (13:47 +0200)]
Fix naming clashes with other traits

12 years agoA port is always an integer, not a string :-)
Georgios Gousios [Tue, 13 Dec 2011 11:46:12 +0000 (13:46 +0200)]
A port is always an integer, not a string :-)

12 years agoUpgrade Akka to 1.3-RC3.
Christos KK Loverdos [Tue, 13 Dec 2011 11:04:35 +0000 (13:04 +0200)]
Upgrade Akka to 1.3-RC3.

Anxiously waiting for 1.3.final and 2.0.

12 years agoStart modeling the User store.
Christos KK Loverdos [Tue, 13 Dec 2011 11:03:00 +0000 (13:03 +0200)]
Start modeling the User store.

12 years agoExplicitly include parent class fields in serialization.
Christos KK Loverdos [Tue, 13 Dec 2011 10:59:01 +0000 (12:59 +0200)]
Explicitly include parent class fields in serialization.

12 years agoIgnore fs-local properties.
Christos KK Loverdos [Tue, 13 Dec 2011 10:53:02 +0000 (12:53 +0200)]
Ignore fs-local properties.

12 years agoBogus enhancements
Christos KK Loverdos [Tue, 13 Dec 2011 10:50:21 +0000 (12:50 +0200)]
Bogus enhancements

12 years agoFix inheritance bug (did not compile).
Christos KK Loverdos [Tue, 13 Dec 2011 10:16:30 +0000 (12:16 +0200)]
Fix inheritance bug (did not compile).

12 years agoStart describing the User state. Modeling it as snapshots.
Christos KK Loverdos [Tue, 13 Dec 2011 10:04:04 +0000 (12:04 +0200)]
Start describing the User state. Modeling it as snapshots.

12 years agoCode cleanup.
Christos KK Loverdos [Mon, 12 Dec 2011 15:27:54 +0000 (17:27 +0200)]
Code cleanup.

12 years agoStart implementing user balance REST request.
Christos KK Loverdos [Mon, 12 Dec 2011 15:21:13 +0000 (17:21 +0200)]
Start implementing user balance REST request.

12 years agoRemove unused actor factories. Now superceded by the actor provider.
Christos KK Loverdos [Mon, 12 Dec 2011 13:21:49 +0000 (15:21 +0200)]
Remove unused actor factories. Now superceded by the actor provider.

12 years agoUse the event store in the event processor to persist resource events
Georgios Gousios [Mon, 12 Dec 2011 14:56:02 +0000 (16:56 +0200)]
Use the event store in the event processor to persist resource events

12 years agoCompilation fixes
Georgios Gousios [Mon, 12 Dec 2011 14:54:53 +0000 (16:54 +0200)]
Compilation fixes

12 years agoImplementation of the EventStore interface in the Mongo driver
Georgios Gousios [Mon, 12 Dec 2011 14:54:40 +0000 (16:54 +0200)]
Implementation of the EventStore interface in the Mongo driver

12 years agoRenames to more meaningfull names
Georgios Gousios [Mon, 12 Dec 2011 14:54:04 +0000 (16:54 +0200)]
Renames to more meaningfull names

12 years agoAll Aquarium events have a client defined unique id
Georgios Gousios [Mon, 12 Dec 2011 14:51:46 +0000 (16:51 +0200)]
All Aquarium events have a client defined unique id

12 years agoThe persistence database schema as a configurable option
Georgios Gousios [Mon, 12 Dec 2011 14:50:56 +0000 (16:50 +0200)]
The persistence database schema as a configurable option

12 years agoFactory for getting MessageStores based on configuration
Georgios Gousios [Mon, 12 Dec 2011 11:12:13 +0000 (13:12 +0200)]
Factory for getting MessageStores based on configuration

12 years agoConfigure and use Mongo's connection pool
Georgios Gousios [Mon, 12 Dec 2011 11:11:34 +0000 (13:11 +0200)]
Configure and use Mongo's connection pool

12 years agoOptions for connecting to a persistence provider
Georgios Gousios [Mon, 12 Dec 2011 11:09:57 +0000 (13:09 +0200)]
Options for connecting to a persistence provider

12 years agoSome more service orientation to master conf
Christos KK Loverdos [Mon, 12 Dec 2011 11:24:44 +0000 (13:24 +0200)]
Some more service orientation to master conf

12 years agoAdd a test for RESTActor.
Christos KK Loverdos [Mon, 12 Dec 2011 10:17:24 +0000 (12:17 +0200)]
Add a test for RESTActor.

12 years agoAdd RESTRole (and, hence, RESTActor) to known roles/actors for provisioning.
Christos KK Loverdos [Mon, 12 Dec 2011 10:16:17 +0000 (12:16 +0200)]
Add RESTRole (and, hence, RESTActor) to known roles/actors for provisioning.

12 years agoProperly (?) quote field name in JSON response for /ping.
Christos KK Loverdos [Mon, 12 Dec 2011 10:13:59 +0000 (12:13 +0200)]
Properly (?) quote field name in JSON response for /ping.

At least, this is what is needed for the default bahavior of Lift's json
parser.

12 years agoMake default constructor for RESTActor.
Christos KK Loverdos [Mon, 12 Dec 2011 10:13:25 +0000 (12:13 +0200)]
Make default constructor for RESTActor.

12 years agoAdd rest service port configuration and respective actor role.
Christos KK Loverdos [Mon, 12 Dec 2011 09:15:11 +0000 (11:15 +0200)]
Add rest service port configuration and respective actor role.

12 years agoMake props visible to outer world.
Christos KK Loverdos [Mon, 12 Dec 2011 09:07:10 +0000 (11:07 +0200)]
Make props visible to outer world.

We need this to take advantage of all conversion utilities etc. so that
we do not have to replicate the Props API in MasterConf itself.

12 years agoRename package akka and main REST actor.
Christos KK Loverdos [Mon, 12 Dec 2011 09:06:15 +0000 (11:06 +0200)]
Rename package akka and main REST actor.

12 years agoSend an appropriate event key
Georgios Gousios [Mon, 12 Dec 2011 08:49:56 +0000 (10:49 +0200)]
Send an appropriate event key

12 years agoRestrict exchange declarations from clients
Georgios Gousios [Mon, 12 Dec 2011 08:48:32 +0000 (10:48 +0200)]
Restrict exchange declarations from clients

12 years agoThought untested, the REST service now sends to Dispatcher.
Christos KK Loverdos [Fri, 9 Dec 2011 14:51:31 +0000 (16:51 +0200)]
Thought untested, the REST service now sends to Dispatcher.

12 years agoIntroduce the Dispatcher-related messages, all given in one place.
Christos KK Loverdos [Fri, 9 Dec 2011 14:47:20 +0000 (16:47 +0200)]
Introduce the Dispatcher-related messages, all given in one place.

12 years agoConfiguration params for the AMQP queue
Georgios Gousios [Fri, 9 Dec 2011 14:22:15 +0000 (16:22 +0200)]
Configuration params for the AMQP queue

12 years agoSupport for statically getting config param value
Georgios Gousios [Fri, 9 Dec 2011 14:20:48 +0000 (16:20 +0200)]
Support for statically getting config param value

12 years agoActors for resource event processing
Georgios Gousios [Fri, 9 Dec 2011 13:16:15 +0000 (15:16 +0200)]
Actors for resource event processing

12 years agoAdd missing ActorProxy, so that tests compile
Christos KK Loverdos [Fri, 9 Dec 2011 13:19:15 +0000 (15:19 +0200)]
Add missing ActorProxy, so that tests compile

12 years agoAdd more tests for MasterConf loading.
Christos KK Loverdos [Fri, 9 Dec 2011 11:51:37 +0000 (13:51 +0200)]
Add more tests for MasterConf loading.

12 years agoNow loading the default actor provider from properties.
Christos KK Loverdos [Fri, 9 Dec 2011 11:41:53 +0000 (13:41 +0200)]
Now loading the default actor provider from properties.

12 years agoMove SimpleLocalActorProvider
Christos KK Loverdos [Fri, 9 Dec 2011 11:25:02 +0000 (13:25 +0200)]
Move SimpleLocalActorProvider

12 years agoSetting the stage for actor provision and wiring. WIP.
Christos KK Loverdos [Fri, 9 Dec 2011 11:06:51 +0000 (13:06 +0200)]
Setting the stage for actor provision and wiring. WIP.

12 years agoIntroduce MasterConf, assuming an aquarium.properties
Christos KK Loverdos [Fri, 9 Dec 2011 09:58:11 +0000 (11:58 +0200)]
Introduce MasterConf, assuming an aquarium.properties

Also did some reorganization of actor stuff.

12 years agoCorrect parameters for producer/consumer construction
Georgios Gousios [Thu, 8 Dec 2011 15:24:20 +0000 (17:24 +0200)]
Correct parameters for producer/consumer construction

12 years agoMessaging implementation based on akka-amqp
Georgios Gousios [Wed, 7 Dec 2011 18:03:03 +0000 (20:03 +0200)]
Messaging implementation based on akka-amqp

12 years agoFix failing test (forgot to init the DSL parser)
Georgios Gousios [Tue, 6 Dec 2011 15:50:38 +0000 (17:50 +0200)]
Fix failing test (forgot to init the DSL parser)

12 years agoLoad generator for the accounting service
Georgios Gousios [Tue, 6 Dec 2011 15:41:07 +0000 (17:41 +0200)]
Load generator for the accounting service

12 years agoFix test: forgot to define an agreement
Georgios Gousios [Tue, 6 Dec 2011 13:10:35 +0000 (15:10 +0200)]
Fix test: forgot to define an agreement

12 years agoMethod to align charge chunks between algorithm/pricelist
Georgios Gousios [Tue, 6 Dec 2011 12:36:03 +0000 (14:36 +0200)]
Method to align charge chunks between algorithm/pricelist

12 years agoFix expected result in test case
Georgios Gousios [Tue, 6 Dec 2011 09:00:11 +0000 (11:00 +0200)]
Fix expected result in test case

12 years agoMove the messaging API one package up.
Christos KK Loverdos [Tue, 6 Dec 2011 15:11:55 +0000 (17:11 +0200)]
Move the messaging API one package up.

Since we have decided we are AMQP-based anyway, AMQP rules.

12 years agoRemove unused camel tests (see previous commit)
Christos KK Loverdos [Tue, 6 Dec 2011 13:09:58 +0000 (15:09 +0200)]
Remove unused camel tests (see previous commit)

12 years agoAdd Camel tests just to be there in history
Christos KK Loverdos [Tue, 6 Dec 2011 13:09:16 +0000 (15:09 +0200)]
Add Camel tests just to be there in history

12 years agoCheckin to fix compilation
Christos KK Loverdos [Tue, 6 Dec 2011 13:06:41 +0000 (15:06 +0200)]
Checkin to fix compilation

12 years agoRemove finagle dependency
Christos KK Loverdos [Tue, 6 Dec 2011 12:15:51 +0000 (14:15 +0200)]
Remove finagle dependency

12 years agoRemove camel dependencies
Christos KK Loverdos [Tue, 6 Dec 2011 12:15:21 +0000 (14:15 +0200)]
Remove camel dependencies

12 years agoThe ping test is actually a modification of the spray test.
Christos KK Loverdos [Tue, 6 Dec 2011 11:59:56 +0000 (13:59 +0200)]
The ping test is actually a modification of the spray test.

12 years agoSpray REST test plays OK
Christos KK Loverdos [Tue, 6 Dec 2011 11:55:22 +0000 (13:55 +0200)]
Spray REST test plays OK

12 years agoFix overlap timeframe definition.
Georgios Gousios [Mon, 5 Dec 2011 15:46:40 +0000 (17:46 +0200)]
Fix overlap timeframe definition.

If this timeframe contains another one, then the result should be the
other one, not this.

12 years agoFix non-overlap timeframe value
Georgios Gousios [Mon, 5 Dec 2011 15:45:09 +0000 (17:45 +0200)]
Fix non-overlap timeframe value

When a timeframe does not overlap with any timeframes in the provided
list, then return a list containing the timeframe, not an empty one.

12 years agoFix test pricelist definition
Georgios Gousios [Mon, 5 Dec 2011 15:42:24 +0000 (17:42 +0200)]
Fix test pricelist definition

12 years agoExpand timeframe with no repetition defined
Georgios Gousios [Mon, 5 Dec 2011 15:41:46 +0000 (17:41 +0200)]
Expand timeframe with no repetition defined

12 years agoStricter tests and consequent bugfixes
Georgios Gousios [Mon, 5 Dec 2011 13:04:38 +0000 (15:04 +0200)]
Stricter tests and consequent bugfixes

12 years agoIntroduce the REST module.
Christos KK Loverdos [Mon, 5 Dec 2011 15:32:11 +0000 (17:32 +0200)]
Introduce the REST module.

This is powered by spray (spray.cc), an akka-based HTTP server.
The test is not working correctly yet.

12 years agoMethod to calculate non-overlapping time sections
Georgios Gousios [Mon, 5 Dec 2011 06:43:11 +0000 (08:43 +0200)]
Method to calculate non-overlapping time sections

12 years agoRewrite of policy eval algorithm as result of Timeslot methods
Georgios Gousios [Fri, 2 Dec 2011 15:17:17 +0000 (17:17 +0200)]
Rewrite of policy eval algorithm as result of Timeslot methods

12 years agoPartial implementation of the nonOverlappingTimeslots method
Georgios Gousios [Fri, 2 Dec 2011 15:16:21 +0000 (17:16 +0200)]
Partial implementation of the nonOverlappingTimeslots method

The test is still failing...

12 years agoCalculate timeslot overlaps or lack thereof
Georgios Gousios [Fri, 2 Dec 2011 14:11:36 +0000 (16:11 +0200)]
Calculate timeslot overlaps or lack thereof

12 years agoRemove unused
Georgios Gousios [Fri, 2 Dec 2011 14:10:36 +0000 (16:10 +0200)]
Remove unused

12 years agoCode + tests to merge overlapping timeslots
Georgios Gousios [Thu, 1 Dec 2011 15:13:27 +0000 (17:13 +0200)]
Code + tests to merge overlapping timeslots

12 years agoMerge returns a List. scaladoc++
Georgios Gousios [Thu, 1 Dec 2011 15:13:03 +0000 (17:13 +0200)]
Merge returns a List. scaladoc++

12 years agoAdd some akka test code for remotes
Christos KK Loverdos [Thu, 1 Dec 2011 14:15:07 +0000 (16:15 +0200)]
Add some akka test code for remotes

12 years agoOnly start performance tests on request
Georgios Gousios [Thu, 1 Dec 2011 11:57:19 +0000 (13:57 +0200)]
Only start performance tests on request

12 years agoA bit stricted timeslot expansion boundaries
Georgios Gousios [Thu, 1 Dec 2011 11:46:44 +0000 (13:46 +0200)]
A bit stricted timeslot expansion boundaries

12 years agoMethods moved to Timeslot
Georgios Gousios [Thu, 1 Dec 2011 11:46:08 +0000 (13:46 +0200)]
Methods moved to Timeslot

12 years agoUse the new Timeslot type
Georgios Gousios [Thu, 1 Dec 2011 11:45:50 +0000 (13:45 +0200)]
Use the new Timeslot type

12 years agoTimeslot type instead of using (Date, Date)
Georgios Gousios [Thu, 1 Dec 2011 11:45:27 +0000 (13:45 +0200)]
Timeslot type instead of using (Date, Date)

12 years agoRemove logging from the DSL parser
Georgios Gousios [Thu, 1 Dec 2011 11:44:44 +0000 (13:44 +0200)]
Remove logging from the DSL parser

12 years agoUse library method instead of custom computation
Georgios Gousios [Thu, 1 Dec 2011 08:02:34 +0000 (10:02 +0200)]
Use library method instead of custom computation