X-Git-Url: https://code.grnet.gr/git/aquarium/blobdiff_plain/517f5b14c2ae1b393971cdf7e74fb54226ad6e17..a051860cd2ddb92301668859d4ddc601d9ac2e20:/src/main/resources/aquarium.properties diff --git a/src/main/resources/aquarium.properties b/src/main/resources/aquarium.properties index 8465561..dad7d5d 100644 --- a/src/main/resources/aquarium.properties +++ b/src/main/resources/aquarium.properties @@ -1,6 +1,12 @@ version = 0.0.2-SNAPSHOT +# Location of the Aquarium accounting policy config file. If commented +# out, Aquarium will look for the file policy.yaml first at the program +# starting directory and then fall back to the classpath. +aquarium.policy = policy.yaml + ### Queue related settings + # Comma separated list of amqp servers to use. The servers must be in an # active-active mode. amqp.servers=localhost @@ -22,6 +28,7 @@ amqp.vhost=/ rest.port=8080 ### Message store related settings + # Provider for persistence services. # Currently one of: mongo persistence.provider=mongodb @@ -38,6 +45,12 @@ persistence.username=aquarium # Password for connecting to the persistence service persistence.password=aquarium +### Performance options + +# Maximum number of open connections to MongoDB. Has no effect if +# another driver is in use +mongo.connection.pool.size=20 + ####### # DO NOT TOUCH the following options, unless you know what you are doing ####### @@ -49,12 +62,15 @@ rest.service.class=gr.grnet.aquarium.rest.actor.RESTActorService # Store subsystem store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider # Override the user store (if present, it will not be given by the store provider above) -#user.store.class=gr.grnet.aquarium.store.memory.MemUserStore +#user.state.store.class=gr.grnet.aquarium.store.memory.MemUserStateStore # Override the event store (if present, it will not be given by the store provider above) #resource.event.store.class= -# Override the Wallet store (if present, it will not be given by the store provider above) -#wallet.store.class= - +# Override the WalletEntry store (if present, it will not be given by the store provider above) +#wallet.entry.store.class= +# Override the user event store (if present, it will not be given by the store provider above) +#user.event.store.class= +# Override the user event store (if present, it will not be given by the store provider above) +#policy.store.class= # The lower mark for the UserActors' LRU, managed by UserActorManager. user.actor.LRU.lower.mark=800 @@ -68,4 +84,8 @@ user.state.timestamp.threshold=10000 amqp.exchanges=aquarium # The name of the DB schema to use -persistence.db=aquarium \ No newline at end of file +persistence.db=aquarium + +# This is an absolute constant for the lifetime of an Aquarium installation. +# 1 means that every second counts +time.unit.in.seconds = 1 \ No newline at end of file