First cut of the new policy configuration system
authorChristos KK Loverdos <loverdos@gmail.com>
Wed, 4 Jul 2012 13:55:12 +0000 (16:55 +0300)
committerChristos KK Loverdos <loverdos@gmail.com>
Wed, 4 Jul 2012 13:55:12 +0000 (16:55 +0300)
commitc77153ab220e6e33c8055130b20d8e53ac3d9473
tree174405247fa5472cfb29473586cc18bf7e064c29
parentf82d93c87955f941cc6cf29e6c90336a4f68264c
First cut of the new policy configuration system

This is to replace the existing DSLXXX stuff for several reasons:

- Maps better to user requirements.
- Is simpler to state and implement and thus can be better tested.
- Is also flexible but with clearer semantics.
- Will be serialized/deserialed automatically (via JSON), without the
need to special YAML parsing and special YAML saving (in the store).
13 files changed:
src/main/scala/gr/grnet/aquarium/Timespan.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/ChargingBehavior.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/ChargingType.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/EffectivePriceTable.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/EffectiveUnitPrice.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/FullPriceTable.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/FullPriceTableRef.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/PolicyChargingAlgorithm.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/PolicyModel.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/PolicyUnitPrices.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/ResourceType.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/UserAgreementModel.scala [new file with mode: 0644]
src/main/scala/gr/grnet/aquarium/policy/package.scala [new file with mode: 0644]