Statistics
| Branch: | Tag: | Revision:

root / src @ a2df5684

# Date Author Comment
a2df5684 09/10/2012 05:07 pm Prodromos Gerakios

Fixed selectorValue

c4d8b427 09/10/2012 05:02 pm Christos KK Loverdos

Fix a bug with mongodb cursor

3446aa2d 09/10/2012 04:59 pm Christos KK Loverdos

Update policy.json in test

d9dbb3b9 09/10/2012 04:56 pm Prodromos Gerakios

Minor fix in BillTest

b8da976b 09/10/2012 04:31 pm Christos KK Loverdos

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

55c8d76f 09/10/2012 02:47 pm Christos KK Loverdos

Now using schema-based messages

098aad84 09/07/2012 04:20 pm Prodromos Gerakios

Fixed BillEntry: milliseconds are rounded off. BillTest can send ordered/out of order messages.

137fd476 09/06/2012 05:36 pm Prodromos Gerakios

Finished scenarios and minor fixes.

9d8bbec6 09/06/2012 01:19 pm Prodromos Gerakios

Merge branch 'master' of https://code.grnet.gr/git/aquarium

29e85df0 09/06/2012 01:18 pm Prodromos Gerakios

Fixed RabbitMQProducer init delay. RabbitMQProducer is now a service.

b4bab4ba 09/06/2012 12:09 pm Christos KK Loverdos

Custom handling of diskspace details in virtual events. NOT GOOD.

bc8bcc2a 09/06/2012 12:00 pm Prodromos Gerakios

Reverted chagned to BillEntry.

4dd1a59f 09/06/2012 11:47 am Prodromos Gerakios

Merge branch 'master' of https://code.grnet.gr/git/aquarium

b4aa0a10 09/06/2012 11:46 am Prodromos Gerakios

Minor fix in BillEntry (Virtual Resource event have no file path).

8ecf33aa 09/06/2012 10:10 am Christos KK Loverdos

Now astakos also publishes resource events (for addcredits)

4e1d37f7 08/31/2012 06:17 pm Christos KK Loverdos

Fix json representation of numbers in the default policy

48ea54e8 08/31/2012 05:55 pm Christos KK Loverdos

WIP integrating Avro-style policy messages

7e728925 08/31/2012 01:41 pm Christos KK Loverdos

Change aliased to aliases in avro idl

bbd79cea 08/31/2012 12:49 pm Christos KK Loverdos

Rename all messages

0c3fe597 08/31/2012 12:12 pm Christos KK Loverdos

Rename conf to policy and make parentID optional (via null)

064308a7 08/30/2012 05:50 pm Prodromos Gerakios

Added documentation to CronSpec and TimeslotComputations. Fixed a bug in ContinuousChargingBehavior. BillTest now sends more RC events to aquarium.

4cb9ae1b 08/30/2012 03:51 pm Christos KK Loverdos

GenericPayloadHandler: one type less

d50c1cb8 08/30/2012 03:33 pm Christos KK Loverdos

Simplify the types of stored things

57d4eb82 08/30/2012 02:59 pm Christos KK Loverdos

More Avro stuff

97f9673f 08/30/2012 12:25 pm Christos KK Loverdos

Move Avro generated classes to gen subpackage

610051ae 08/29/2012 05:23 pm Christos KK Loverdos

Produce JSON policy configuration from Avro message

26d069b0 08/29/2012 04:35 pm Christos KK Loverdos

Add utility methods for message generation

9d9d92e4 08/29/2012 04:02 pm Christos KK Loverdos

@inline a few trivial methods

855e025f 08/29/2012 04:02 pm Christos KK Loverdos

Make unit name for addcredits uppercase

446a40d6 08/29/2012 04:02 pm Christos KK Loverdos

Further additions to Avro messages

PolicyTest is failing.

495bfb28 08/29/2012 04:02 pm Christos KK Loverdos

Add some jackson-based json helpers

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

405ef20a 08/29/2012 04:02 pm Christos KK Loverdos

Add Avro-related helpers

474a00e6 08/29/2012 04:02 pm Christos KK Loverdos

Adjust the rest service to use the new json helpers

50831d83 08/29/2012 01:00 pm Prodromos Gerakios

Added charging behavior for VMs and fixed BillEntry

35278d1e 08/28/2012 12:49 pm Christos KK Loverdos

