aquarium
11 years agoWIP: New state machine for message processing
Christos KK Loverdos [Mon, 24 Sep 2012 15:38:00 +0000 (18:38 +0300)]
WIP: New state machine for message processing

11 years agoChange agreement history model to support the new respective avro message
Christos KK Loverdos [Mon, 24 Sep 2012 12:32:29 +0000 (15:32 +0300)]
Change agreement history model to support the new respective avro message

11 years agoMessage field cleanup and docs
Christos KK Loverdos [Mon, 24 Sep 2012 12:30:54 +0000 (15:30 +0300)]
Message field cleanup and docs

11 years agoCleanup message field aliases and add documentation
Christos KK Loverdos [Mon, 24 Sep 2012 12:29:30 +0000 (15:29 +0300)]
Cleanup message field aliases and add documentation

11 years agoCleanup message field aliases
Christos KK Loverdos [Mon, 24 Sep 2012 12:28:15 +0000 (15:28 +0300)]
Cleanup message field aliases

11 years agoAdd message helpers
Christos KK Loverdos [Mon, 24 Sep 2012 12:27:00 +0000 (15:27 +0300)]
Add message helpers

11 years agoAdd a time helper
Christos KK Loverdos [Mon, 24 Sep 2012 12:24:51 +0000 (15:24 +0300)]
Add a time helper

11 years agoMerge branch 'master'
Christos KK Loverdos [Mon, 24 Sep 2012 08:08:47 +0000 (11:08 +0300)]
Merge branch 'master'

11 years agoCommit forgotten avro message
Christos KK Loverdos [Mon, 24 Sep 2012 08:02:29 +0000 (11:02 +0300)]
Commit forgotten avro message

11 years agoMerge branch 'master'
Christos KK Loverdos [Thu, 20 Sep 2012 14:31:54 +0000 (17:31 +0300)]
Merge branch 'master'

11 years agoCorrected initialization and destruction of Aquarium in BillTest. Multiple concurrent...
Prodromos Gerakios [Thu, 20 Sep 2012 13:46:10 +0000 (16:46 +0300)]
Corrected initialization and destruction of Aquarium in BillTest. Multiple concurrent dummy users are now supported

11 years agoMerge branch 'master'
Christos KK Loverdos [Thu, 20 Sep 2012 13:20:46 +0000 (16:20 +0300)]
Merge branch 'master'

11 years agoEliminated dead code that could not compile
Prodromos Gerakios [Thu, 20 Sep 2012 13:19:19 +0000 (16:19 +0300)]
Eliminated dead code  that could not compile

11 years agoMerge branch 'master'
Christos KK Loverdos [Thu, 20 Sep 2012 12:46:57 +0000 (15:46 +0300)]
Merge branch 'master'

Conflicts:
src/main/scala/gr/grnet/aquarium/actor/service/user/UserActor.scala

11 years agoRemoved bad imports of BillEntry and AbstractBillEntry
Prodromos Gerakios [Thu, 20 Sep 2012 12:44:28 +0000 (15:44 +0300)]
Removed bad imports of BillEntry and AbstractBillEntry

11 years agoConverted BillEntry --> BillEntryMsg. BillTest can now parse and run multiple scenarios
Prodromos Gerakios [Thu, 20 Sep 2012 12:34:00 +0000 (15:34 +0300)]
Converted BillEntry --> BillEntryMsg. BillTest can now parse and run multiple scenarios

11 years agoWIP: New state machine for message processing
Christos KK Loverdos [Wed, 19 Sep 2012 16:06:58 +0000 (19:06 +0300)]
WIP: New state machine for message processing

11 years agoMerge branch 'master'
Christos KK Loverdos [Wed, 19 Sep 2012 07:55:11 +0000 (10:55 +0300)]
Merge branch 'master'

11 years agoMinor fix in BillEntry
Prodromos Gerakios [Tue, 18 Sep 2012 13:16:14 +0000 (16:16 +0300)]
Minor fix in BillEntry

