Adjust default aquarium.properties
[aquarium] / src / test / 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 # Location of the file that defines the mappings between
9 # user roles and agreements
10 aquarium.role-agreement.map=role-agreement.map
11
12 ### Queue related settings
13
14 # How often do we attemot a reconnection?
15 rabbitmq.reconnect.period.millis=1000
16
17 # Comma separated list of rabbitmq servers to use. The servers must be in an
18 # active-active mode.
19 rabbitmq.servers=localhost
20
21 # Comma separated list of rabbitmq servers to use. The servers must be in an
22 # active-active mode.
23 rabbitmq.port=5672
24
25 # User name for connecting with the AMQP server
26 rabbitmq.username=guest
27
28 # Passwd for connecting with the AMQP server
29 rabbitmq.passwd=guest
30
31 # Virtual host on the AMQP server
32 rabbitmq.vhost=/
33
34 # Queue declarations for receiving resource events.
35 # Format is "exchange:routing.key:queue". Entries are separated by comma ','
36 rabbitmq.rcevents.queues=pithos:pithos.resource.#:aquarium-pithos-rcevents,cyclades:cyclades.resource.#:aquarium-cyclades-rcevents
37
38 # Queue declarations for receiving IM events, format is "exchange:routing.key:queue"
39 rabbitmq.imevents.queues=astakos:astakos.user:aquarium-imevents
40
41 # REST service listening port
42 rest.port=8888
43
44 ### Message store related settings
45
46 # Hostname for the persistence service
47 mongodb.host=127.0.0.1
48
49 # Port for connecting to the persistence service
50 mongodb.port=27017
51
52 # Username for connecting to the persistence service
53 mongodb.username=aquarium
54
55 # Password for connecting to the persistence service
56 mongodb.password=aquarium
57
58 # The name of the DB schema to use
59 mongodb.dbschema=aquarium
60
61 ### Performance options
62
63 # Maximum number of open connections to MongoDB. Has no effect if
64 # another driver is in use
65 mongodb.connection.pool.size=20
66
67 # Relative to AQUARIUM_HOME or an absolute path
68 events.store.folder=../events-store
69
70 # Store resource events to events.store.folder as well
71 events.store.save.rc.events=true
72
73 # Store IM events to events.store.folder as well
74 events.store.save.im.events=true
75
76 # How often do we attempt a reconnection to the store(s)?
77 anystore.reconnect.period.millis=1000
78
79 #######
80 # DO NOT TOUCH the following options, unless you know what you are doing
81 #######
82
83 # Actor subsystem
84 actor.provider.class=gr.grnet.aquarium.service.SimpleLocalRoleableActorProviderService
85
86 # Class that initializes the REST service
87 rest.service.class=gr.grnet.aquarium.service.RESTActorService
88
89 # Store subsystem
90 store.provider.class=gr.grnet.aquarium.store.mongodb.MemStore
91
92 # Override the user store (if present, it will not be given by the store provider above)
93 user.state.store.class=gr.grnet.aquarium.store.memory.MemStore
94
95 # Override the event store (if present, it will not be given by the store provider above)
96 resource.event.store.class=gr.grnet.aquarium.store.memory.MemStore
97
98 # Override the user event store (if present, it will not be given by the store provider above)
99 user.event.store.class=gr.grnet.aquarium.store.memory.MemStore
100
101 # Override the user event store (if present, it will not be given by the store provider above)
102 policy.store.class=gr.grnet.aquarium.store.memory.MemStore
103
104 # The lower mark for the UserActors' LRU.
105 user.actor.LRU.lower.mark=800
106
107 # The upper mark for the UserActors' LRU.
108 user.actors.LRU.upper.mark=1000
109
110 # A time period in milliseconds for which we can tolerate stale data regarding user state.
111 user.state.timestamp.threshold=10000
112
113 # Comma separated list of exchanges known to aquarium
114 rabbitmq.exchange=aquarium
115
116 # This is an absolute constant for the lifetime of an Aquarium installation.
117 # 1 means that every second counts
118 time.unit.in.seconds = 1
119
120 # Save unparsed user events to user event store
121 ack.unparsed.event.im=false
122
123 # Administrative REST API authorization cookie
124 admin.cookie=1