aquarium
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

12 years agoCommon dates used in time expansions
Georgios Gousios [Thu, 1 Dec 2011 08:01:35 +0000 (10:01 +0200)]
Common dates used in time expansions

12 years agoCommon time expansion functions
Georgios Gousios [Thu, 1 Dec 2011 07:59:54 +0000 (09:59 +0200)]
Common time expansion functions

12 years agoPefromance tests to justify selections
Georgios Gousios [Wed, 30 Nov 2011 11:27:55 +0000 (13:27 +0200)]
Pefromance tests to justify selections

12 years ago(Failing) test for the findEffective algorithm
Georgios Gousios [Wed, 30 Nov 2011 11:27:22 +0000 (13:27 +0200)]
(Failing) test for the findEffective algorithm

Also, fixes to the policy test file

12 years agoBase class for various tests that use the test DSL
Georgios Gousios [Wed, 30 Nov 2011 11:26:38 +0000 (13:26 +0200)]
Base class for various tests that use the test DSL

12 years agoFirst round of tests on the timeframe resolution algorithm
Georgios Gousios [Wed, 30 Nov 2011 09:08:18 +0000 (11:08 +0200)]
First round of tests on the timeframe resolution algorithm

12 years agoType checking magic by @loverdos.
Georgios Gousios [Tue, 29 Nov 2011 16:23:55 +0000 (18:23 +0200)]
Type checking magic by @loverdos.

Also, take care of wholes in the resolution of DSLTimeBoundedItems

12 years agoRemove the JPA data model
Georgios Gousios [Tue, 29 Nov 2011 14:24:09 +0000 (16:24 +0200)]
Remove the JPA data model

To be replaced with something with less shared state.

12 years agoFirst attempt towards resolving policy effectivity
Georgios Gousios [Tue, 29 Nov 2011 14:04:46 +0000 (16:04 +0200)]
First attempt towards resolving policy effectivity

12 years agoMethods to check whether a timeslot is contained within a timeslot
Georgios Gousios [Tue, 29 Nov 2011 14:03:37 +0000 (16:03 +0200)]
Methods to check whether a timeslot is contained within a timeslot

12 years agoCorrect type for overiding field
Georgios Gousios [Tue, 29 Nov 2011 14:03:11 +0000 (16:03 +0200)]
Correct type for overiding field

12 years agoFix inheritance declarations
Georgios Gousios [Tue, 29 Nov 2011 10:26:15 +0000 (12:26 +0200)]
Fix inheritance declarations

12 years agoInheritance by default in time bounded items
Georgios Gousios [Tue, 29 Nov 2011 10:13:39 +0000 (12:13 +0200)]
Inheritance by default in time bounded items

12 years agoAkka has landed
Christos KK Loverdos [Tue, 29 Nov 2011 12:11:18 +0000 (14:11 +0200)]
Akka has landed

12 years agoMake timestamp a property and add an eventType method
Christos KK Loverdos [Tue, 29 Nov 2011 10:23:06 +0000 (12:23 +0200)]
Make timestamp a property and add an eventType method

12 years agoBase class to treat time bounded items uniformly
Georgios Gousios [Tue, 29 Nov 2011 09:00:21 +0000 (11:00 +0200)]
Base class to treat time bounded items uniformly

12 years agoMethods and tests for reversing effectivity periods
Georgios Gousios [Mon, 28 Nov 2011 12:29:03 +0000 (14:29 +0200)]
Methods and tests for reversing effectivity periods

12 years agoStricter test of succesiveness for computed timeslots
Georgios Gousios [Mon, 28 Nov 2011 10:23:00 +0000 (12:23 +0200)]
Stricter test of succesiveness for computed timeslots

12 years agoPreliminary code for event charging
Georgios Gousios [Mon, 28 Nov 2011 09:00:33 +0000 (11:00 +0200)]
Preliminary code for event charging

12 years agoSupport for expanding all timeslots for a timeframe
Georgios Gousios [Mon, 28 Nov 2011 08:59:55 +0000 (10:59 +0200)]
Support for expanding all timeslots for a timeframe

12 years agoSelf-validation support for messages
Georgios Gousios [Mon, 28 Nov 2011 08:57:48 +0000 (10:57 +0200)]
Self-validation support for messages

12 years agoIt's enough to have an empty list instead of an Option[List()]
Georgios Gousios [Mon, 28 Nov 2011 08:57:15 +0000 (10:57 +0200)]
It's enough to have an empty list instead of an Option[List()]

12 years agoSingle point of reference for the effective charging policy
Georgios Gousios [Mon, 28 Nov 2011 08:27:23 +0000 (10:27 +0200)]
Single point of reference for the effective charging policy

12 years agoConvert to a generic msg dispatcher
Georgios Gousios [Fri, 25 Nov 2011 11:56:54 +0000 (13:56 +0200)]
Convert to a generic msg dispatcher

12 years agoBase event for all Aquarium events, with serialization functionality
Georgios Gousios [Fri, 25 Nov 2011 11:55:47 +0000 (13:55 +0200)]
Base event for all Aquarium events, with serialization functionality

