Refactor
[aquarium] / dist / 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 # Queue declarations for receiving resource events.
28 # Format is "exchange:routing.key". Entries are separated by ;
29 amqp.resevents.queues=exch:*.resource.#:aquarium-resevents
30
31 # Queue declarations for receiving IM events, format is "exchange:routing.key"
32 amqp.userevents.queues=exch:*.resource.#:aquarium-resevents
33
34 # REST service listening port
35 rest.port=8080
36
37 ### Message store related settings
38
39 # Provider for persistence services.
40 # Currently one of: mongo
41 persistence.provider=mongodb
42
43 # Hostname for the persistence service
44 persistence.host=localhost
45
46 # Port for connecting to the persistence service
47 persistence.port=27017
48
49 # Username for connecting to the persistence service
50 persistence.username=aquarium
51
52 # Password for connecting to the persistence service
53 persistence.password=aquarium
54
55 ### Performance options
56
57 # Maximum number of open connections to MongoDB. Has no effect if
58 # another driver is in use
59 mongo.connection.pool.size=20
60
61 #######
62 # DO NOT TOUCH the following options, unless you know what you are doing
63 #######
64
65 # Actor subsystem
66 actor.provider.class=gr.grnet.aquarium.actor.SimpleLocalActorProvider
67 # Class that initializes the REST service
68 rest.service.class=gr.grnet.aquarium.rest.actor.RESTActorService
69 # Store subsystem
70 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
71 # Override the user store (if present, it will not be given by the store provider above)
72 #user.state.store.class=gr.grnet.aquarium.store.memory.MemStorede the event store (if present, it will not be given by the store provider above)
73 #resource.event.store.class=
74 # Override the WalletEntry store (if present, it will not be given by the store provider above)
75 #wallet.entry.store.class=
76 # Override the user event store (if present, it will not be given by the store provider above)
77 #user.event.store.class=
78 # Override the user event store (if present, it will not be given by the store provider above)
79 #policy.store.class=
80
81 # The lower mark for the UserActors' LRU, managed by UserActorManager.
82 user.actor.LRU.lower.mark=800
83 # The upper mark for the UserActors' LRU, managed by UserActorManager.
84 user.actors.LRU.upper.mark=1000
85
86 # A time period in milliseconds for which we can tolerate stale data regarding user state.
87 user.state.timestamp.threshold=10000
88
89 # Comma separated list of exchanges known to aquarium
90 amqp.exchange=aquarium
91
92 # The name of the DB schema to use
93 persistence.db=aquarium