11 years agoMinor fix in BillEntry: "processing" returns all (empty) service entries
Prodromos Gerakios [Tue, 18 Sep 2012 12:06:07 +0000 (15:06 +0300)]
Minor fix in BillEntry: "processing" returns all (empty) service entries

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Tue, 18 Sep 2012 10:20:31 +0000 (13:20 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoBillEntry lists all services (even empty ones) and unit names.
Prodromos Gerakios [Tue, 18 Sep 2012 10:19:06 +0000 (13:19 +0300)]
BillEntry lists all services (even empty ones) and unit names.

11 years agoChange unit name
Christos KK Loverdos [Mon, 17 Sep 2012 15:31:55 +0000 (18:31 +0300)]
Change unit name

11 years agoMerge branch 'master' into snapshots
Christos KK Loverdos [Mon, 17 Sep 2012 15:27:09 +0000 (18:27 +0300)]
Merge branch 'master' into snapshots

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Mon, 17 Sep 2012 15:25:46 +0000 (18:25 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoBillEntry now outputs total elapsed time and units for services and resources + refac...
Prodromos Gerakios [Mon, 17 Sep 2012 15:25:01 +0000 (18:25 +0300)]
BillEntry now outputs total elapsed time and units for services and resources + refactoring and fixes in BillTest

11 years agoMerge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 12:15:11 +0000 (15:15 +0300)]
Merge branch 'master'

11 years agoBetter pings for MongoDB
Christos KK Loverdos [Mon, 17 Sep 2012 12:14:47 +0000 (15:14 +0300)]
Better pings for MongoDB

11 years agoMerge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 10:20:47 +0000 (13:20 +0300)]
Merge branch 'master'

11 years agoRemove erroneous import
Christos KK Loverdos [Mon, 17 Sep 2012 10:20:33 +0000 (13:20 +0300)]
Remove erroneous import

11 years agoMerge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 10:17:28 +0000 (13:17 +0300)]
Merge branch 'master'

11 years agoRemove payload executor
Christos KK Loverdos [Mon, 17 Sep 2012 10:17:12 +0000 (13:17 +0300)]
Remove payload executor

11 years agoMerge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 09:45:50 +0000 (12:45 +0300)]
Merge branch 'master'

11 years agoMore flexible resource event parsing
Christos KK Loverdos [Mon, 17 Sep 2012 09:41:37 +0000 (12:41 +0300)]
More flexible resource event parsing

11 years agoSet received millis
Christos KK Loverdos [Mon, 17 Sep 2012 07:47:19 +0000 (10:47 +0300)]
Set received millis

11 years agoMerge branch 'master' into snapshots
Christos KK Loverdos [Fri, 14 Sep 2012 14:30:43 +0000 (17:30 +0300)]
Merge branch 'master' into snapshots

11 years agoModified BillEntry so that resource events are grouped by service name (e.g. diskspace)
Prodromos Gerakios [Fri, 14 Sep 2012 14:00:52 +0000 (17:00 +0300)]
Modified BillEntry so that resource events are grouped by service name (e.g. diskspace)

11 years agoRemove checks for latest events
Christos KK Loverdos [Fri, 14 Sep 2012 13:35:38 +0000 (16:35 +0300)]
Remove checks for latest events

11 years agoNew initialization scheme for user actor
Christos KK Loverdos [Fri, 14 Sep 2012 13:22:12 +0000 (16:22 +0300)]
New initialization scheme for user actor

11 years agoAdd the versions key that pithos sends in details
Christos KK Loverdos [Fri, 14 Sep 2012 12:11:30 +0000 (15:11 +0300)]
Add the versions key that pithos sends in details

11 years agoEnsure java version and upgrade a couple of maven plugins
Christos KK Loverdos [Fri, 14 Sep 2012 09:30:21 +0000 (12:30 +0300)]
Ensure java version and upgrade a couple of maven plugins

11 years agoSquash a few message initialization bugs
Prodromos Gerakios [Thu, 13 Sep 2012 12:29:30 +0000 (15:29 +0300)]
Squash a few message initialization bugs

