Implement custom Policy entry and policy storage ops
[aquarium] / src / main / resources / aquarium.properties
1 version = 0.0.2-SNAPSHOT
2
3 # Location of the Aquarium accounting policy config file. If commented
4 # out, Aquarium will look for the file policy.yaml first at the program
5 # starting directory and then fall back to the classpath.
6 aquarium.policy = policy.yaml
7
8 ### Queue related settings
9
10 # Comma separated list of amqp servers to use. The servers must be in an
11 # active-active mode.
12 amqp.servers=localhost
13
14 # Comma separated list of amqp servers to use. The servers must be in an
15 # active-active mode.
16 amqp.port=5672
17
18 # User name for connecting with the AMQP server
19 amqp.username=aquarium
20
21 # Passwd for connecting with the AMQP server
22 amqp.passwd=aquarium
23
24 # Virtual host on the AMQP server
25 amqp.vhost=/
26
27 # REST service listening port
28 rest.port=8080
29
30 ### Message store related settings
31
32 # Provider for persistence services.
33 # Currently one of: mongo
34 persistence.provider=mongodb
35
36 # Hostname for the persistence service
37 persistence.host=localhost
38
39 # Port for connecting to the persistence service
40 persistence.port=27017
41
42 # Username for connecting to the persistence service
43 persistence.username=aquarium
44
45 # Password for connecting to the persistence service
46 persistence.password=aquarium
47
48 ### Performance options
49
50 # Maximum number of open connections to MongoDB. Has no effect if
51 # another driver is in use
52 mongo.connection.pool.size=20
53
54 #######
55 # DO NOT TOUCH the following options, unless you know what you are doing
56 #######
57
58 # Actor subsystem
59 actor.provider.class=gr.grnet.aquarium.actor.SimpleLocalActorProvider
60 # Class that initializes the REST service
61 rest.service.class=gr.grnet.aquarium.rest.actor.RESTActorService
62 # Store subsystem
63 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
64 # Override the user store (if present, it will not be given by the store provider above)
65 #user.state.store.class=gr.grnet.aquarium.store.memory.MemUserStateStore
66 # Override the event store (if present, it will not be given by the store provider above)
67 #resource.event.store.class=
68 # Override the WalletEntry store (if present, it will not be given by the store provider above)
69 #wallet.entry.store.class=
70 # Override the user event store (if present, it will not be given by the store provider above)
71 #user.event.store.class=
72 # Override the user event store (if present, it will not be given by the store provider above)
73 #policy.store.class=
74
75 # The lower mark for the UserActors' LRU, managed by UserActorManager.
76 user.actor.LRU.lower.mark=800
77 # The upper mark for the UserActors' LRU, managed by UserActorManager.
78 user.actors.LRU.upper.mark=1000
79
80 # A time period in milliseconds for which we can tolerate stale data regarding user state.
81 user.state.timestamp.threshold=10000
82
83 # Comma separated list of exchanges known to aquarium
84 amqp.exchanges=aquarium
85
86 # The name of the DB schema to use
87 persistence.db=aquarium
88
89 # This is an absolute constant for the lifetime of an Aquarium installation.
90 # 1 means that every second counts
91 time.unit.in.seconds = 1