One more test case with avro + json

b1fbed12 08/28/2012 12:01 pm Prodromos Gerakios

Merge branch 'master' of https://code.grnet.gr/git/aquarium

feac3314 08/28/2012 12:01 pm Prodromos Gerakios

Fixed RabbitMQProducer. Added BillTest.scala that simulates IM and RC events.

fea3a409 08/27/2012 05:42 pm Christos KK Loverdos

Add a test case for Avro-related message schema

0bdb2bed 08/27/2012 05:35 pm Christos KK Loverdos

Temporarily prefixing avro message names with _

316f027f 08/27/2012 04:50 pm Christos KK Loverdos

Adding more Avro stuff

fe165411 08/27/2012 03:09 pm Christos KK Loverdos

Remove simulation package

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

d4d529ef 08/27/2012 02:33 pm Christos KK Loverdos

Remove unused class

effa13e8 08/27/2012 01:58 pm Christos KK Loverdos

First-cut of Avro messages

56daab8c 08/24/2012 05:51 pm Christos KK Loverdos

Realtime calc for continuous charging behavior

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

0ad30d66 08/24/2012 04:09 pm Christos KK Loverdos

Specific API for realtime calculations and first-cut implementation via virtual events

5945b50c 08/24/2012 12:17 pm Prodromos Gerakios

Fixed BillEntry

80e568c9 08/24/2012 12:13 pm Christos KK Loverdos

Remove unused code

345086dd 08/23/2012 05:10 pm Prodromos Gerakios

Bill and BillEntry

dfcb5af9 08/23/2012 04:26 pm Prodromos Gerakios

Merge branch 'master' of https://code.grnet.gr/git/aquarium

dbba44ce 08/23/2012 04:24 pm Prodromos Gerakios

Refactored BillEntry and relevant classes.

10c87819 08/23/2012 04:22 pm Christos KK Loverdos

Implement Continuous behavior with the new scheme

Fix a bunch of related stuff in the process.

81314a10 08/23/2012 12:45 pm Christos KK Loverdos

Another JSON-friendliness round

This time it could not deserialize due to some private field. Oh,
well...

ab31be28 08/23/2012 11:40 am Christos KK Loverdos

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

fd6b64fd 08/22/2012 06:12 pm Christos KK Loverdos

Add rabbitmq.imevents.credit property

8157dc3b 08/22/2012 05:11 pm Christos KK Loverdos

Implement Once behavior with the new scheme. Refactor in the process

f716f2fc 08/21/2012 04:51 pm Prodromos Gerakios

Fixed RabbitMQProducer. Now it is fully reliable.

a03ca874 08/21/2012 04:26 pm Prodromos Gerakios

Towards a perfect RabbitMQProducer -> actor not receiving msgs

5084b268 08/17/2012 05:16 pm Christos KK Loverdos

Change var to val

76272388 08/17/2012 05:10 pm Christos KK Loverdos

Adhere to existing naming conventions

NOTE: Test integration with the receiving system (Astakos).

684875dc 08/17/2012 04:37 pm Christos KK Loverdos

WIP charging behavior

0bd38075 08/17/2012 09:15 am Prodromos Gerakios

Minor fixes in UserActor, BillEntry and RabbitMQProducer

0f139259 08/17/2012 08:48 am Prodromos Gerakios

Merge branch 'master' of https://code.grnet.gr/git/aquarium

ecd6bd3e 08/17/2012 08:46 am Prodromos Gerakios

Finished Bill implementation. Added bill.sh to automatically send events and print the resulting bill

bda8407f 08/16/2012 04:23 pm Christos KK Loverdos

Merge selectors into master

NOTE: master was in DNC state (Does Not Compile).

468809ec 08/16/2012 03:58 pm Christos KK Loverdos

Hook selectors into the price computation path

1ec778e9 08/16/2012 09:47 am Christos KK Loverdos

Use full type hints for json

b1d8cca8 08/07/2012 04:55 pm Prodromos Gerakios

RabbitMQProducer handles Nacks. UserActor accepts user balance additions from Astakos. Timeslot.align has been fixed. Details Pings have been implemented.

2bfa85c7 08/06/2012 03:25 pm Prodromos Gerakios

Reliable message passing for RabbitMQProducer

d7180028 08/03/2012 02:21 pm Prodromos Gerakios