11 years agoAdded Copyright notice and removed unused imports
Prodromos Gerakios [Thu, 13 Sep 2012 08:55:32 +0000 (11:55 +0300)]
Added Copyright notice and removed unused imports

11 years agoAdded support for parsing JSON the old way
Prodromos Gerakios [Thu, 13 Sep 2012 08:46:53 +0000 (11:46 +0300)]
Added support for parsing JSON the old way

11 years agoSeveral fixes here and there => Removed all exceptions caused by Avro. Rolled back...
Prodromos Gerakios [Wed, 12 Sep 2012 10:03:58 +0000 (13:03 +0300)]
Several fixes here and there => Removed all exceptions caused by Avro. Rolled back CachingPolicyStore load algorithm.

11 years agoFix some casting errors that had never appeared during compilation before. Ever
Christos KK Loverdos [Mon, 10 Sep 2012 15:37:23 +0000 (18:37 +0300)]
Fix some casting errors that had never appeared during compilation before. Ever

11 years agoInitialize resource type map in new user state
Christos KK Loverdos [Mon, 10 Sep 2012 15:01:14 +0000 (18:01 +0300)]
Initialize resource type map in new user state

11 years agoProperly add userID in user agreement
Christos KK Loverdos [Mon, 10 Sep 2012 14:49:20 +0000 (17:49 +0300)]
Properly add userID in user agreement

11 years agoTmp check for the existense of user state
Christos KK Loverdos [Mon, 10 Sep 2012 14:31:47 +0000 (17:31 +0300)]
Tmp check for the existense of user state

11 years agoInitialize the proper var
Christos KK Loverdos [Mon, 10 Sep 2012 14:25:03 +0000 (17:25 +0300)]
Initialize the proper var

11 years agoFix initialization of user agreement list
Christos KK Loverdos [Mon, 10 Sep 2012 14:22:32 +0000 (17:22 +0300)]
Fix initialization of user agreement list

