Christos KK Loverdos [Mon, 24 Sep 2012 15:38:00 +0000 (18:38 +0300)]
WIP: New state machine for message processing
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
Christos KK Loverdos [Mon, 24 Sep 2012 12:30:54 +0000 (15:30 +0300)]
Message field cleanup and docs
Christos KK Loverdos [Mon, 24 Sep 2012 12:29:30 +0000 (15:29 +0300)]
Cleanup message field aliases and add documentation
Christos KK Loverdos [Mon, 24 Sep 2012 12:28:15 +0000 (15:28 +0300)]
Cleanup message field aliases
Christos KK Loverdos [Mon, 24 Sep 2012 12:27:00 +0000 (15:27 +0300)]
Add message helpers
Christos KK Loverdos [Mon, 24 Sep 2012 12:24:51 +0000 (15:24 +0300)]
Add a time helper
Christos KK Loverdos [Mon, 24 Sep 2012 08:08:47 +0000 (11:08 +0300)]
Merge branch 'master'
Christos KK Loverdos [Mon, 24 Sep 2012 08:02:29 +0000 (11:02 +0300)]
Commit forgotten avro message
Christos KK Loverdos [Thu, 20 Sep 2012 14:31:54 +0000 (17:31 +0300)]
Merge branch 'master'
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
Christos KK Loverdos [Thu, 20 Sep 2012 13:20:46 +0000 (16:20 +0300)]
Merge branch 'master'
Prodromos Gerakios [Thu, 20 Sep 2012 13:19:19 +0000 (16:19 +0300)]
Eliminated dead code that could not compile
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
Prodromos Gerakios [Thu, 20 Sep 2012 12:44:28 +0000 (15:44 +0300)]
Removed bad imports of BillEntry and AbstractBillEntry
Prodromos Gerakios [Thu, 20 Sep 2012 12:34:00 +0000 (15:34 +0300)]
Converted BillEntry --> BillEntryMsg. BillTest can now parse and run multiple scenarios
Christos KK Loverdos [Wed, 19 Sep 2012 16:06:58 +0000 (19:06 +0300)]
WIP: New state machine for message processing
Christos KK Loverdos [Wed, 19 Sep 2012 07:55:11 +0000 (10:55 +0300)]
Merge branch 'master'
Prodromos Gerakios [Tue, 18 Sep 2012 13:16:14 +0000 (16:16 +0300)]
Minor fix in BillEntry
Prodromos Gerakios [Tue, 18 Sep 2012 12:06:07 +0000 (15:06 +0300)]
Minor fix in BillEntry: "processing" returns all (empty) service entries
Prodromos Gerakios [Tue, 18 Sep 2012 10:20:31 +0000 (13:20 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Tue, 18 Sep 2012 10:19:06 +0000 (13:19 +0300)]
BillEntry lists all services (even empty ones) and unit names.
Christos KK Loverdos [Mon, 17 Sep 2012 15:31:55 +0000 (18:31 +0300)]
Change unit name
Christos KK Loverdos [Mon, 17 Sep 2012 15:27:09 +0000 (18:27 +0300)]
Merge branch 'master' into snapshots
Prodromos Gerakios [Mon, 17 Sep 2012 15:25:46 +0000 (18:25 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
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
Christos KK Loverdos [Mon, 17 Sep 2012 12:15:11 +0000 (15:15 +0300)]
Merge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 12:14:47 +0000 (15:14 +0300)]
Better pings for MongoDB
Christos KK Loverdos [Mon, 17 Sep 2012 10:20:47 +0000 (13:20 +0300)]
Merge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 10:20:33 +0000 (13:20 +0300)]
Remove erroneous import
Christos KK Loverdos [Mon, 17 Sep 2012 10:17:28 +0000 (13:17 +0300)]
Merge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 10:17:12 +0000 (13:17 +0300)]
Remove payload executor
Christos KK Loverdos [Mon, 17 Sep 2012 09:45:50 +0000 (12:45 +0300)]
Merge branch 'master'
Christos KK Loverdos [Mon, 17 Sep 2012 09:41:37 +0000 (12:41 +0300)]
More flexible resource event parsing
Christos KK Loverdos [Mon, 17 Sep 2012 07:47:19 +0000 (10:47 +0300)]
Set received millis
Christos KK Loverdos [Fri, 14 Sep 2012 14:30:43 +0000 (17:30 +0300)]
Merge branch 'master' into snapshots
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)
Christos KK Loverdos [Fri, 14 Sep 2012 13:35:38 +0000 (16:35 +0300)]
Remove checks for latest events
Christos KK Loverdos [Fri, 14 Sep 2012 13:22:12 +0000 (16:22 +0300)]
New initialization scheme for user actor
Christos KK Loverdos [Fri, 14 Sep 2012 12:11:30 +0000 (15:11 +0300)]
Add the versions key that pithos sends in details
Christos KK Loverdos [Fri, 14 Sep 2012 09:30:21 +0000 (12:30 +0300)]
Ensure java version and upgrade a couple of maven plugins
Prodromos Gerakios [Thu, 13 Sep 2012 12:29:30 +0000 (15:29 +0300)]
Squash a few message initialization bugs
Prodromos Gerakios [Thu, 13 Sep 2012 08:55:32 +0000 (11:55 +0300)]
Added Copyright notice and removed unused imports
Prodromos Gerakios [Thu, 13 Sep 2012 08:46:53 +0000 (11:46 +0300)]
Added support for parsing JSON the old way
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.
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
Christos KK Loverdos [Mon, 10 Sep 2012 15:01:14 +0000 (18:01 +0300)]
Initialize resource type map in new user state
Christos KK Loverdos [Mon, 10 Sep 2012 14:49:20 +0000 (17:49 +0300)]
Properly add userID in user agreement
Christos KK Loverdos [Mon, 10 Sep 2012 14:31:47 +0000 (17:31 +0300)]
Tmp check for the existense of user state
Christos KK Loverdos [Mon, 10 Sep 2012 14:25:03 +0000 (17:25 +0300)]
Initialize the proper var
Christos KK Loverdos [Mon, 10 Sep 2012 14:22:32 +0000 (17:22 +0300)]
Fix initialization of user agreement list
Christos KK Loverdos [Mon, 10 Sep 2012 14:18:39 +0000 (17:18 +0300)]
Fix initialization of userAgreementHistoryModel
Prodromos Gerakios [Mon, 10 Sep 2012 14:08:29 +0000 (17:08 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Mon, 10 Sep 2012 14:07:38 +0000 (17:07 +0300)]
Fixed selectorValue
Christos KK Loverdos [Mon, 10 Sep 2012 14:04:19 +0000 (17:04 +0300)]
Fix an NPE
Christos KK Loverdos [Mon, 10 Sep 2012 14:02:11 +0000 (17:02 +0300)]
Fix a bug with mongodb cursor
Christos KK Loverdos [Mon, 10 Sep 2012 13:59:05 +0000 (16:59 +0300)]
Update policy.json in test
Prodromos Gerakios [Mon, 10 Sep 2012 13:56:23 +0000 (16:56 +0300)]
Minor fix in BillTest
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
Christos KK Loverdos [Mon, 10 Sep 2012 11:47:27 +0000 (14:47 +0300)]
Now using schema-based messages
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.
Prodromos Gerakios [Thu, 6 Sep 2012 14:36:12 +0000 (17:36 +0300)]
Finished scenarios and minor fixes.
Prodromos Gerakios [Thu, 6 Sep 2012 10:19:18 +0000 (13:19 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Thu, 6 Sep 2012 10:18:54 +0000 (13:18 +0300)]
Fixed RabbitMQProducer init delay. RabbitMQProducer is now a service.
Christos KK Loverdos [Thu, 6 Sep 2012 09:08:45 +0000 (12:08 +0300)]
Custom handling of diskspace details in virtual events. NOT GOOD.
Prodromos Gerakios [Thu, 6 Sep 2012 09:00:31 +0000 (12:00 +0300)]
Reverted chagned to BillEntry.
Prodromos Gerakios [Thu, 6 Sep 2012 08:47:36 +0000 (11:47 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Thu, 6 Sep 2012 08:46:47 +0000 (11:46 +0300)]
Minor fix in BillEntry (Virtual Resource event have no file path).
Christos KK Loverdos [Thu, 6 Sep 2012 07:10:57 +0000 (10:10 +0300)]
Now astakos also publishes resource events (for addcredits)
Christos KK Loverdos [Fri, 31 Aug 2012 15:17:57 +0000 (18:17 +0300)]
Fix json representation of numbers in the default policy
Christos KK Loverdos [Fri, 31 Aug 2012 14:55:27 +0000 (17:55 +0300)]
WIP integrating Avro-style policy messages
Christos KK Loverdos [Fri, 31 Aug 2012 10:41:23 +0000 (13:41 +0300)]
Change aliased to aliases in avro idl
Christos KK Loverdos [Fri, 31 Aug 2012 09:49:34 +0000 (12:49 +0300)]
Rename all messages
Christos KK Loverdos [Fri, 31 Aug 2012 09:12:54 +0000 (12:12 +0300)]
Rename conf to policy and make parentID optional (via null)
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.
Christos KK Loverdos [Thu, 30 Aug 2012 12:51:01 +0000 (15:51 +0300)]
GenericPayloadHandler: one type less
Christos KK Loverdos [Thu, 30 Aug 2012 12:33:32 +0000 (15:33 +0300)]
Simplify the types of stored things
Christos KK Loverdos [Thu, 30 Aug 2012 11:59:35 +0000 (14:59 +0300)]
More Avro stuff
Christos KK Loverdos [Thu, 30 Aug 2012 09:25:52 +0000 (12:25 +0300)]
Move Avro generated classes to gen subpackage
Christos KK Loverdos [Wed, 29 Aug 2012 14:23:31 +0000 (17:23 +0300)]
Produce JSON policy configuration from Avro message
Christos KK Loverdos [Wed, 29 Aug 2012 13:35:44 +0000 (16:35 +0300)]
Add utility methods for message generation
Christos KK Loverdos [Wed, 29 Aug 2012 13:02:26 +0000 (16:02 +0300)]
Further additions to Avro messages
PolicyTest is failing.
Christos KK Loverdos [Wed, 29 Aug 2012 12:56:38 +0000 (15:56 +0300)]
Make unit name for addcredits uppercase
Christos KK Loverdos [Wed, 29 Aug 2012 12:55:25 +0000 (15:55 +0300)]
@inline a few trivial methods
Christos KK Loverdos [Wed, 29 Aug 2012 12:54:14 +0000 (15:54 +0300)]
Adjust the rest service to use the new json helpers
Christos KK Loverdos [Wed, 29 Aug 2012 12:51:57 +0000 (15:51 +0300)]
Add Avro-related 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).
Prodromos Gerakios [Wed, 29 Aug 2012 10:00:59 +0000 (13:00 +0300)]
Added charging behavior for VMs and fixed BillEntry
Christos KK Loverdos [Tue, 28 Aug 2012 09:49:31 +0000 (12:49 +0300)]
One more test case with avro + json
Prodromos Gerakios [Tue, 28 Aug 2012 09:01:50 +0000 (12:01 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Tue, 28 Aug 2012 09:01:04 +0000 (12:01 +0300)]
Fixed RabbitMQProducer. Added BillTest.scala that simulates IM and RC events.
Christos KK Loverdos [Mon, 27 Aug 2012 14:42:00 +0000 (17:42 +0300)]
Add a test case for Avro-related message schema
Christos KK Loverdos [Mon, 27 Aug 2012 14:35:51 +0000 (17:35 +0300)]
Temporarily prefixing avro message names with _
Christos KK Loverdos [Mon, 27 Aug 2012 13:50:06 +0000 (16:50 +0300)]
Adding more Avro stuff
Christos KK Loverdos [Mon, 27 Aug 2012 12:14:30 +0000 (15:14 +0300)]
Enable deprecation warnings for javac
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.
Christos KK Loverdos [Mon, 27 Aug 2012 11:33:36 +0000 (14:33 +0300)]
Remove unused class
Christos KK Loverdos [Mon, 27 Aug 2012 10:58:47 +0000 (13:58 +0300)]
First-cut of Avro messages
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.
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