Added REST functionality for the Bill. RabbitMQProducer was refined. UserActor sends message only when state changes

b9fbd97a 07/27/2012 05:22 pm Christos KK Loverdos

Selector simplifications

58bf20ed 07/27/2012 01:21 pm Christos KK Loverdos

Merge branch 'master' into merged_master_selectors

5f8475e0 07/27/2012 01:17 pm Prodromos Gerakios

minor fix in JSON message (UserActor-->Astakos , user balance)

7595d963 07/27/2012 01:12 pm Prodromos Gerakios

RabbitMQ producer sends user balance >= 0 to astakos

50c11003 07/26/2012 02:50 pm Christos KK Loverdos

First cut of selectors.

Pandora's box. Too simple. Too flexible.

e2af5f0d 07/25/2012 05:27 pm Prodromos Gerakios

Added RabbitMQProducer.scala. The code has been tests and works. "rabbitmq.imevents.credit=astakos:astakos-events-credit" must be added in aquarium.properties

bc572a37 07/23/2012 06:36 pm Christos KK Loverdos

Fix bad handling of IMEvent from the UserActor.

Upon arrival of the first IMEvent and after some ResourceEvents had
already arrived at the UserActor, we got an exception due to user
agreements beeing empty (being empty is reasonable, since there were no
IMEvent previously)....

8897189d 07/23/2012 04:28 pm Prodromos Gerakios

Removed timeslot computations print statements

7743a23e 07/23/2012 03:59 pm Prodromos Gerakios

Fixed data race in caching polict store. Restored some code from timeslot computations

d9a88144 07/20/2012 12:21 pm Christos KK Loverdos

Wallets go REST

There is a bug related to the timeslot computations, so I had to disable
every piece that computes fine-grained timeslots and their corresponing
stuff (agreement).

134c4db6 07/20/2012 01:06 am Christos KK Loverdos

Add a UserStateModelSkeleton

e2817904 07/20/2012 12:08 am Christos KK Loverdos

Unimplemented operations on PolicyStore return safe results

68349f49 07/19/2012 09:51 pm Christos KK Loverdos

Better handling of billing month info

0a35f45f 07/19/2012 09:27 pm Christos KK Loverdos

Ensure the cache is loaded before inserting

77ea8fd0 07/19/2012 09:19 pm Christos KK Loverdos

Slash'em high

b9e2a784 07/19/2012 05:57 pm Christos KK Loverdos

Fix NPE with initial user state

7dbaeb04 07/19/2012 05:28 pm Christos KK Loverdos

Initializing the policy store the very first time

If the DB is empty, then we insert the default policy, as given in the
policy.json file.

beb1b214 07/19/2012 04:44 pm Christos KK Loverdos

TimerService is concrete now

2a29acf9 07/19/2012 04:11 pm Christos KK Loverdos

Applying the new policy semantics everywhere

eed084ef 07/19/2012 03:54 pm Prodromos Gerakios

added implementation for MemStoreProvider (PolicyStore methods)

47457955 07/16/2012 11:24 am Prodromos Gerakios

Test cases for EffectUnitPrice

84bad541 07/13/2012 01:10 pm Prodromos Gerakios

policyStore is now a val ! Not a def

934bc4d1 07/13/2012 01:06 pm Prodromos Gerakios

Implemented PolicyHistory.scala (a cache that wraps Database calls) and modified various bits and pieces

b7b59f6f 07/13/2012 12:16 pm Christos KK Loverdos

Manually revert to ddd366d

dcab33d9 07/12/2012 10:54 am Prodromos Gerakios

more test cases

353196e8 07/09/2012 04:41 pm Prodromos Gerakios

Merge remote-tracking branch 'origin/master'

b12ec195 07/09/2012 04:41 pm Prodromos Gerakios

removed deprecated DSL*.scala files

9a0b3dcd 07/09/2012 04:39 pm Christos KK Loverdos

Fix imports

375ff1e8 07/09/2012 04:37 pm Christos KK Loverdos

Remove obsolete files

3c2d8869 07/09/2012 04:24 pm Christos KK Loverdos

Fix a compilation error (did not implement a MemStore method)

796a998b 07/09/2012 04:11 pm Prodromos Gerakios

DSLUtils is now deprecated. Implemented the functionality of EffectivePriceUnit.scala, added CronSpec.scala and moved a few methods from DSLUtils to TimeslotComputations.scala