11 years agoFix initialization of userAgreementHistoryModel
Christos KK Loverdos [Mon, 10 Sep 2012 14:18:39 +0000 (17:18 +0300)]
Fix initialization of userAgreementHistoryModel

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Mon, 10 Sep 2012 14:08:29 +0000 (17:08 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoFixed selectorValue
Prodromos Gerakios [Mon, 10 Sep 2012 14:07:38 +0000 (17:07 +0300)]
Fixed selectorValue

11 years agoFix an NPE
Christos KK Loverdos [Mon, 10 Sep 2012 14:04:19 +0000 (17:04 +0300)]
Fix an NPE

11 years agoFix a bug with mongodb cursor
Christos KK Loverdos [Mon, 10 Sep 2012 14:02:11 +0000 (17:02 +0300)]
Fix a bug with mongodb cursor

11 years agoUpdate policy.json in test
Christos KK Loverdos [Mon, 10 Sep 2012 13:59:05 +0000 (16:59 +0300)]
Update policy.json in test

11 years agoMinor fix in BillTest
Prodromos Gerakios [Mon, 10 Sep 2012 13:56:23 +0000 (16:56 +0300)]
Minor fix in BillTest

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Christos KK Loverdos [Mon, 10 Sep 2012 13:31:50 +0000 (16:31 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

Conflicts:
src/main/scala/gr/grnet/aquarium/charging/ContinuousChargingBehavior.scala
src/main/scala/gr/grnet/aquarium/charging/bill/BillEntry.scala
src/test/scala/gr/grnet/aquarium/BillTest.scala

11 years agoNow using schema-based messages
Christos KK Loverdos [Mon, 10 Sep 2012 11:47:27 +0000 (14:47 +0300)]
Now using schema-based messages

11 years agoFixed BillEntry: milliseconds are rounded off. BillTest can send ordered/out of order...
Prodromos Gerakios [Fri, 7 Sep 2012 13:20:03 +0000 (16:20 +0300)]
Fixed BillEntry: milliseconds are rounded off. BillTest can send ordered/out of order messages.

11 years agoFinished scenarios and minor fixes.
Prodromos Gerakios [Thu, 6 Sep 2012 14:36:12 +0000 (17:36 +0300)]
Finished scenarios and minor fixes.

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Thu, 6 Sep 2012 10:19:18 +0000 (13:19 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoFixed RabbitMQProducer init delay. RabbitMQProducer is now a service.
Prodromos Gerakios [Thu, 6 Sep 2012 10:18:54 +0000 (13:18 +0300)]
Fixed RabbitMQProducer init delay. RabbitMQProducer is now a service.

11 years agoCustom handling of diskspace details in virtual events. NOT GOOD.
Christos KK Loverdos [Thu, 6 Sep 2012 09:08:45 +0000 (12:08 +0300)]
Custom handling of diskspace details in virtual events. NOT GOOD.

11 years agoReverted chagned to BillEntry.
Prodromos Gerakios [Thu, 6 Sep 2012 09:00:31 +0000 (12:00 +0300)]
Reverted chagned to BillEntry.

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Thu, 6 Sep 2012 08:47:36 +0000 (11:47 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoMinor fix in BillEntry (Virtual Resource event have no file path).
Prodromos Gerakios [Thu, 6 Sep 2012 08:46:47 +0000 (11:46 +0300)]
Minor fix in BillEntry (Virtual Resource event have no file path).

11 years agoNow astakos also publishes resource events (for addcredits)
Christos KK Loverdos [Thu, 6 Sep 2012 07:10:57 +0000 (10:10 +0300)]
Now astakos also publishes resource events (for addcredits)

11 years agoFix json representation of numbers in the default policy
Christos KK Loverdos [Fri, 31 Aug 2012 15:17:57 +0000 (18:17 +0300)]
Fix json representation of numbers in the default policy

11 years agoWIP integrating Avro-style policy messages
Christos KK Loverdos [Fri, 31 Aug 2012 14:55:27 +0000 (17:55 +0300)]
WIP integrating Avro-style policy messages

11 years agoChange aliased to aliases in avro idl
Christos KK Loverdos [Fri, 31 Aug 2012 10:41:23 +0000 (13:41 +0300)]
Change aliased to aliases in avro idl

11 years agoRename all messages
Christos KK Loverdos [Fri, 31 Aug 2012 09:49:34 +0000 (12:49 +0300)]
Rename all messages

11 years agoRename conf to policy and make parentID optional (via null)
Christos KK Loverdos [Fri, 31 Aug 2012 09:12:54 +0000 (12:12 +0300)]
Rename conf to policy and make parentID optional (via null)

11 years agoAdded documentation to CronSpec and TimeslotComputations. Fixed a bug in ContinuousCh...
Prodromos Gerakios [Thu, 30 Aug 2012 14:50:31 +0000 (17:50 +0300)]
Added documentation to CronSpec and TimeslotComputations. Fixed a bug in ContinuousChargingBehavior. BillTest now sends more RC events to aquarium.

11 years agoGenericPayloadHandler: one type less
Christos KK Loverdos [Thu, 30 Aug 2012 12:51:01 +0000 (15:51 +0300)]
GenericPayloadHandler: one type less

11 years agoSimplify the types of stored things
Christos KK Loverdos [Thu, 30 Aug 2012 12:33:32 +0000 (15:33 +0300)]
Simplify the types of stored things

11 years agoMore Avro stuff
Christos KK Loverdos [Thu, 30 Aug 2012 11:59:35 +0000 (14:59 +0300)]
More Avro stuff

11 years agoMove Avro generated classes to gen subpackage
Christos KK Loverdos [Thu, 30 Aug 2012 09:25:52 +0000 (12:25 +0300)]
Move Avro generated classes to gen subpackage

11 years agoProduce JSON policy configuration from Avro message
Christos KK Loverdos [Wed, 29 Aug 2012 14:23:31 +0000 (17:23 +0300)]
Produce JSON policy configuration from Avro message

11 years agoAdd utility methods for message generation
Christos KK Loverdos [Wed, 29 Aug 2012 13:35:44 +0000 (16:35 +0300)]
Add utility methods for message generation

11 years agoFurther additions to Avro messages
Christos KK Loverdos [Wed, 29 Aug 2012 13:02:26 +0000 (16:02 +0300)]
Further additions to Avro messages

PolicyTest is failing.

11 years agoMake unit name for addcredits uppercase
Christos KK Loverdos [Wed, 29 Aug 2012 12:56:38 +0000 (15:56 +0300)]
Make unit name for addcredits uppercase

11 years ago@inline a few trivial methods
Christos KK Loverdos [Wed, 29 Aug 2012 12:55:25 +0000 (15:55 +0300)]
@inline a few trivial methods

11 years agoAdjust the rest service to use the new json helpers
Christos KK Loverdos [Wed, 29 Aug 2012 12:54:14 +0000 (15:54 +0300)]
Adjust the rest service to use the new json helpers

11 years agoAdd Avro-related helpers
Christos KK Loverdos [Wed, 29 Aug 2012 12:51:57 +0000 (15:51 +0300)]
Add Avro-related helpers

11 years agoAdd some jackson-based json helpers
Christos KK Loverdos [Wed, 29 Aug 2012 12:49:47 +0000 (15:49 +0300)]
Add some jackson-based json helpers

Jackson is pulled as a dependency from Avro and note that it is an old
version (< 2).

11 years agoAdded charging behavior for VMs and fixed BillEntry
Prodromos Gerakios [Wed, 29 Aug 2012 10:00:59 +0000 (13:00 +0300)]
Added charging behavior for VMs and fixed BillEntry

11 years agoOne more test case with avro + json
Christos KK Loverdos [Tue, 28 Aug 2012 09:49:31 +0000 (12:49 +0300)]
One more test case with avro + json

11 years agoMerge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Tue, 28 Aug 2012 09:01:50 +0000 (12:01 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium

11 years agoFixed RabbitMQProducer. Added BillTest.scala that simulates IM and RC events.
Prodromos Gerakios [Tue, 28 Aug 2012 09:01:04 +0000 (12:01 +0300)]
Fixed RabbitMQProducer. Added BillTest.scala that simulates IM and RC events.

11 years agoAdd a test case for Avro-related message schema
Christos KK Loverdos [Mon, 27 Aug 2012 14:42:00 +0000 (17:42 +0300)]
Add a test case for Avro-related message schema

11 years agoTemporarily prefixing avro message names with _
Christos KK Loverdos [Mon, 27 Aug 2012 14:35:51 +0000 (17:35 +0300)]
Temporarily prefixing avro message names with _

11 years agoAdding more Avro stuff
Christos KK Loverdos [Mon, 27 Aug 2012 13:50:06 +0000 (16:50 +0300)]
Adding more Avro stuff

11 years agoEnable deprecation warnings for javac
Christos KK Loverdos [Mon, 27 Aug 2012 12:14:30 +0000 (15:14 +0300)]
Enable deprecation warnings for javac

11 years agoRemove simulation package
Christos KK Loverdos [Mon, 27 Aug 2012 12:09:14 +0000 (15:09 +0300)]
Remove simulation package

Aquarium is now configurable enough to not need a separate simulation
package.

11 years agoRemove unused class
Christos KK Loverdos [Mon, 27 Aug 2012 11:33:36 +0000 (14:33 +0300)]
Remove unused class

11 years agoFirst-cut of Avro messages
Christos KK Loverdos [Mon, 27 Aug 2012 10:58:47 +0000 (13:58 +0300)]
First-cut of Avro messages

11 years agoRealtime calc for continuous charging behavior
Christos KK Loverdos [Fri, 24 Aug 2012 14:51:17 +0000 (17:51 +0300)]
Realtime calc for continuous charging behavior

Highly unoptimized and memory-unfriendly, proof of concept for the
moment.

11 years agoSpecific API for realtime calculations and first-cut implementation via virtual events
Christos KK Loverdos [Fri, 24 Aug 2012 13:09:56 +0000 (16:09 +0300)]
Specific API for realtime calculations and first-cut implementation via virtual events