Fix policy effectiveness period
authorChristos KK Loverdos <loverdos@gmail.com>
Thu, 14 Jun 2012 13:40:43 +0000 (16:40 +0300)
committerChristos KK Loverdos <loverdos@gmail.com>
Thu, 14 Jun 2012 13:40:43 +0000 (16:40 +0300)
commit44eba99223e30e95b6b9eaf38e5924f3c8adaf3c
treedff263b31f40506056722f63937f96f239c3af71
parent6eddbb4216ad2505f2acd1fb1fb3b95d635e665b
Fix policy effectiveness period

Previously, the policy loaded from policy.yaml was taken to be effective
starting from the time the loading happended. Normally, we need to set
a proper effectivess period for the policy. Until then and in order for
some other test cases to proceed, we consider a better starting time.
src/main/scala/gr/grnet/aquarium/logic/accounting/Policy.scala
src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLPolicy.scala