Use finagle instead of spray for the REST functionality
[aquarium] / src / main / resources / aquarium.properties
1 version = 0.2.0-SNAPSHOT
2
3 ### Queue related settings
4
5 # How often do we attemot a reconnection?
6 rabbitmq.reconnect.period.millis=1000
7
8 # Comma separated list of rabbitmq servers to use. The servers must be in an
9 # active-active mode.
10 rabbitmq.servers=localhost
11
12 # Port for connecting to the AMQP server
13 rabbitmq.port=5672
14
15 # User name for connecting with the AMQP server
16 rabbitmq.username=guest
17
18 # Passwd for connecting with the AMQP server
19 rabbitmq.passwd=guest
20
21 # Exchnage used by Aquarium to publish messages
22 rabbitmq.exchange=aquarium
23
24 # Virtual host on the AMQP server
25 rabbitmq.vhost=/
26
27 # Queue declarations for receiving resource events.
28 # Format is "exchange:routing.key:queue". Entries are separated by comma ','
29 rabbitmq.rcevents.queues=pithos:pithos.resource.#:aquarium-pithos-rcevents,cyclades:cyclades.resource.#:aquarium-cyclades-rcevents
30
31 # Queue declarations for receiving IM events, format is "exchange:routing.key:queue"
32 rabbitmq.imevents.queues=astakos:astakos.user:aquarium-imevents
33
34 # REST service listening port
35 rest.port=8888
36
37 ### Message store related settings
38
39 # Hostname for the persistence service
40 mongodb.host=127.0.0.1
41
42 # Port for connecting to the persistence service
43 mongodb.port=27017
44
45 # Username for connecting to the persistence service
46 mongodb.username=aquarium
47
48 # Password for connecting to the persistence service
49 mongodb.password=aquarium
50
51 # The name of the DB schema to use
52 mongodb.dbschema=aquarium
53
54 ### Performance options
55
56 # Maximum number of open connections to MongoDB. Has no effect if
57 # another driver is in use
58 mongodb.connection.pool.size=20
59
60 # Relative to AQUARIUM_HOME or an absolute path
61 # DO NOT set this in production
62 #events.store.folder=../events-store
63
64 # Store resource events to events.store.folder as well
65 events.store.save.rc.events=false
66
67 # Store IM events to events.store.folder as well
68 events.store.save.im.events=false
69
70 # How often do we attempt a reconnection to the store(s)?
71 anystore.reconnect.period.millis=1000
72
73 #######
74 # DO NOT TOUCH the following options, unless you know what you are doing
75 #######
76
77 # Actor subsystem
78 actor.provider.class=gr.grnet.aquarium.service.SimpleLocalRoleableActorProviderService
79 # Class that initializes the REST service
80 rest.service.class=gr.grnet.aquarium.service.FinagleRESTService
81 rest.shutdown.timeout.millis=2000
82 # Store subsystem
83 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
84 # Override the user store (if present, it will not be given by the store provider above)
85 #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)
86 #resource.event.store.class=
87 # Override the user event store (if present, it will not be given by the store provider above)
88 #user.event.store.class=
89 # Override the user event store (if present, it will not be given by the store provider above)
90 #policy.store.class=
91
92 # Administrative REST API authorization cookie
93 admin.cookie=1