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
Prodromos Gerakios [Fri, 24 Aug 2012 09:17:54 +0000 (12:17 +0300)]
Fixed BillEntry
Christos KK Loverdos [Fri, 24 Aug 2012 09:13:05 +0000 (12:13 +0300)]
Remove unused code
Prodromos Gerakios [Thu, 23 Aug 2012 14:10:41 +0000 (17:10 +0300)]
Bill and BillEntry
Prodromos Gerakios [Thu, 23 Aug 2012 13:26:08 +0000 (16:26 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Thu, 23 Aug 2012 13:24:30 +0000 (16:24 +0300)]
Refactored BillEntry and relevant classes.
Christos KK Loverdos [Thu, 23 Aug 2012 13:22:02 +0000 (16:22 +0300)]
Implement Continuous behavior with the new scheme
Fix a bunch of related stuff in the process.
Christos KK Loverdos [Thu, 23 Aug 2012 09:45:07 +0000 (12:45 +0300)]
Another JSON-friendliness round
This time it could not deserialize due to some private field. Oh,
well...
Christos KK Loverdos [Thu, 23 Aug 2012 08:40:51 +0000 (11:40 +0300)]
Get rid of charging reason to make life easier with JSON
Unfortunately, the situation with JSON deserialization errors is getting
worse. I knew it, so I should have followed another path. Let me say it
once more:
Never, ever use string-based protocols/formats as your base.
Circa 2009: https://twitter.com/loverdos/status/
5761681752
The bad news is that I do not have time to fix it in the next couple of
days due to a pending demo. Charging reason is not essential for the
demo, so I ditch it and put a reminder here so as to probably
reintroduce it in the future.
Christos KK Loverdos [Wed, 22 Aug 2012 15:12:42 +0000 (18:12 +0300)]
Add rabbitmq.imevents.credit property
Christos KK Loverdos [Wed, 22 Aug 2012 14:08:30 +0000 (17:08 +0300)]
Implement Once behavior with the new scheme. Refactor in the process
Prodromos Gerakios [Tue, 21 Aug 2012 13:51:08 +0000 (16:51 +0300)]
Fixed RabbitMQProducer. Now it is fully reliable.
Prodromos Gerakios [Tue, 21 Aug 2012 13:26:11 +0000 (16:26 +0300)]
Towards a perfect RabbitMQProducer -> actor not receiving msgs
Prodromos Gerakios [Mon, 20 Aug 2012 10:53:36 +0000 (13:53 +0300)]
Fixed ping.sh
Prodromos Gerakios [Mon, 20 Aug 2012 08:54:33 +0000 (11:54 +0300)]
added ping.sh
Christos KK Loverdos [Fri, 17 Aug 2012 14:16:14 +0000 (17:16 +0300)]
Change var to val
Christos KK Loverdos [Fri, 17 Aug 2012 14:10:58 +0000 (17:10 +0300)]
Adhere to existing naming conventions
NOTE: Test integration with the receiving system (Astakos).
Christos KK Loverdos [Fri, 17 Aug 2012 13:37:40 +0000 (16:37 +0300)]
WIP charging behavior
Prodromos Gerakios [Fri, 17 Aug 2012 06:15:53 +0000 (09:15 +0300)]
Minor fixes in UserActor, BillEntry and RabbitMQProducer
Prodromos Gerakios [Fri, 17 Aug 2012 05:48:42 +0000 (08:48 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/aquarium
Prodromos Gerakios [Fri, 17 Aug 2012 05:46:28 +0000 (08:46 +0300)]
Finished Bill implementation. Added bill.sh to automatically send events and print the resulting bill
Christos KK Loverdos [Thu, 16 Aug 2012 13:18:21 +0000 (16:18 +0300)]
Merge selectors into master
NOTE: master was in DNC state (Does Not Compile).
Christos KK Loverdos [Thu, 16 Aug 2012 12:58:33 +0000 (15:58 +0300)]
Hook selectors into the price computation path
Christos KK Loverdos [Thu, 16 Aug 2012 06:47:31 +0000 (09:47 +0300)]
Use full type hints for json