12 years agoRemove dead code
Georgios Gousios [Fri, 25 Nov 2011 11:54:00 +0000 (13:54 +0200)]
Remove dead code

12 years agoMongoDB configuration, connecting, test
Christos KK Loverdos [Fri, 25 Nov 2011 12:16:13 +0000 (14:16 +0200)]
MongoDB configuration, connecting, test

12 years agoSmall fix to make it compile
Christos KK Loverdos [Fri, 25 Nov 2011 10:54:05 +0000 (12:54 +0200)]
Small fix to make it compile

12 years agoAMQP consumer enhancement/fixes
Christos KK Loverdos [Fri, 25 Nov 2011 10:32:42 +0000 (12:32 +0200)]
AMQP consumer enhancement/fixes

12 years agoNew resource event format
Georgios Gousios [Fri, 25 Nov 2011 09:50:53 +0000 (11:50 +0200)]
New resource event format

12 years agoSpecify resource characteristics and implement parser
Georgios Gousios [Thu, 24 Nov 2011 16:01:57 +0000 (18:01 +0200)]
Specify resource characteristics and implement parser

12 years agoDisable (by default) tests for external systems (rabbitmq, mongodb)
Christos KK Loverdos [Thu, 24 Nov 2011 14:34:19 +0000 (16:34 +0200)]
Disable (by default) tests for external systems (rabbitmq, mongodb)

12 years agoDo not reveal passwords from logging
Christos KK Loverdos [Thu, 24 Nov 2011 14:29:55 +0000 (16:29 +0200)]
Do not reveal passwords from logging

12 years agoRemove code to be re-written
Georgios Gousios [Thu, 24 Nov 2011 14:04:20 +0000 (16:04 +0200)]
Remove code to be re-written

12 years agoContinuing with rabbitmq tests
Christos KK Loverdos [Thu, 24 Nov 2011 13:06:15 +0000 (15:06 +0200)]
Continuing with rabbitmq tests

12 years agoAdd some logging facilities combined with business logic
Christos KK Loverdos [Thu, 24 Nov 2011 13:05:13 +0000 (15:05 +0200)]
Add some logging facilities combined with business logic

12 years agoParse credit plans and associate them with agreements
Georgios Gousios [Thu, 24 Nov 2011 12:36:58 +0000 (14:36 +0200)]
Parse credit plans and associate them with agreements

12 years agoMake the rabbit test grab the needed configuration from runtime system property
Christos KK Loverdos [Thu, 24 Nov 2011 10:38:32 +0000 (12:38 +0200)]
Make the rabbit test grab the needed configuration from runtime system property

12 years agoMake the mongodb test grab the needed configuration from runtime system property
Christos KK Loverdos [Thu, 24 Nov 2011 10:08:46 +0000 (12:08 +0200)]
Make the mongodb test grab the needed configuration from runtime system property

12 years agoIntroduce credit plans to the policy DSL
Georgios Gousios [Wed, 23 Nov 2011 15:38:05 +0000 (17:38 +0200)]
Introduce credit plans to the policy DSL

12 years agoMove type refactorings for DSL implementation classes
Georgios Gousios [Wed, 23 Nov 2011 14:59:56 +0000 (16:59 +0200)]
Move type refactorings for DSL implementation classes

12 years agoTerm renaming in Aquarium policy DSL
Georgios Gousios [Wed, 23 Nov 2011 14:41:51 +0000 (16:41 +0200)]
Term renaming in Aquarium policy DSL

creditpolicy -> aquariumpolicy
polic{y,ies} -> algorith{m,ms}

12 years agoMore dead code removal
Georgios Gousios [Wed, 23 Nov 2011 14:14:00 +0000 (16:14 +0200)]
More dead code removal

12 years agoDead code elimination
Georgios Gousios [Wed, 23 Nov 2011 14:08:20 +0000 (16:08 +0200)]
Dead code elimination

12 years agoMoved shared code to the util package
Georgios Gousios [Wed, 23 Nov 2011 13:25:32 +0000 (15:25 +0200)]
Moved shared code to the util package

12 years agoMore tests on timeframe expansions
Georgios Gousios [Wed, 23 Nov 2011 12:35:59 +0000 (14:35 +0200)]
More tests on timeframe expansions

12 years agoMove DSL case classes in own files, impove docs
Georgios Gousios [Wed, 23 Nov 2011 12:35:36 +0000 (14:35 +0200)]
Move DSL case classes in own files, impove docs

12 years agoScaladoc fixes
Georgios Gousios [Wed, 23 Nov 2011 12:34:45 +0000 (14:34 +0200)]
Scaladoc fixes

12 years agoLift stupid no-comma-in-cron restriction
Georgios Gousios [Wed, 23 Nov 2011 12:34:14 +0000 (14:34 +0200)]
Lift stupid no-comma-in-cron restriction

12 years agoScaladoc fixes
Georgios Gousios [Wed, 23 Nov 2011 12:22:49 +0000 (14:22 +0200)]
Scaladoc fixes

12 years agoImplement property-based infrastructure to run tests conditionally
Christos KK Loverdos [Wed, 23 Nov 2011 10:10:25 +0000 (12:10 +0200)]
Implement property-based infrastructure to run tests conditionally